473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

how to solve include header files problem?

while compiling i am getting errors like[list=1]
1:unable to open header files used in program
2:unable to output
May 21 '10 #1
1 2553
Banfa
9,065 Expert Mod 8TB
An unable to open header file error means either that the header is not on your hard disk or that even though it is on your hard disk the compiler can't find it.

In the first case you need to find out where it comes from and install it or if the header is not suitable for your platform change the code so it doesn't use it.

In the second case you need to alter the compilers include paths so it can find it. There are many ways to do this but commonly either change the INCLUDES environment variable or add the path to the compiler command line using a -L switch.
May 21 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

18
by: Exits Funnel | last post by:
Hello, I'm a little confused about where I should include header files and was wondering whether there was some convention. Imagine I've written a class foo and put the definition in foo.h and...
4
by: ckpun1978 | last post by:
Hi, I am now designing a program related to "graph". In particular, I would like to have 2 objects. #1. node #2. branch
6
by: alan | last post by:
Dear all, I have written my own function by C. And my development platform is W2k with VC6.0. Then I also defined a header file to extern declare this function. After that, I include this...
9
by: Henry Fr?d?ric | last post by:
I am currently working in Aisin-AW, in development of navigation systems (embedded SW). Since a few weeks, we are checking our source code with splint. We encounter this problem. I hope this...
5
by: vivekian | last post by:
Have a program where an object A uses a pointer to object B in a.cpp and object B uses object A in b.cpp. The declarations have been put in a.h and b.h respectively. Now if i include a.h and b.h...
1
by: enrightb13 | last post by:
I am writing a large real-time embedded in C. Is it better to include all header files in one header file for simplicity, and include this single header file in the main file, or does this...
7
by: jefe | last post by:
I have 8 header files in a cpp project, and some cross refer to each other: ie #include "Observer.h" in file "Subject.h" #include "Subject.h" in file "Observer.h"
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.