1
DotNet / Re: [FIXED] Can't get SFML.Net to work under Mono
« on: November 14, 2012, 04:10:40 am »
I fixed it!
I did some research, and stumbled across this:
http://www.mono-project.com/DllNotFoundException
It shows a way to have mono spew out information about what it's looking for and where it's looking for it. Through this, I figured out two things:
1) The csfml libraries need to be in the same directory as the .exe, and the dll maps need to be changed to reflect that. I.e.:
I did some research, and stumbled across this:
http://www.mono-project.com/DllNotFoundException
It shows a way to have mono spew out information about what it's looking for and where it's looking for it. Through this, I figured out two things:
1) The csfml libraries need to be in the same directory as the .exe, and the dll maps need to be changed to reflect that. I.e.:
<dllmap dll="csfml-window-2" target="libcsfml-window.so.2.0">
2) I didn't have the right version of GLEW (1.7) installed, because it's not in the Ubuntu repos. I did find this Debian package, which supplies the necessary libraries. After installing it, everything worked!