-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake FindPackage error on Ubuntu 18.04.1 x64 #74
Comments
Does the libclang-6.0-dev package not come with a ClangConfig.cmake file? You can try to do
To find if you have the file. |
https://packages.ubuntu.com/search?searchon=contents&keywords=ClangConfig.cmake&mode=exactfilename&suite=cosmic&arch=any I suppose you would also need to do |
Hello Olivier,
For info: What could I try to fix this issue? |
Hello,
It's not so easy:
Now LLVM is declared missing... but it was previously found ????? |
This is a debian packaging bug and was fixed in llvm-7. Please just remove the default llvm-6.0/clang-6.0 packages and install the version 7. |
Add some notes from KDAB#74 .
Add some tips for Ubuntu with llvm-6 and clang-6. Add some notes from #74 .
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi @Durvi98 |
On Fedora, the missing packages are installed with "sudo dnf install llvm-devel". |
I was able to build using the following (from the build directory), as of 2024.
|
When running "cmake . -DCMAKE_BUILD_TYPE=Release" it systematically halts with this error :
CMake Error at generator/CMakeLists.txt:7 (Find_Package):
Could not find a package configuration file provided by "Clang" with any of
the following names:
Add the installation prefix of "Clang" to CMAKE_PREFIX_PATH or set
"Clang_DIR" to a directory containing one of the above files. If "Clang"
provides a separate development package or SDK, be sure it has been
installed.
I have packages clang + libllvm-6.0 + llvm-6.0 + llvm-6.0-runtime + libclang-6.0-dev + libclang1 + libclang-common-6.0-dev installed
The text was updated successfully, but these errors were encountered: