Re: [gtk-list] newbie help please



Try to compile the things with gtk-config like this :

gcc `gtk-config --libs` `gtk-config --cflags` my_tutorial.c -o my_tutorial

The gtk-config utility adds cflags and path to libraries to the gcc
compiler. (type gtk-config and look)

/PerraW

> downloaded and installed glib-1.2.3.tar.gz and gtk+1.2.3.tar.gz.  When I
> type in just a plain hello world program(in the tutorial)it gives me
> this:
> Libraries: gtk
> gthread
> In file included from /usr/local/include/gdk/gdktypes.h:33,
>                       /usr/local/include/gdk/gdk.h:31,
>                       /usr/local/include/gtk/gtk.h:31,
> from helloworld.c:1:
> /usr/local/include/glib.h:66: glibconfig.h:No such file



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