Re: #include gtk/gtk.h



Also, in the command below, be sure to use the:
`
symbol.  Do not use the:
'
symbol.  If you are new to Linux or Unix (like myself), that might not
be obvious.  The two different single-quotes are different.  The first
may be on your keyboard with the "  and the other is usually on the left
side with the ~

Robert


Alvaro Lopez Ortega wrote:

> On Sat, 2002-05-18 at 12:19, Mahdi Samee wrote:
>
> > "gtk/gtk.h: no such file or directory"
> >
> > There are directories of gtk-2.0 and gtk-1.2 in
> >  "include" directory on my system, but there isn't
> > no path by name "gtk/gtk.h" and path of gtk.h in
> > my filesystem is "usr/include/gtk-2.0/gtk/gtk.h" and
> > with "#include gtk-2.0/gtk/gtk.h" in my programs
> > accuped alot of errors for compiling.
>
> #include <gtk/gtk.h>
>
> and compile/link with:
>
> gcc `pkg-config gtk+-2.0 --cflags --libs` -o foo foo.c
>
> Anyway, you should read the examples at "gtk+/examples" ;-)
>
> --
> Greetings, alo.
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list




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