Re: Statically link with GTK




Yeah, it's kind of difficult. I tried and gave up. It was easier just to use the shared libraries (DLLs) and other files and install them along with my program.

Reed



Tor Lillqvist wrote:
Fabrice Le Goff writes:
 > Is there a way to statically link with the Gtk+2.x lib ? I use either
 > Visual C++ 6.0, or gcc (3.4.x).

Only if you build gtk and gdk yourself as a static library (and sort
out what further issues that will bring).

You would presumably want to build then also those gdk-pixbuf image
loaders you will need statically and a static gdk-pixbuf library? I
guess you would also want to build Pango, cairo, atk and GLib
statically? And the libraries they link to, libiconv, libintl, libpng,
libjpeg, zlib.

All in all, not a trivial task.

--tml
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





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