Aisleriot / mingw32



Now that Aisleriot has a gtk+ only mode, it should in theory be possible to compile it on win32 using mingw32. Here is the result:

http://www.gnome.org/~andreasr/games/sol-win32.png


Of course, there are several problems which need to be solved.
Here's what I did, and what went wrong.

- Invoke configure with these parameters:
./configure --with-platform=gtk-only --with-games=aisleriot --enable-threading=no --disable-setgid


- Use the enable-runtime-pseudo-reloc flag to ld:
  -Wl,--enable-runtime-pseudo-reloc
  http://sourceware.org/binutils/docs-2.16/ld/Options.html#Options

- games-setgid doesn't compile on mingw32
See: http://bugzilla.gnome.org/show_bug.cgi?id=445270

- bonded.card-theme is not generated or installed correctly:

Failed to load prerendered card theme from C:/msys/1.0/local/share/gnome-games-common\card-themes\bonded.card-theme: No such file or directory ** (sol.exe:2812): WARNING **: Failed to load theme 'bonded'; trying fallback theme 'bonded'
** (sol.exe:2812): WARNING **: Failed to load fallback theme!
** (sol.exe:2812): WARNING **: Loading theme 11839536 failed!
(sol.exe:2812): GLib-GObject-WARNING **: g_object_get_valist: object class `GtkSettings' has no property named `gtk-xft-rgba'
** (sol.exe:2812): WARNING **: Theme not loaded yet; cannot set size!


Useful link:
http://wiki.gimp.org/gimp/HowToCompileGimp/MicrosoftWindows/MinGW


 - Andreas



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