Re: Linking with Gtk+ in VS 8 - pease help!
- From: Tor Lillqvist <tml iki fi>
- To: gtk-list gnome org
- Subject: Re: Linking with Gtk+ in VS 8 - pease help!
- Date: Fri, 1 Dec 2006 19:43:53 +0200
Maria Shugrina writes:
> Do I understand correctly that .lib and .dll files can now be used on
> win32 without library recompilation?
You already asked that in your previous mail. Didn't you see my reply?
(The answer is "yes".)
> button.obj : error LNK2019: unresolved external symbol _gtk_window_new
> referenced in function _main
> button.obj : error LNK2019: unresolved external symbol
> _gtk_init_abi_check referenced in function _main
> Searching C:\Program Files\Common Files\GTK\2.0\lib\pangowin32-1.0.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\gdkglext-win32-1.0.lib:
> However, it fails to find some other symbols after searching the
> following libraries:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\atk-1.0.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\cairo.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\gdk-win32-2.0.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\glade-2.0.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\glib-2.0.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\gtkglext-win32-1.0.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\pangowin32-1.0.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\gdkglext-win32-1.0.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\gmodule-2.0.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\charset.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\art_lgpl_2.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\bz2.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\gdk_pixbuf-2.0.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\iconv.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\pangocairo-1.0.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\png.lib:
> Searching C:\Program Files\Common Files\GTK\2.0\lib\pango-1.0.lib
I don't see gtk-win32-2.0.lib there, which is where the gtk_*
functions live.
(Searching most of the other libraries you list above is pointless for
typical GTK+ code. Unless you know that you use functions from, say,
libiconv or libart_lglp in your code, no need to mention them.)
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]