Mac EOS 采坑记录

Mac EOS 采坑记录

eos版本 dawn v4.0.0 
Mac OS 版本 10.13.4 

错误信息:Could not find a package configuration file provided by"LLVM" (requested

version4.0) withanyofthe following names: LLVMConfig.cmake llvm-config.cmake Add the installation prefix of"LLVM"to CMAKE_PREFIX_PATH orset"LLVM_DIR"toadirectory containing oneofthe above files. If "LLVM" provides a separate development package or SDK, be sure it has been installed.

解决办法:

命令行下运行:brew install llvm@4

环境变量:export LLVM_DIR=/usr/local/Cellar/llvm@4/4.0.1/lib/cmake

错误信息:

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

解决办法:

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11

飞起来了