Closed mukulrawat1986 closed 8 years ago
Make sure you install llvm with clang when you install with brew. See installation document
Yes, i followed the installation document and have llvm-3.9.0 installed.
What is the default llvm version? Have you tried with llvm 3.8?
I have not, I just followed the instructions in the installation document, and run
brew install --with-clang --with-lldb llvm
this installed llvm-3.9.0
When running cmake .. I was initially getting an error and had to set the clang include dir. At that time i ran the command
cmake -DLIBCLANG_INCLUDE_DIR=/usr/local/Cellar/llvm/3.9.0/include/clang-c ..
Try that command but without /clang-c at the end before ..
Doing that gives another error
CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find LibClang (missing: LIBCLANG_LIBRARY)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
cmake_modules/FindLibClang.cmake:89 (find_package_handle_standard_args)
CMakeLists.txt:36 (find_package)
-- Configuring incomplete, errors occurred!
We probably have to update our FindClang for the new version of llvm on homebrew. Ill look into it tomorrow when im home
Alright. Thank you.
Thank you for reporting this, should be fixed now.
Thank you. Its working now.
I have been trying to install jucipp on my macbook following the install instructions. Inside the jucipp/build directory on running cmake .. I get the following warnings.
I did a make after this and got the following error:
What should i do to get rid of the error?
Thank you Mukul