How to statically link Derelict SDL2 satellite libs
Mike Parker
aldacron at gmail.com
Thu Dec 14 14:45:51 UTC 2017
On Wednesday, 13 December 2017 at 20:59:41 UTC, eskaypee wrote:
> I'm on Linux 64 bit, all SDL libraries (-dev versions) are
> installed, dub is set up with:
>
> "dependencies": {
> "derelict-sdl2": "~>3.0.0-beta"
> },
> "subConfigurations": {
> "derelict-sdl2": "derelict-sdl2-static"
> },
> "libs":
> ["sdl2"]
>
> I'm guessing that the "libs" section of my dub subConfiguration
> needs to include the name of the image satellite library?
Yes, you need to link with SDL_image.
https://www.libsdl.org/projects/SDL_image/
More information about the Digitalmars-d-learn
mailing list