1
DotNet / Can't get sfml-graphics to work
« on: June 17, 2011, 09:49:56 pm »
Set up my project with SFML.NET and tried to create a RenderWindow, but when calling new RenderWindow(), it just hangs up without error.
I tried:
- Setting target architecture of my app to x86
- Setting target archtecture of sfml.net to x86 + recompile
- Recompile csfml
- Setting various combinations of .NET-Framework versions in the project settings
When I debug sfml-graphics.dll, I can see that it crashes when it tries to pinvoke csfml (which usually means that I'm mixing x86 with x64, but I'm not doing that...)
The C++ - version works just fine btw.
I am using Win7 x64 with Visual Studio 2010 Prof.
E: I forgot, SFML.Audio is working properly! Is it possible that somehow the dependencies of SFML.Graphics ( OpenGL? ) are missing/wrong format? I dunno...
Any ideas?
I tried:
- Setting target architecture of my app to x86
- Setting target archtecture of sfml.net to x86 + recompile
- Recompile csfml
- Setting various combinations of .NET-Framework versions in the project settings
When I debug sfml-graphics.dll, I can see that it crashes when it tries to pinvoke csfml (which usually means that I'm mixing x86 with x64, but I'm not doing that...)
The C++ - version works just fine btw.
I am using Win7 x64 with Visual Studio 2010 Prof.
E: I forgot, SFML.Audio is working properly! Is it possible that somehow the dependencies of SFML.Graphics ( OpenGL? ) are missing/wrong format? I dunno...
Any ideas?