[gtkmm] Static Compilation...



Hi, I just installed gtkmm and libsigc with /usr prefix like my gtk/gtk+/gtk2, and nothing... I'm getting the same error:

g++ -o main main.cc `ls *.o` `pkg-config gtkmm-2.0 --libs --cflags` -static

/usr/bin/ld: cannot find -lgtk-x11-2.0
collect2: ld returned 1 exit status

tell me if I'm wrong but libgtk-x11-2.* is in gtk2 packages right? and I have installed XFree86-devel-4.2.0-72.i386.rpm  gtk2-devel-2.0.6-8.i386.rpm XFree86-libs-4.2.0-72.i386.rpm   gtk2-engines-1.9.0-4.i386.rpm gtk2-2.0.6-8.i386.rpm

I don't know where are the static libs for libgtk-x11-2.0 however I can compile statics app in gtk/gtk2 but none of them uses libgtk-x11 at least they are not listed in pkg-config  




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