On Sat, 3 Apr 1999, D. Jackson Peacock wrote:
Hi.
> $ gcc -o gtktest gtktest.c
You need to use
$ gcc `gtk-config --cflags` `gtk-config --libs` gtktest.c -o gtktest
Or you could write this as well:
$ gcc -I/usr/local/lib/glib/include -I/usr/local/include \
-I/usr/X11R6/include -L/usr/local/lib -L/usr/X11R6/lib -lgtk \
-lgdk -lglib -lXext -lX11 -lm gtktest.c -o gtktest
However, the first method is much easier to remember ofcourse.
Good luck!
Torbj�rn S. Kristoffersen
<[EMAIL PROTECTED]>
- compiling with .so library files D. Jackson Peacock
- Re: compiling with .so library files Torbj�rn Kristoffersen
- Re: compiling with .so library files D. Jackson Peacock
