Solved

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

Posted on 2011-09-27
9
976 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36708895
I appreciate;

Could you provide a screenshot for this for me?

Kind regards.
0
 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

696 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