On Monday, 14 July 2014 at 20:56:22 UTC, alexeibs wrote:
Does it work under Windows?
I didn't manage to link it with a simple test app. I added
freeimage package into dependency list inside package.json and
got an error "File Not Found freeimage.lib". Then I downloaded
latest archive from
http://freeimage.sourceforge.net/download.html, put
freeimage.lib into dmd2 lib folder. And now it says "Not a
Valid Library File".
Where can I find a proper lib file?
32-bit Windows builds require OMF format library files (generally
this means you have to build the library with DMC). If you use
derelict-freeimage you can just use the .dll. It's what I've
done. Works fine.