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

Author Topic: Visual Studio 2012 and SFML 2.0  (Read 6240 times)

0 Members and 1 Guest are viewing this topic.

Tegramon

  • Newbie
  • *
  • Posts: 9
    • View Profile
Visual Studio 2012 and SFML 2.0
« on: November 25, 2012, 09:59:16 pm »
Hello

I am new to the windows platform. My quick question is, how do you install the SFML for the VS2012 running on windows 8?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Visual Studio 2012 and SFML 2.0
« Reply #1 on: November 25, 2012, 10:04:38 pm »
I am new to the windows platform. My quick question is, how do you install the SFML for the VS2012 running on windows 8?
The same way as it's explained in the official tutorials for Visual Studio.

Also note that you'll have to build SFML on your own with VS 2012 (or use my nightly builds). ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Tegramon

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Visual Studio 2012 and SFML 2.0
« Reply #2 on: November 25, 2012, 10:15:25 pm »
The tutorial for building SFML is not really that complete. Any ideas?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Visual Studio 2012 and SFML 2.0
« Reply #3 on: November 25, 2012, 10:23:53 pm »
The tutorial for building SFML is not really that complete. Any ideas?
Why shouldn't it be complete?
What is missing in your opinion?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Visual Studio 2012 and SFML 2.0
« Reply #4 on: November 25, 2012, 10:31:54 pm »
Quote
The tutorial for building SFML is not really that complete. Any ideas?
Saying so without any detail won't help to improve the tutorials, or at least to tell you what you need...
Laurent Gomila - SFML developer

Tegramon

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Visual Studio 2012 and SFML 2.0
« Reply #5 on: November 26, 2012, 09:26:58 pm »
Ok, well, my question is this.
Depending on which versino I decide to use.
Which would be more stable? I saw there are A LOT of tutorials for 1.6.
If I decide to build 1.6, where do I find the sources?
Also ... I need to have CMAKE installed right?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Visual Studio 2012 and SFML 2.0
« Reply #6 on: November 26, 2012, 09:32:04 pm »
Depending on which version I decide to use.
Which would be more stable?
Use SFML 2, because it's more stable and it's maintained. SFML 1.6 hasn't been touched for over 2 years, has many bugs (e.g. the very very bad ATI bug) and lacks a lot of nice features (VertexArray, RenderTexture, ...).

I saw there are A LOT of tutorials for 1.6.
Yes, SFML 2 doesn't have all the tutorials, but it's mostly quite easy to port the 1.6 ones to 2.0. ;)

If I decide to build 1.6, where do I find the sources?
Also ... I need to have CMAKE installed right?
You'd find the source on GitHub in the branch sfml1 and no you wouldn't need CMake, since SFML 1.6 doesn't build with CMake. You'd need to convert the provided VS project file to VS2012 and hope that it works...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Tegramon

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Visual Studio 2012 and SFML 2.0
« Reply #7 on: November 26, 2012, 10:08:31 pm »
Ok, so if I decide to use SFML 2.0 (which I used on the mac for a simple pong game) do I need CMAKE? I installed it and trying to follow the steps in the tutorial using CMAKE GUI.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Visual Studio 2012 and SFML 2.0
« Reply #8 on: November 26, 2012, 10:23:55 pm »
There's a precompiled RC (release candidate) for SFML 2.0, so you don't need to compile it yourself.
Laurent Gomila - SFML developer

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Visual Studio 2012 and SFML 2.0
« Reply #9 on: November 26, 2012, 10:27:31 pm »
Ok, so if I decide to use SFML 2.0 (which I used on the mac for a simple pong game) do I need CMAKE? I installed it and trying to follow the steps in the tutorial using CMAKE GUI.
There's a precompiled RC (release candidate) for SFML 2.0, so you don't need to compile it yourself.
Wait if you're using VS 2012 then you have build it on your own with CMake (yes it's CMake not CMAKE).
Which is what we've been telling you all a long...
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Visual Studio 2012 and SFML 2.0
« Reply #10 on: November 26, 2012, 10:44:30 pm »
Quote
Wait if you're using VS 2012 then you have build it on your own with CMake
Sorry, I didn't notice we were talking about VS2012 ;D
Laurent Gomila - SFML developer

timo777

  • Newbie
  • *
  • Posts: 37
    • View Profile
Re: Visual Studio 2012 and SFML 2.0
« Reply #11 on: December 22, 2012, 05:03:00 pm »
I am new to the windows platform. My quick question is, how do you install the SFML for the VS2012 running on windows 8?
The same way as it's explained in the official tutorials for Visual Studio.

Also note that you'll have to build SFML on your own with VS 2012 (or use my nightly builds). ;)

Thank you for your nice nightly builds. :)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Visual Studio 2012 and SFML 2.0
« Reply #12 on: December 22, 2012, 05:23:16 pm »
Thank you for your nice nightly builds. :)
You're welcome! :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/