Greetings. I don't know why it is not working.
I have updated to the latest nim. I have made sure that I have the correct dll installed, which is the 64bit version. I have placed the dll everywhere where it might make sense, including system32 and nimbin and, of course, the local directory.
What am I doing wrong?
Thank you.
Okay, so apparently I've mixed up example files ... and it's not the dll that's missing, but the package. I've figured it out by looking at the tests in nim/tests/.../sdl. I saw "import sdl" and went "oh...." That doesn't explain why i have the dll problem with csfml, but at least this is probably solved.
Sorry for being dumb.
This isn't true... the linker simply needs to know where to find the shared library.
Depending on what compiler / linker you're using - the syntax for providing a path to linked libraries can vary.
If you're using gcc for instance, you can set the LIBRARY_PATH env variable or by specifying paths using -L when calling gcc, like -L/usr/local/lib
You can run gcc with the -v flag to see what LIBRARY_PATH is currently set to.