GCC can't find header files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux