Re: gtk-win sourceforge project
"Bill Nalen" <[email protected]> Tue, 28 Jan 2003 22:25:59 -0500
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <OF006AC7F0.AAEAD4AA-ON85256CBD.00116AA3-85256CBD.0012DC8B@towers.com> |
Here are my notes on using the gtk-win developer packages with MSVC: Download and install the developer package like normal. I will use c: \gtk2dev\ as the install point, substitute your directory as needed. Compile Options: I prefer to use the additional include path in the preprocessor section of the C/C++ tab. The Additional Include Directories box should include the following: C:\GTK2DEV\INCLUDE\GTK-2.0,C:\GTK2DEV\LIB\GTK-2.0\INCLUDE,C: \GTK2DEV\INCLUDE\GLIB-2.0,C:\GTK2DEV\LIB\GLIB-2.0\INCLUDE,C: \GTK2DEV\INCLUDE\PANGO-1.0,C:\GTK2DEV\INCLUDE\ATK-1.0,c:\gtk2dev\include The Code Generation item should use the multi-threaded dll (debug or normal) in the run-time library drop down Link Options: On the Link tab on the Input drop down page, we need to fill in the Object/Library modules and add the path to the Additional Library Path. Add the following to the Object/Library Modules line: glib-2.0.lib gtk-win32-2.0.lib gdk-win32-2.0.lib gobject-2.0.lib gdk_pixbuf-2.0.lib gthread-2.0.lib gmodule-2.0.lib pango-1.0.lib You may also need intl.lib on this line. The Additional Library Path statement just needs: C:\GTK2DEV\LIB I may have missed some libraries that you may need to compile but you should be able to add those easily. You could also add the paths above to the libraries and include items under Tools - Options - Directories. A big thanks to Todd Kulesza for putting these installers together. Bill To Post a message, send it to: [email protected] To Unsubscribe, send a blank message to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/