Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
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/includearguments that is used in the generated build.ninja file. Replacing all the-isystemparts with-Ifixed the issue for me:sed -i "s/-isystem/-I/g" build.ninja, but this should be fixed in the CMake files somehow I think.