This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC can't find header files
- From: Jim Wilson <wilson at tuliptree dot org>
- To: Erwin Saranillo <erwincs18 at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Wed, 09 Jul 2003 18:56:51 -0700
- Subject: Re: GCC can't find header files
- References: <20030709034503.92676.qmail@web21007.mail.yahoo.com>
Erwin Saranillo wrote:
gcc -I/usr/openwin/share/include/Xol -L/usr/lib -lX11
-v -o program
Drop the Xol from the -I option, and put it in your source file, e.g.
#include <Xol/Button.h>
If you still have problems, make sure you are spelling the filenames
correctly,
and that they really do exist in the directory where you think they are, and
that they are readable by you. You can try using the -v option to see
what gcc
is doing while looking for the header files.
Jim