This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GCC can't find header files


Sir,
 
I'm trying to compile my C source code using gcc, but
it seems that it 
can't locate the required header files. I'm using the
-I option to 
specify the directory where the header files are
located, but it still 
cannot find them. 
 
Here's the command line that I'm using: 
 
gcc -I/usr/openwin/share/include/Xol -L/usr/lib -lX11
-v -o program 
program.c
 
Inside my code there's a reference to the files
OblongButt.h, Button.h, 
and Openlook.h, all of which are in the
/usr/openwin/share/include/Xol 
directory. For some reason, I always get these errors:
 
s_button.c:2: Openlook.h: No such file or directory
In file included from s_button.c:3:
/usr/openwin/share/include/Xol/OblongButt.h:40:
Xol/Button.h: No such 
file or directory
 
Any help would be much appreciated.
 
Thanks,
Erwin Saranillo


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]