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 08:05 Go to next message
Matthias Hilbig is currently offline Matthias Hilbig
Messages: 1
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 13:53 Go to previous message
Andrew Gvozdev is currently offline Andrew Gvozdev
Messages: 254
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: Mon Sep 01 19:45:18 EDT 2014

Powered by FUDForum. Page generated in 0.11276 seconds