Solved

c header file in eclipse is not recognized. What to do?

Posted on 2011-09-27
9
965 Views
Last Modified: 2012-05-12
Hi there;

I have an C applicaion that I implement in Eclipse IDE. The problem is that the header file that I created in another project is not recognized in my current project.

I suspect from the hierarchy or so, as the header is not in my current project and as said in another project.

I call it "xyz.h". What should I do? Note that standard C headers are recognized.

So what to do?

Kind regards.
0
Comment
Question by:jazzIIIlove
  • 5
  • 4
9 Comments
 
LVL 53

Accepted Solution

by:
Infinity08 earned 500 total points
ID: 36708506
Does your include search path include the directory where the header file can be found ?
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36708712
That i don't know. How can i check? or add?

I am in windows env.

Regards.
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 36708854
Check your project settings for the include path (include directories).
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36708895
I appreciate;

Could you provide a screenshot for this for me?

Kind regards.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 53

Assisted Solution

by:Infinity08
Infinity08 earned 500 total points
ID: 36708915
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36708981
Ok, thanks.

Should I include the other project having the header file or what should I add here?

Regards.
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 36709005
Include directories are directories where the compiler looks for header files. If you use header files from a non-standard location, then add that non-standard location in the include path.
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36709022
Ok, thanks.

Let me try, coming back soon.

Regards.
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36709115
Thanks :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now