How to include path in Standard project [message #156787] |
Wed, 26 October 2005 13:34 |
Eclipse User |
|
|
|
Originally posted by: david.cabaton.laposte.net
Hi all,
I'm using Eclipse 3.1.1 with CDT 3 and I want to import a project with the
"Standard Make C++ Project" and write my Makefile.
This project has a "Headers" repertory for *.h
I add this path into the properties project "C/C++ Include Paths &
Symbols", I can see it after in the Includes tree.
but in fact I can't compile it because the project can't find headers.
I tried it with a managed project and it work well but I want to write my
Makefile so I must use a Standard project.
Thanks,
David
|
|
|
Re: How to include path in Standard project [message #156804 is a reply to message #156787] |
Wed, 26 October 2005 13:53 |
Eclipse User |
|
|
|
Originally posted by: david.cabaton.laposte.net
Ok, I found an explication :
-------------
You have to write your Makefile in a "Standard Make Project" yourself
anyway! The "C/C++ Include Paths & Symbols" etc. are just for helping the
CDT Indexer to find include files, though the Indexer can find symbols for
features like the Content Assist.
They Paths and Symbols in the project properties in a "Standard Make
Project" are _not_ populated into the Makefile! This only happens in a
"Managed Make Project".
-------------
so I must write the path directly in the Makefile with -I option.
There is an other solution ?
Thanks,
David
|
|
|
|
Powered by
FUDForum. Page generated in 0.04212 seconds