?
Solved

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

Posted on 2011-09-27
9
Medium Priority
?
987 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 2000 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
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!

 
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 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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 column That will then direct you to their download page. From that p…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
Suggested Courses

777 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