Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » how to manage different includes
how to manage different includes [message #157178] Tue, 01 November 2005 03:41 Go to next message
Eclipse UserFriend
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 17:02 Go to previous message
Eclipse UserFriend
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
Previous Topic:why before launching external tools, eclipse will make the project again
Next Topic:IResource from include path
Goto Forum:
  


Current Time: Mon Aug 12 03:33:19 GMT 2024

Powered by FUDForum. Page generated in 0.03694 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top