RE: [gtkmm] Static Compilation...

Do search the archives - you are not the first to try this.

However, I thought it was not so simple to compile a GTK+ app statically
because it loads the GDK implementation (e.g. X11 or Win32) library at
runtime. I could be wrong. I am surprised that you were able to use a
statically compiled GTK+ app. It might be worth searching the GTK+ list too.

Murray Cumming
murrayc usa net 

> -----Original Message-----
> From: paco pty ods org [mailto:paco pty ods org] 
> Sent: Freitag, 28. Februar 2003 04:56
> To: gtkmm-list gnome org
> Subject: [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 `ls *.o` `pkg-config gtkmm-2.0 --libs --cflags` 
> g++ -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  
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org

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