You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Just an update, as I didn't really care about building it, I just wanted to be able to use it and potentially test a form of integration into VS Code, I've just downloaded the built binary from the releases page. Would love an answer to the problem I faced but if someone thinks I did something wrong in my setup I'm happy to close this issue.
I've gone through a process of installing LLVM based on instructions from these two webpages:
There was an error due to
numeric_limits
not being a member ofstd
but I believe I solved that or worked around itAnd 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:
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.
The text was updated successfully, but these errors were encountered: