SFML community forums
Bindings - other languages => DotNet => Topic started by: NinjaFighter on April 16, 2012, 01:08:27 am
-
I Downloaded the RC version for .net, but there are no example code, and the chm help doesn't work for me. There are a lot of ".exe" examples, but doesn't work on my Windows 7. (even if I copy all needed libs to current directory)
Any suggestions? :-\
-
but there are no example code
You can find examples in the source repository on github, from there you can even download it directly as a zip archive.
There are a lot of ".exe" examples, but doesn't work on my Windows 7
What happens?
-
this is the error when I execute example "window.exe" with all x64 dlls, copied from extlibs and libs directories to the same folder.
(http://dl.dropbox.com/u/59350055/forums/sfml_rc_example_crash.png)
Edit: I don't found the repository for DotNet version.
-
https://github.com/SFML/SFML.Net/
-
Ok, thanks I found it minutes ago here:
http://en.sfml-dev.org/forums/index.php?topic=5360.0 (http://en.sfml-dev.org/forums/index.php?topic=5360.0)
I don't know how to compile it yet... the solution is for outdated ides, but I don't know if is it the problem. Does not compile, probably because a missing Tao reference but I don't know. There are a ready solution for test? or I have to fix it manually?... anyway, i'm on it! 8)
-
I don't know how to compile it yet... the solution is for outdated ides
Let your Visual Studio wizard convert it, and it should be ok.
Does not compile, probably because a missing Tao reference but I don't know
Please be precise. What's the problem (error message)?
-
Oh but wait, the precompiled samples were compiled to use the 32 bits DLLs.
-
I can compile it now and works well.
I had to create a new solution with the projects manually, and update the references to Tao.OpenGL, Tao.FreeGlut, Tao.OpenGL.Glu dlls.
For the "window" project, I had to reference it to "sfmlnet-window-2" instead of "sfml-window" (if I remember).
After this, everything works well apparently. :)