Skip to main content



      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
Eclipse UserFriend
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
Eclipse UserFriend
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: Tue May 20 02:32:16 EDT 2025

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

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

Back to the top