|
Re: CDT include management [message #233244 is a reply to message #233235] |
Fri, 24 April 2009 07:30 |
Eclipse User |
|
|
|
Originally posted by: subs._nospam_consertum.com
Ska wrote:
> Hi all
>
> I'm new to the use of CDT: I'm working with Eclipse's Windows version
> 3.4.2 (Ganymede) with mingw. 3 questions:
> 1) Where can I set the include folders to be used in the build phase?
> I tried to set them in "Properties->C/C++ Include Paths and Symbols" but
> I got no effect at all during the compilation!! I'm looking for files in
> the Workspace, inside another project folder. 2) On a .h file, on the
> left of my code, I see a yellow square with a question mark inside. The
> tip says "Unresolved include baseform.h" but basefor.h is a file of the
> project! I found someone suggested to use a "Full Indexer" but I do not
> even find it...
> 3) How can I remove a folder/file from a project? I was able once to
> open a tab with the information about my project but I do not find it
> again!!
>
> Thank a lot in advance for any suggestion
>
> Ciao,
> Ska
>
You have to add each directory you want 'included'.
Select the project and File->Properties
Expend C/C++ Build and select Settings
Under Tools Settings, choose Compiler/Directories
You can add all your include requirements in here.
Tips: you can add . relative paths for project relative directories
--
Derek
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04295 seconds