Link to home
Start Free TrialLog in
Avatar of jazzIIIlove
jazzIIIloveFlag for Sweden

asked on

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

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.
ASKER CERTIFIED SOLUTION
Avatar of Infinity08
Infinity08
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jazzIIIlove

ASKER

That i don't know. How can i check? or add?

I am in windows env.

Regards.
Check your project settings for the include path (include directories).
I appreciate;

Could you provide a screenshot for this for me?

Kind regards.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok, thanks.

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

Regards.
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.
Ok, thanks.

Let me try, coming back soon.

Regards.
Thanks :)