Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Preprocessor include paths
Preprocessor include paths [message #1076444] Wed, 31 July 2013 12:05 Go to next message
Matthias Hilbig is currently offline Matthias HilbigFriend
Messages: 2
Registered: July 2013
Junior Member
Hi,

What is the difference between the settings
Include Directory and Library Path in the Preprocessor Include Paths Settings?

The concrete problem I am having with Keppler:

If I use the correct folders in the (deprecated) paths and symbols settings, the
index works as expected:

- all symbols are resolved
- automatically included files are resolved to the best fitting directory #include "Molecule/Molecule.hpp"

If I put the same settings into the CDT User Setting Entries in the Preprocessor Include Paths Settings, the includes are not automatically resolved:
#include "../../Molecule/Molecule.hpp".

But I made sure that the 'Treat as built-in' checkbox is set in the respectable include path. I also tried to add this path as library path, but nothing works.

Thanks
Matthias
Re: Preprocessor include paths [message #1077436 is a reply to message #1076444] Thu, 01 August 2013 17:53 Go to previous message
Andrew Gvozdev is currently offline Andrew GvozdevFriend
Messages: 257
Registered: July 2009
Senior Member
Did you select "File System Path" in "Add Include Directory" Dialog of "Preprocessor Include Paths ..."? Relative paths are rooted in build directory just as it happens during compilation. Expand "Includes" node in Project Explorer to see the expanded path.

Andrew
Previous Topic:Indexer Problem(?)
Next Topic:-MT appears to be incorrect for header file dependency generation?
Goto Forum:
  


Current Time: Thu Apr 18 12:37:21 GMT 2024

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

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

Back to the top