-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I've gone through a process of installing LLVM based on instructions from these two webpages:
- https://github.com/dougpuob/cppnamelint/blob/master/doc/how-to-build-llvm.md
- https://github.com/dougpuob/hello-llvm/tree/master/build-with-prebuilt
There was an error due to numeric_limits
not being a member of std
but I believe I solved that or worked around it
And then attempting to install cppnamelint, but I get an error when trying to run:
cmake .. -DLLVM_INSTALL_DIR="~\llvm\llvm-prebuilt\llvmorg-11.1.0-ninja-gcc-x64-rel"
as follows:
CMake Error at CMakeLists.txt:41 (find_package):
Could not find a package configuration file provided by "LLVM" with any of
the following names:
LLVMConfig.cmake
llvm-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.
Unsure what the problem is, as I believe I've set the environment variables but I may have set them wrong, I've set them to all the locations LLVMConfig.cmake exist but rerunning the command still produces the same error, would anyone also know what I need to do to set these correctly please?
I could also be doing something wrong in my build steps, but any help is greatly appreciated, thanks in advance.