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

Author Topic: Troubles with setting up SFML 2.0  (Read 3067 times)

0 Members and 1 Guest are viewing this topic.

Inflammatory Nugget

  • Newbie
  • *
  • Posts: 21
    • View Profile
Troubles with setting up SFML 2.0
« on: July 26, 2013, 11:32:53 pm »
Greetings,

I have used SFML before, but that was with a demo of Visual Studio. But I am having trouble setting it up with a free IDE. I have tried getting it to work on Netbeans IDE 7.3.1 with the latest version of MinGW( the one available on mingw.org) and on the latest Code::Blocks IDE (12.11) with its own version of MinGW. I would be very grateful if someone were to suggest a free IDE and installation method for SFML 2.0 that is certain to work.

The system I am currently using is Windows 7, 64-bit.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Troubles with setting up SFML 2.0
« Reply #1 on: July 26, 2013, 11:54:42 pm »
Visual Studio Express is free as well and it's not just a demo. ;)

SFML works fine with Visual Studio and with Code::Blocks.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Inflammatory Nugget

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Troubles with setting up SFML 2.0
« Reply #2 on: July 27, 2013, 08:03:14 am »
"...and with Code::Blocks."

The high amount of "The application has stopped running" messages that it rubbed into my face make me believe otherwise. I think I'll try out Visual Studio Express, if you don't mind...

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
AW: Re: Troubles with setting up SFML 2.0
« Reply #3 on: July 27, 2013, 08:44:04 am »
The high amount of "The application has stopped running" messages that it rubbed into my face make me believe otherwise.
Never had that, but use whatever you like. ;)
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: Troubles with setting up SFML 2.0
« Reply #4 on: July 27, 2013, 08:53:01 am »
There are mainly two problems with gcc on Windows:
- there are too many variants of it, that are of course incompatible with each other; it's a hell to find a match between one's gcc and a precompiled library
- people don't read the SFML tutorials carefully

The TDM (SJLJ) pre-compiled SFML package works out-of-the-box with Code::Blocks 12.11's included MinGW. This is written in red in the "Getting started" tutorial.
Laurent Gomila - SFML developer

Inflammatory Nugget

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Troubles with setting up SFML 2.0
« Reply #5 on: July 27, 2013, 12:55:51 pm »
It works, it finally works :,)

http://i.imgur.com/gnMswLk.png

Just beautiful.

There are mainly two problems with gcc on Windows:
- there are too many variants of it, that are of course incompatible with each other; it's a hell to find a match between one's gcc and a precompiled library
- people don't read the SFML tutorials carefully

The TDM (SJLJ) pre-compiled SFML package works out-of-the-box with Code::Blocks 12.11's included MinGW. This is written in red in the "Getting started" tutorial.
To be honest, it's possible that I have skipped trough some parts in my haste to see SFML working.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: Troubles with setting up SFML 2.0
« Reply #6 on: July 27, 2013, 05:36:51 pm »
To be honest, it's possible that I have skipped trough some parts in my haste to see SFML working.
And wasted a lot of time waiting here for an answer... ::)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Inflammatory Nugget

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: Troubles with setting up SFML 2.0
« Reply #7 on: July 27, 2013, 06:28:15 pm »
And wasted a lot of time trying to set it up with Code::Blocks and also half a day having trouble with installing Visual Studio 2010 after having installed Visual Studio 2012 (uninstalling Visual Studio 2012 Express doesn't remove all files, and Visual Studio 2010 tries to use those, even though they are not compatible).

But in the end it works! \:D/

 

anything