Nearly same situation for me (gcc 4.8.2, MinGW-W64).
I honestly don't know entirely what I'm doing, but I saw that the files BitmapAccess.o was attempting to reference were defined in PixelAccess.cpp. But in Makefile.srcs, BitmapAccess.cpp came well before PixelAccess.cpp. I simply moved PixelAccess.cpp to the front of the list, did a make clean and then a make, and it appears to have built.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all!
Please, sorry if this is a recurrent question.
I'm trying to compile the Freeimage with this environment:
gcc version 4.8.1 (rev5, Built by MinGW-W64 project), from this link:
https://sourceforge.net/projects/mingwbuilds/files/host-windows/releases/4.8.1/64-bit/threads-win32/seh/
And msys2 from this link:
https://sourceforge.net/projects/msys2/files/Alpha-versions/
And some options of my compiler environment:
CFLAGS="-march=nocona -mtune=core2 -pipe -O2"
CXXFLAGS="-march=nocona -mtune=core2 -pipe -O2"
But a error of linking against a .o file was presented how show the pastebin:
http://pastebin.com/xJk2W81C
Was applied these patches:
https://sourceforge.net/p/freeimage/bugs/151/
and
https://github.com/openexr/openexr/issues/56
I forgot something? any tips to generate the 64-bit dll with my environment?
Thanks on Advance!
Best regards,
Thiago Tiedtke dos Reis
Nearly same situation for me (gcc 4.8.2, MinGW-W64).
I honestly don't know entirely what I'm doing, but I saw that the files BitmapAccess.o was attempting to reference were defined in PixelAccess.cpp. But in Makefile.srcs, BitmapAccess.cpp came well before PixelAccess.cpp. I simply moved PixelAccess.cpp to the front of the list, did a make clean and then a make, and it appears to have built.