Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-09-27
9
Medium Priority
?
1,002 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
Independent Software Vendors: 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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
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.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.

604 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