Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Sfml2 RC  (Read 3190 times)

0 Members and 1 Guest are viewing this topic.

NinjaFighter

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • http://www.sebagames.wordpress.com
Sfml2 RC
« 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?  :-\

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Sfml2 RC
« Reply #1 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?
Laurent Gomila - SFML developer

NinjaFighter

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • http://www.sebagames.wordpress.com
Re: Sfml2 RC
« Reply #2 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.


Edit: I don't found the repository for DotNet version.
« Last Edit: April 16, 2012, 09:54:32 pm by NinjaFighter »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Sfml2 RC
« Reply #3 on: April 16, 2012, 10:27:17 pm »
Laurent Gomila - SFML developer

NinjaFighter

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • http://www.sebagames.wordpress.com
Re: Sfml2 RC
« Reply #4 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

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)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Sfml2 RC
« Reply #5 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)?
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Sfml2 RC
« Reply #6 on: April 17, 2012, 07:49:40 am »
Oh but wait, the precompiled samples were compiled to use the 32 bits DLLs.
Laurent Gomila - SFML developer

NinjaFighter

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
    • http://www.sebagames.wordpress.com
Re: Sfml2 RC
« Reply #7 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.  :)