Not all include directories from .cproject actually applied [message #1691546] |
Wed, 08 April 2015 01:06 |
Eclipse User |
|
|
|
I am using cmake to create my cdt project files. My eclipse version is Luna with the latest package versions, running on an x86_64 Oracle Linux (practically RHEL) 7.
In my project I am using a custom compiler and a custom boost installation, both residing in a non-standard directory tree.
The .cproject file generated by cmake looks fine to me, I am getting all my custom include directories listed there, e.g.:
<storageModule moduleId="org.eclipse.cdt.core.pathentry">
[...]
<pathentry include="/usr/my-boost-1_56-gcc48/include" kind="inc" path="" system="true"/>
[...]
</storageModule>
When loading the project in eclipse, I am getting compile errors because my custom boost include directory does not appear anywhere in the list of include directories under Preferences -> C/C++ General -> Preprocessor Include Paths, Macros etc. -> GNU C++.
The only way to get it working to manually add that include dir under CDT User Setting Entries. This is of course not optimal since I am working on a generated project, and setup (e.g. for co workers) should be fully automatic.
Any ideas?
|
|
|
Powered by
FUDForum. Page generated in 0.27286 seconds