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

Author Topic: Can't get SFML to work  (Read 1508 times)

0 Members and 1 Guest are viewing this topic.

CroScorpiuS

  • Newbie
  • *
  • Posts: 2
    • View Profile
Can't get SFML to work
« on: October 06, 2011, 09:55:40 pm »
I am very new to the C++ language (1 month learning).
My problem is that I can't get SFML to work at all. I have C::B installed with MinGW and I downloaded the SFML SDK and I followed the tutorial listed on the site. But when I want to compile the program it asks for sfml-system.dll, so I copied all of the .dlls from SFML to "System" folder in my Windows installation, but now it is asking for libgcc_s_dw2-1.dll.
Help?

Haze

  • Full Member
  • ***
  • Posts: 201
    • View Profile
    • Github Profile
Can't get SFML to work
« Reply #1 on: October 06, 2011, 11:33:35 pm »
As stated in the beginning of the tutorial, SFML is not compatible with the old version of Mingw used by codeblocks in its default installation.
You can download this more recent version of Mingw (replace the old one used in your codeblock installation to use it).

CroScorpiuS

  • Newbie
  • *
  • Posts: 2
    • View Profile
Can't get SFML to work
« Reply #2 on: October 07, 2011, 06:14:08 pm »
Thanks man, it works now. I guess I misunderstood the tutorial. Thanks again.