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

Author Topic: SFML2 Examples don't start in Windows (MinGW)  (Read 1980 times)

0 Members and 1 Guest are viewing this topic.

Vit

  • Newbie
  • *
  • Posts: 14
    • View Profile
SFML2 Examples don't start in Windows (MinGW)
« on: October 20, 2011, 12:12:39 pm »
I just got a new PC, and I'm trying to set up SFML2 on it. The OS is Windows 7 64-bit.
I've downloaded and compiled SFML2 and its examples successfully, using mingw32-make. However, the only example which works is the window example. I've tried pong, shader, and win32 - shader and win32 exit as soon as they start, and pong crashes with error 0xc000007b. My SFML project from Mac OS X also crashes similarly when compiled for Windows.

Vit

  • Newbie
  • *
  • Posts: 14
    • View Profile
SFML2 Examples don't start in Windows (MinGW)
« Reply #1 on: October 23, 2011, 09:44:34 pm »
Never mind, I figured it out - I hadn't copied the resource folders over to the same directory as the executable. Pong still doesn't work, though (probably a DLL problem)...

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
SFML2 Examples don't start in Windows (MinGW)
« Reply #2 on: October 23, 2011, 11:30:02 pm »
Compile the SFML install project (make install), then everything is placed correctly in the folder specified with CMake.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything