This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
Could not find a package configuration file provided by "LLVM" (requested version 4.0) with any of the following names: #4164
Labels
hi, dear developer
i run the ./eosio_build.sh file, and compiled 100% ,then an error was appeared. the error message as follows:
-- unit_test_framework
-- locale
-- Configuring ChainBase on OS X
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:
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.
-- Configuring incomplete, errors occurred!
See also "/Users/yaobukeji/eos/build/CMakeFiles/CMakeOutput.log".
i tried some method , list as follows:
(1) run the command : export LLVM_DIR=/usr/local/Cellar/llvm@4/4.0.1/lib/cmake ;
then run ./eosio_build.sh ;the err still exist.
(2) i do something as #43, the console output is
oran:~ yaobukeji$ which clang
/usr/bin/clang
oran:~ yaobukeji$ which llvm-config:
oran:~ yaobukeji$ which llvm-config
oran:~ yaobukeji$ find /usr -name LLVMConfig.cmake -print 2>/dev/null
/usr/local/Cellar/llvm@4/4.0.1/lib/cmake/llvm/LLVMConfig.cmake
/usr/local/wasm/lib/cmake/llvm/LLVMConfig.cmake
oran:~ yaobukeji$
(3) i also rm -rf llvm@4 dicrectory, then run the ./eosio_build.sh ,but the err still exist.
so what should i do ? pls help me !
The text was updated successfully, but these errors were encountered: