SFML community forums

Bindings - other languages => DotNet => Topic started by: NinjaFighter on April 16, 2012, 01:08:27 am

Title: Sfml2 RC
Post 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?  :-\
Title: Re: Sfml2 RC
Post by: Laurent on April 16, 2012, 07:52:13 am
Quote
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.

Quote
There are a lot of ".exe" examples, but doesn't work on my Windows 7
What happens?
Title: Re: Sfml2 RC
Post by: NinjaFighter on April 16, 2012, 09:06:57 pm
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.
Title: Re: Sfml2 RC
Post by: Laurent on April 16, 2012, 10:27:17 pm
https://github.com/SFML/SFML.Net/
Title: Re: Sfml2 RC
Post by: NinjaFighter on April 16, 2012, 10:52:28 pm
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)
Title: Re: Sfml2 RC
Post by: Laurent on April 17, 2012, 07:48:57 am
Quote
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.

Quote
Does not compile, probably because a missing Tao reference but I don't know
Please be precise. What's the problem (error message)?
Title: Re: Sfml2 RC
Post by: Laurent on April 17, 2012, 07:49:40 am
Oh but wait, the precompiled samples were compiled to use the 32 bits DLLs.
Title: Re: Sfml2 RC
Post by: NinjaFighter on April 17, 2012, 03:36:13 pm
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.  :)