Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Not all include directories from .cproject actually applied(Compile errors due to missing include directories from cmake-generated .cproject file)
icon5.gif  Not all include directories from .cproject actually applied [message #1691546] Wed, 08 April 2015 05:06
Martin Dietze is currently offline Martin DietzeFriend
Messages: 2
Registered: February 2015
Junior Member
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?
Previous Topic:Yosemite and AVR-dude
Next Topic:Eclipse don't run properly in Windows 8.1
Goto Forum:
  


Current Time: Fri Apr 26 04:58:07 GMT 2024

Powered by FUDForum. Page generated in 0.02358 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top