[SOLVED] Where do INCLUDE paths come from under Ubuntu? [message #695002] |
Sun, 10 July 2011 17:03 |
vincegata Messages: 11 Registered: July 2011 |
Junior Member |
|
|
Hello,
My projects have this Include resource that shows the INCLUDE folders used by my project, such as /usr/include, /usr/unclude/C++/4.5, /usr/unclude/C++/4.5/backward, and some other, total seven folders.
If I go to Project Properties->C/C++ Build->GCC C++ Compiler->Includes the list is just empty. Note, I use "generate makefiles automatically".
So, where does CDT picks up correct Include folders from?
Same thing for library files.
THX!
[Updated on: Sun, 10 July 2011 23:33] Report message to a moderator
|
|
|
|
Re: [SOLVED] Where do INCLUDE paths come from under Ubuntu? [message #695306 is a reply to message #695002] |
Mon, 11 July 2011 13:24 |
Andrew Gvozdev Messages: 257 Registered: July 2009 |
Senior Member |
|
|
vincegata wrote on Sun, 10 July 2011 13:03Hello,
My projects have this Include resource that shows the INCLUDE folders used by my project, such as /usr/include, /usr/unclude/C++/4.5, /usr/unclude/C++/4.5/backward, and some other, total seven folders.
If I go to Project Properties->C/C++ Build->GCC C++ Compiler->Includes the list is just empty. Note, I use "generate makefiles automatically".
So, where does CDT picks up correct Include folders from?
Same thing for library files.
THX!
CDT uses a special mechanism called "Scanner Discovery". Basically it runs gcc -E -P -v -dD specs.cpp command. With those options, gcc prints its internal "specs" and CDT parses output. See C/C++ Build->Discovery Options.
Andrew
|
|
|
|
Powered by
FUDForum. Page generated in 0.03849 seconds