Search code examples
eclipseeclipse-cdt

How do I make eclipse acknowledge my include files in a C++ Existing Makefile project?


Simple question: I have a C++ project configured for a existing makefile and it compiles fine. However, the IDE keeps complaining that it cannot resolve most of my symbols.

How do I configure eclipse to use my includes?


Solution

  • Project->properties->C/C++ General->Paths and Symbol

    Add the path to your include directory.

    You can see in the screenshot, the configuration I use to develop with Qt in C++.

    Screenshot representing Eclipse configuration for Qt Headers