2011/3/23 Mikhail Titov <mlt@xxxxxx>: > Hello! > > I understand that there is a lot of work still needs to be done for Gtk+ 3.0 . However I would like to use some of its functionality now if possible. The problem is that Iâm using gtkmm and msvc++ to compile my code under MS Windows. I wonder about win32 builds of gtk+ 3.0. Is it not buildable under MS Windows yet? The windows project on the OpenSUSE BuildService has a package for gtk3: https://build.opensuse.org/package/show?package=mingw32-gtk3&project=windows%3Amingw%3Awin32 It seems to build correctly. I haven't tried it, but at least the gtk2 binaries produced by the OBS run great on Windows. > I decided to give it a try and build it myself with MinGW and gcc (4.5.0), but I got stuck in the very beginning. I used binary dependencies/prerequisites available from ftp to satisfy ./configure complaints since I had old prerequisites bundle installed. However ./configure got stuck saying that I have no cairo_pdf.h, though I can see it with ls /usr/local/include/cairo/ . Oh well, I commented out this check. When I executed make V=1 I got this: > > make[5]: Entering directory `/c/workspace/gtk+-3.0.4/gdk/win32' > /bin/sh ../../libtool Â--tag=CC Â --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DINSIDE_GDK_WIN32 -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -mms-bitfields -IC:/msys/1.0/local/include/glib-2.0 -IC:/msys/1.0/local/lib/glib-2.0/include -IC:/msys/1.0/local/include/pango-1.0 -IC:/msys/1.0/local/include/cairo -IC:/msys/1.0/local/include -IC:/msys/1.0/local/include/freetype2 -IC:/msys/1.0/local/include/libpng14 -IC:/msys/1.0/local/include/gdk-pixbuf-2.0 Â Â -DGDK_COMPILATION Â-DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES Â-DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -g -O2 -Wall -mms-bitfields -MT gdkcursor-win32.lo -MD -MP -MF .deps/gdkcursor-win32.Tpo -c -o gdkcursor-win32.lo gdkcursor-win32.c > libtool: compile: Âgcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DINSIDE_GDK_WIN32 -I../.. -I../../gdk -I../../gdk -DG_DISABLE_CAST_CHECKS -mms-bitfields -IC:/msys/1.0/local/include/glib-2.0 -IC:/msys/1.0/local/lib/glib-2.0/include -IC:/msys/1.0/local/include/pango-1.0 -IC:/msys/1.0/local/include/cairo -IC:/msys/1.0/local/include -IC:/msys/1.0/local/include/freetype2 -IC:/msys/1.0/local/include/libpng14 -IC:/msys/1.0/local/include/gdk-pixbuf-2.0 "" -DGDK_COMPILATION -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -g -O2 -Wall -mms-bitfields -MT gdkcursor-win32.lo -MD -MP -MF .deps/gdkcursor-win32.Tpo -c gdkcursor-win32.c Â-DDLL_EXPORT -DPIC -o .libs/gdkcursor-win32.o > gcc.exe: : No such file or directory > make[5]: *** [gdkcursor-win32.lo] Error 1 It appears that gcc is not in your path. > Is it really not ready for win32 at all or am I doing something wrong? > All I want at this point is a color selection dialog with transparency support and RGBA type instead of Color. > > Also Iâve tried experimental VS9 project created by configure. But it requires âmsvc_recommended_pragmas.hâ that I gonât have. Okay, removed that one. Also I corrected GlibEtcInstallRoot path and added dash after Gdk into include Gdk-Pixbuf-2.0. However this time it is getting stuck on GDK_TYPE_CURSOR_TYPE and alike in gdkcursor.c while gdkenumtypes.h doesn't contain anything useful as in binary gtk+ 2 I have. > > What are my options? Is it something I should just wait? When roughly do you estimate to have win32 build available (even unstable)? In my experience cross-compiling on Linux using the mingw headers is _much_ easier than on windows with msys+mingw. I have never tried MSVC. > Mikhail Maarten _______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list