This is kind of embarrassing as I am the primary maintainer of the binding, but I am having some issues using this on Linux. I am pretty new to the Linux world, so it could just be my own ignorance. Also, DSFML is still 2.0 based, something I hope to fix soon, so it is possible that it might have something to do with that maybe.
Anyways... I was able to build SFML as static libraries, though when I went to build the DSFML shared libraries I got this error:
/usr/bin/ld: /home/jebbs/Documents/SFML-Statics/lib/libsfml-system-s.a(Err.cpp.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
I recompiled the SFML static libraries with the -fPIC switch, and now my DSFML shared libraries are able to compile. Cool. The problem now is that when I try to use the shared libraries in D, I get a bunch of undefined reference errors to all of the C functions. I use MinGW on Windows and it works fine there, so I'm not sure what's up. Any light that can be shed would be much appreciated.
On a side note, I accidentally built shared SFML libraries first and I got this error during the process:
make[2]: *** No rule to make target `/usr/lib/x86_64-linux-gnu/libGL.so', needed by `lib/libsfml-window.so.2.0'. Stop.
make[1]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Error 2
make: *** [all] Error 2
Any idea what that's all about?
Thanks guys!