Derelict / SDL error

Paul via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Dec 9 07:48:31 PST 2014


On Tuesday, 9 December 2014 at 15:40:00 UTC, Mike Parker wrote:
> On 12/10/2014 12:19 AM, Paul wrote:
> dub doesn't know anything about DerelictSDL2Image (and even if 
> it did, just importing it isn't going to tell dub about it -- 
> you would need to add it to your dub.json as a dependency). 
> That's because DerelictSDL2Image is not an independent package. 
> It's part of DerelictSDL2. You need to call 
> DerelictSDL2Image.load() to load the SDL2_image shared library, 
> then you can use it.

I realise both of those, but I can't find the relevant package 
name, I thought it might be like this..

	"dependencies": {
	"derelict-sdl2":"~>1.0.0",
	"derelict-gl3":">=1.0.0",
	"derelict-sdl2-image":">=1.0.0"
	}

I've tried several variations but no joy.


More information about the Digitalmars-d-learn mailing list