digitalmars.D - dub freeimage package
- alexeibs (8/8) Jul 14 2014 Does it work under Windows?
- Brad Anderson (5/14) Jul 14 2014 32-bit Windows builds require OMF format library files (generally
- alexeibs (2/16) Jul 15 2014 Thank you for your answer. derelict-fi works fine.
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?
Jul 14 2014
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.
Jul 14 2014
On Monday, 14 July 2014 at 21:09:22 UTC, Brad Anderson wrote:On Monday, 14 July 2014 at 20:56:22 UTC, alexeibs wrote:Thank you for your answer. derelict-fi works fine.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.
Jul 15 2014