On Thursday, 18 December 2014 at 06:29:34 UTC, Joel wrote:
I've installed SDL2.

Joels-MacBook-Pro:DerelictTest joelcnz$ cat test.d

import derelict.sdl2.sdl;

int main() {
        DerelictSDL2.load();
}


Joels-MacBook-Pro:DerelictTest joelcnz$ dmd test libDerelictSDL2.a libDerelictUtil.a
Joels-MacBook-Pro:DerelictTest joelcnz$ ./test
derelict.util.exception.SharedLibLoadException@source/derelict/util/exception.d(35): Failed to load one or more shared libraries:
----------------
5 test 0x0000000108eed3df void derelict.util.sharedlib.SharedLib.load(immutable(char)[][]) + 503 6 test 0x0000000108ee93a0 void derelict.util.loader.SharedLibLoader.load(immutable(char)[][]) + 124 7 test 0x0000000108ee931c void derelict.util.loader.SharedLibLoader.load(immutable(char)[]) + 280 8 test 0x0000000108ed8508 _Dmain + 40 9 test 0x0000000108f00098 D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv + 40 10 test 0x0000000108efffdd void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 45 11 test 0x0000000108f0003d void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll() + 45 12 test 0x0000000108efffdd void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate()) + 45 13 test 0x0000000108efff59 _d_run_main + 433 14 test 0x0000000108ed87d4 main + 20 15 libdyld.dylib 0x00007fff8ae8d5c9 start + 1 16 ??? 0x0000000000000001 0x0 + 1

Did you check if you installed SDL already on your machine?

Reply via email to