Solved

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

Posted on 2011-09-27
9
959 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

760 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

19 Experts available now in Live!

Get 1:1 Help Now