jazzIIIlove
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Check your project settings for the include path (include directories).
ASKER
I appreciate;
Could you provide a screenshot for this for me?
Kind regards.
Could you provide a screenshot for this for me?
Kind regards.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Ok, thanks.
Should I include the other project having the header file or what should I add here?
Regards.
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.
ASKER
Ok, thanks.
Let me try, coming back soon.
Regards.
Let me try, coming back soon.
Regards.
ASKER
Thanks :)
ASKER
I am in windows env.
Regards.