I spent a long time trying to discover how to compile GIMP in Windows, even though I'm a Linux developer, I needed to run it in Windows for my OpenCL work because my GPU doesn't have a Linux driver.
At first, I tried to use MinGW+MSYS in Windows, it worked, but it is _extremely_ slow... like 3~4 hours to build GIMP and dependencies. Also, it had some random bugs.
Much better is to use mingw-w64 in Linux to build Windows binaries.
Anyway, here is what I've been doing.
System: Ubuntu 12.04LST
1. Install mingw-w64
2. use the grab-stuff.sh script (from Ender) to download precompiled packages from OpenSUSE repositories, change your prefix in the script
3. What we need will be extracted to ./usr/x86_64-w64-mingw32/sys-root/mingw
4. set your environment vars like the env.sh file (change to your directories)
5. get babl, gegl and gimp from git and build it:
$ cd babl
$ ./configure --prefix=$PREFIX --host=x86_64-w64-mingw32 --enable-introspection=no ; make ; make install
$ cd gegl
$ ./configure --prefix=$PREFIX --host=x86_64-w64-mingw32 --enable-introspection=no --disable-docs; make ; make install
$ cd gimp
$ ./configure --prefix=$PREFIX --without-dbus --without-gudev --without-linux-input --without-xmc --disable-python --host=x86_64-w64-mingw32 --without-libjpeg; make ; make install
I had problems with a -pthreads flag (which breaks mingw), it seems my system was polluted and I had a autotools file somewhere including it, I couldn't find the file. so my brute force solution was to have an Ubuntu VM with a clean system :/
and that's it...
bye!
Victor
On Sat, May 5, 2012 at 10:32 AM, gfxuser <gfx.user@xxxxxxxxx> wrote:
On 05/05/2012 at 09:52 Victor Oliveira wrote:Hi Victor,
I really don't recommend you compiling it in Windows (it's slow and full of bugs). You should do cross-compiling in Linux.
could you please put a finer point on this? Is this for GEGL only or for GIMP, too? Which tools do you use in Windows?
Mitch regretfully noticed in a bug report lately that there are no Windows developers for GIMP. Maybe your informations could help to bring more Windows developers into the project.
Best regards,
grafxuser
_______________________________________________
gegl-developer-list mailing list
gegl-developer-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gegl-developer-list
Attachment:
env.sh
Description: Bourne shell script
Attachment:
download-mingw-rpm.py
Description: Binary data
Attachment:
grab-stuff.sh
Description: Bourne shell script
_______________________________________________ gegl-developer-list mailing list gegl-developer-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gegl-developer-list