How to statically link Derelict SDL2 satellite libs

Mike Parker aldacron at gmail.com
Thu Dec 14 15:43:22 UTC 2017


On Thursday, 14 December 2017 at 15:07:12 UTC, eskaypee wrote:
>
> On Thursday, 14 December 2017 at 14:45:51 UTC, Mike Parker 
> wrote:
>> Yes, you need to link with SDL_image.
>>
> Sorry Mike, just noticed the end of my original question was 
> missing: I have SDL_Image installed (dev version) but can't see 
> how to refer/add it to the "libs" section (if that's how it 
> gets linked in?). Totally new to D, dub and SDL and using only 
> a text editor rather than an IDE so a bit befuddled!

Should be:

"libs" : [ "SDL2_image", "SDL2"]


More information about the Digitalmars-d-learn mailing list