RE: How to Complie
- From: Charles Iliya Krempeaux <tnt linux ca>
- To: Diwakar <diwakar infics com>
- Cc: gnome-devel-list gnome org
- Subject: RE: How to Complie
- Date: 20 Oct 2001 11:25:53 -0700
On Fri, 2001-10-19 at 21:53, Diwakar wrote:
> Nice that you mailed me, but I tried that also. It is just not able to find
> the headerfiles. which I am able to localate in the INCLUDE and PATH env
> variables of the system.
Well, the PATH environment variables shouldn't matter, and I've never
heard of the INCLUDE environment variable before (... well, I don't
have it on my system anyways).
At the command line type:
On my system I get the following:
You should get something similar.
For you, just ignore the "-I" at the beginning of each of what
you get to see what directories are looked at when 'including'.
Using what I have above, my directories looked at are:
See if the gtk-- header file is actually in the directories that you
get. (For me, I found <gtk--/main.h> under the second include
directory from my list.) If it is not in one of you directories
that you get listed, then you might need to reinstall
Actually... are you sure it is the <gtk--/main.h> header file that it
can't find??? Take a look at the error message again.
Charles Iliya Krempeaux
tnt @ linux.ca
ckrempea @ alumni.sfu.ca
> -----Original Message-----
> From: gnome-devel-list-admin gnome org
> [mailto:gnome-devel-list-admin gnome org]On Behalf Of Charles Iliya
> Sent: Friday, October 19, 2001 11:46 PM
> To: gnome-devel-list gnome org
> Cc: 'Diwakar '; Riswick, J.G.A. van
> Subject: RE: How to Complie
> Actually, if you are using GTK-- (the C++ API) and not GTK (the C API),
> then you should use:
> g++ `gtkmm-config --cflags --libs` your_program.cc
> (Note that I'm using gtkmm-config and not gtk-config. Also note that
> those are back-quote... usually found near the top left corner of you
] [Thread Prev