Compiling GIMP on Windows - so close, but ...
Hi,
I've been following different guides on compiling GIMP on Windows, but
all fail with the same error. I have updated the
"CompileGimpAtWindowsShellScript", referenced in thread
http://www.gimptalk.com/forum/viewtopic.php?f=2&t=45857&p=358330&hilit=compile+on+windows#p358330.
My updated script is here:
http://www.bitberry.com/tempdir/gimp/compile-gimp.sh
Complete compile output is here:
http://www.bitberry.com/tempdir/gimp/out.txt (zipped:
http://www.bitberry.com/tempdir/gimp/out.zip)
The compile almost gets to the end. Here is the last error:
CC gimp-log.o windres gimp.rc gimprc.o
CCLD gimp-2.7.exe Info: løser _babl_total_usecs ved at lænke til
__imp__babl_total_usecs (automatisk import)
c:\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
warning: auto-importing has been activated without --enable-auto-import
specified on the command line.
This should work unless it involves constant data structures
referencing symbols from auto-imported DLLs.
sanity.o:sanity.c:(.text+0x3f): undefined reference to
`_imp__gimp_major_version'
sanity.o:sanity.c:(.text+0x4a): undefined reference to
`_imp__gimp_minor_version'
sanity.o:sanity.c:(.text+0x50): undefined reference to
`_imp__gimp_micro_version'
sanity.o:sanity.c:(.text+0x7e): undefined reference to
`_imp__gimp_minor_version'
sanity.o:sanity.c:(.text+0x89): undefined reference to
`_imp__gimp_micro_version'
collect2: ld returned 1 exit status
make[3]: *** [gimp-2.7.exe] Error 1
make[3]: Leaving directory `/gimptest2/gimp-compile-dir/gimp-2.7.0/app'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/gimptest2/gimp-compile-dir/gimp-2.7.0/app'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gimptest2/gimp-compile-dir/gimp-2.7.0'
make: *** [all] Error 2
I'm using MinGW-5.1.6 and MSYS-1.0.11 on Windows XP SP3 32-bit in a
VMWare virtual machine and tried both GIMP 2.6.9 and 2.7 - same result.
Any idea what could be causing this?
Regards,
Brian