problem with GTK program compilation.
hi
Am having a problem compiling my GTK programs. It gives an error as follows: $ gcc base.c -o base `gtk-config --cflags --libs` /usr/bin/ld: cannot find -lXi collect2: ld returned 1 exit status Also, if i compile it another way, gcc test.c -o test `gnome-config --cflags --libs --gnomeui` :/usr/bin/ld: cannot find -lSM collect2: ld returned 1 exit status Thank you all, |
I do not know what distribution you are using but are you sure you have all of you development libraries installed for gtk, xserver, etc. ?
Example in fedora: gtk2-devel, glib2-devel, xorg-x11-devel |
Am actually using Gtk 1.2.8 version, and am sure that all the librarieshav been installed.
|
All times are GMT -5. The time now is 01:07 AM. |