Mac上执行./eosio_build.sh,由于网络或Mac本身系统的问题,经常会出现两个问题
[h2]问题1: LLVM NOTFOUND[/h2]CMake Error at libraries/wasm-jit/Source/Runtime/CMakeLists.txt:26 (find_package):
Could not find a package configuration file provided by "LLVM" (requested
version 4.0) with any of the following names:
LLVMConfig.cmakellvm-config.cmake
复制代码
Add the installation prefix of "LLVM" to CMAKE_PREFIX_PATH or set
"LLVM_DIR" to a directory containing one of the above files. If "LLVM"
provides a separate development package or SDK, be sure it has been
installed.
这是 解决方法:查找路径,移除,重装
EOShenzhen在未来的文章会讲解这些库的原理
[h2]问题 2: Boost_INCLUDE_DIR not found[/h2]
Make Error: The following variables are used in this project, but they are set to NOTFOUND.Please set them or make sure they are set and tested correctly in the CMake files:/Users/mac/Desktop/mainnet/eos/libraries/appbase/Boost_INCLUDE_DIR used as include directory in directory /Users/mac/Desktop/mainnet/eos/libraries/appbase/Users/mac/Desktop/mainnet/eos/libraries/chainbase/Boost_INCLUDE_DIR used as include directory in directory /Users/mac/Desktop/mainnet/eos/libraries/chainbase/Users/mac/Desktop/mainnet/eos/libraries/fc/Boost_INCLUDE_DIR used as include directory in directory /Users/mac/Desktop/mainnet/eos/libraries/fc/Users/mac/Desktop/mainnet/eos/tools/Boost_INCLUDE_DIR used as include directory in directory /Users/mac/Desktop/mainnet/eos/toolsBoost_INCLUDE_DIR (ADVANCED) used as include directory in directory /Users/mac/Desktop/mainnet/eos/contracts/proxy