-
-
Notifications
You must be signed in to change notification settings - Fork 245
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
Build fails on Arch Linux #186
Comments
Hello @mayjs, interesting and thanks for tracing it so far. Can you give more details about the build environment. Was it a out-of-clang build? What did CMake initially print out? Andreas |
This is a problem with include path ordering. The order is:
This combined with the fact that |
A few more bits of information:
With include paths reordered, |
I do tamper a bit with the includes in CMakeLists.txt. I'm not sure what a better solution might be. |
That line turns user defined include paths ( |
Thanks for contributing to this issue. As it has been 60 days since the last activity waiting for a followup. This issue will be automatically closed in 7 days, if no further activity occurs. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please respond before the issue is closed. We'll gladly take a look again! In any case, thank you for your contributions! |
Fixed Issue #186: Build fails on Arch Linux
The build of cppinsights fails on Arch Linux.
The error message is:
I've looked around a bit and found that this is somehow related to the
-isystem/usr/include
arguments that is used in the generated build.ninja file. Replacing all the-isystem
parts with-I
fixed the issue for me:sed -i "s/-isystem/-I/g" build.ninja
, but this should be fixed in the CMake files somehow I think.The text was updated successfully, but these errors were encountered: