the used dependancy is "derelict-sdl2":"~>1.0.0"
and just dubbing gives me
nikki@crunchbang:~/projects/d/myTest$ dub --force
derelict-util: ["derelict-util"]
derelict-sdl2: ["derelict-sdl2", "derelict-util"]
mysdltest: ["mysdltest", "derelict-sdl2", "derelict-util"]
Building derelict-util configuration "library", build type debug.
Running dmd...
Building derelict-sdl2 configuration "library", build type debug.
Running dmd...
Building mysdltest configuration "application", build type debug.
Compiling...
Linking...
Running ./mysdltest
derelict.util.exception.SymbolLoadException@../../../.dub/packages/derelict-util-1.0.2/source/derelict/util/exception.d(35): Failed to load symbol SDLNet_Linked_Version from shared library /usr/local/lib/libSDL2.so
----------------
./mysdltest(void derelict.util.loader.SharedLibLoader.bindFunc(void**, immutable(char)[], bool)+0x54) [0x80b2fcc]
./mysdltest(void derelict.sdl2.net.DerelictSDL2NetLoader.loadSymbols()+0x58) [0x80af4d0]
./mysdltest(void derelict.util.loader.SharedLibLoader.load(immutable(char)[][])+0x56) [0x80b2d8e]
./mysdltest(void derelict.util.loader.SharedLibLoader.load(immutable(char)[])+0xc0) [0x80b2d30]
./mysdltest(void derelict.util.loader.SharedLibLoader.load()+0x47) [0x80b2c67]
./mysdltest(_Dmain+0x47) [0x80a6857]
./mysdltest(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().void __lambda1()+0x10) [0x80b73c8]
./mysdltest(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x18) [0x80b7340]
./mysdltest(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()+0x27) [0x80b738f]
./mysdltest(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x18) [0x80b7340]
./mysdltest(_d_run_main+0x117) [0x80b72d7]
./mysdltest(main+0x14) [0x80ae55c]
/lib/i386-linux-gnu/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0xb75d0e66]
./mysdltest() [0x80a6741]
Error executing command run: Program exited with code 1
I've installed all sdl2 libraries linked to in the readme, I specifically don't understand why it's looking for SDLNet_Linked_Version in /usr/local/lib/libSDL2.so I'd imagine the /usr/local/lib/libSDL2_net.so which is there too would be more the place to look in ?
All of this could also just be me not understanding something;)
I am trying to get the example file to work ;)
the used dependancy is "derelict-sdl2":"~>1.0.0" and just dubbing gives me
I've installed all sdl2 libraries linked to in the readme, I specifically don't understand why it's looking for SDLNet_Linked_Version in /usr/local/lib/libSDL2.so I'd imagine the /usr/local/lib/libSDL2_net.so which is there too would be more the place to look in ?
All of this could also just be me not understanding something;)