Bethany Seeger wrote: > >From what I've read, I need to force (external) constants to be > variables, but I'm not sure how I can do that when the errors are coming > from the glib library, underneath Gtk/Gdk. (or declare them explicitly > with __declspec(dllimport)). > > I'm relatively new to cross-compiling, so I'm a little baffled as to > where to go with this. > If this can be of any use when I crosscompile I don't link directly with the DLLs but with the import files provided in the gtk-*-dev archives:
In my makefile I have this (I've a win32 target that uses CROSSDIR, CROSSCXX, CROSSLIBS instead of the standard ones): CROSSLIBS = -L$(CROSSDIR)/lib/gtk-2.0 -mwindows -mno-cygwin \ -mms-bitfields -lgtk-win32-2.0.dll -lgdk-win32-2.0.dll -\ -latk-1.0.dll -lgdk_pixbuf-2.0.dll -lpango-1.0.dll -lpangowin32-1.0.dll \ -lgmodule-2.0.dll -lgobject-2.0.dll -lglib-2.0.dll -lgthread-2.0.dll \ -lstdc++ -luser32 -lws2_32 -lexpat -ljpeg ls /usr/i586-mingw32msvc/lib/gtk-2.0/ lib libgdk_pixbuf-2.0.dll.a libgmodule-2.0.dll.a libgtk-win32-2.0.dll.a libpangoft2-1.0.dll.a libatk-1.0.dll.a libglib-2.0.dll.a libgobject-2.0.dll.a libpango-1.0.dll.a libpangowin32-1.0.dll.a libgdk-win32-2.0.dll.a libglib.dll.a libgthread-2.0.dll.a libpangocairo-1.0.dll.a -- Bye, Gabry _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list