dub freeimage package
alexeibs via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jul 15 14:31:08 PDT 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:
>> 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.
Thank you for your answer. derelict-fi works fine.
More information about the Digitalmars-d
mailing list