bah.freeimage won't compile

BlitzMax Forums/Brucey's Modules/bah.freeimage won't compile

xlsior(Posted 2009) [#1]
After the latest bah.freeimage appeared on SVN, it won't compile on my PC (windows) -- I get a whole slew of MinGW errors:



I removed the entire bah.freeimage folder and subfolders and re-synced from SVN, but no difference...


Brucey(Posted 2009) [#2]
That's strange. It compiles fine here... and I only had to fix a couple of compilation issues on Win32, which I committed.
I even tried out the examples, and they ran okay.

I'll have a rummage and see what I can come up with.


Brucey(Posted 2009) [#3]
I had hoped to include the new RAW support, but it's LGPL.. which is a shame... because I'd have to move back to using a shared library to have that included.
Static for now...


Glenn Dodd(Posted 2009) [#4]
I got the same thing on win7. Last svn done about 6 hours ago.


Brucey(Posted 2009) [#5]
Just committed a fix. (now includes blitz.h before freeimage.h... haw)

The nice thing with the latest FreeImage is that they've finally added compile support for MinGW, which saves me from hacking it as much as I did before.


xlsior(Posted 2009) [#6]
Yup, looks like that one did the trick -- no more error on compiling, thanks!