how to manage different includes [message #157178] |
Mon, 31 October 2005 22:41  |
Eclipse User |
|
|
|
Originally posted by: fbarsoba.verizon.net
Hi all,
Sorry if this is a basic question.. but I have to import a project with
several includes and I'm getting the 'undefined error' because eclipse
is not able to find the header files...
My project has a main file with the include
> #include "tomcrypt.h"
I put the file into the project..ok, but then this header file has
references to the following headers:
> #include <tomcrypt_cfg.h>
> #include <tomcrypt_macros.h>
> #include <tomcrypt_cipher.h>
> #include <tomcrypt_hash.h>
> #include <tomcrypt_mac.h>
> #include <tomcrypt_prng.h>
> #include <tomcrypt_pk.h>
> #include <tomcrypt_misc.h>
> #include <tomcrypt_argchk.h>
> #include <tomcrypt_pkcs.h>
Well, eclipse cannot find these files.. I don't want to change them to
"name.h"... so, where do I have to put them? I don't want to have them
with the eclipse files either. Is there a correct way to solve these
kind of configuration problems?
Thanks,
FBM
|
|
|
Re: how to manage different includes [message #157185 is a reply to message #157178] |
Tue, 01 November 2005 12:02  |
Eclipse User |
|
|
|
Originally posted by: curt.raddatz.unisys.com
I just went through this. Click on Project | Properties | C/C++ Build |
Directories then click the Add button and add all the paths that the
compiler should look in for include files.
"Fernando Barsoba" <fbarsoba@verizon.net> wrote in message
news:dk6o5n$98e$1@news.eclipse.org...
> Hi all,
>
> Sorry if this is a basic question.. but I have to import a project with
> several includes and I'm getting the 'undefined error' because eclipse
> is not able to find the header files...
>
> My project has a main file with the include
>
> > #include "tomcrypt.h"
>
> I put the file into the project..ok, but then this header file has
> references to the following headers:
>
> > #include <tomcrypt_cfg.h>
> > #include <tomcrypt_macros.h>
> > #include <tomcrypt_cipher.h>
> > #include <tomcrypt_hash.h>
> > #include <tomcrypt_mac.h>
> > #include <tomcrypt_prng.h>
> > #include <tomcrypt_pk.h>
> > #include <tomcrypt_misc.h>
> > #include <tomcrypt_argchk.h>
> > #include <tomcrypt_pkcs.h>
>
> Well, eclipse cannot find these files.. I don't want to change them to
> "name.h"... so, where do I have to put them? I don't want to have them
> with the eclipse files either. Is there a correct way to solve these
> kind of configuration problems?
>
> Thanks,
>
> FBM
|
|
|
Powered by
FUDForum. Page generated in 8.66160 seconds