-
Notifications
You must be signed in to change notification settings - Fork 19
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
Compilation error in ArchLinux #5
Comments
You need to install LLVM. I mention this here. The build system is looking for
|
Yeah, I already installed those requirements. But they're in
I also checked the output of
|
I see your output showing Do you have all the I think it should be OK if they are in
|
The static libraries are not part of the package |
So, what you've changed to get it compiled? |
I removed all the extra static libraries from the linking configuration. diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa503f4..25d127a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -132,23 +132,6 @@ target_link_libraries(fccf_exe PRIVATE fccf_lib
fmt::fmt
${LLVM_LIBRARIES}
clang
- clangTooling
- clangFrontendTool
- clangFrontend
- clangDriver
- clangSerialization
- clangCodeGen
- clangParse
- clangSema
- clangStaticAnalyzerFrontend
- clangStaticAnalyzerCheckers
- clangStaticAnalyzerCore
- clangAnalysis
- clangARCMigrate
- clangEdit
- clangAST
- clangLex
- clangBasic
)
# ---- Install rules ---- |
I've made this update (here 0c8504c) since these are unnecessary in Ubuntu as well. Thanks @tetzank. Hope it works for you @mortymacs. |
Released here: https://github.com/p-ranav/fccf/releases/tag/v0.6.0 Cheers |
Thanks! |
Hi :)
In the linking step, it can't find clang-related libraries while I already have installed Clang and LLVM both on my system.
The Clang header directory:
I'm using ArchLinux with latest update of all packages.
The text was updated successfully, but these errors were encountered: