SFML community forums

Help => General => Topic started by: Vit on October 20, 2011, 12:12:39 pm

Title: SFML2 Examples don't start in Windows (MinGW)
Post by: Vit 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.
Title: SFML2 Examples don't start in Windows (MinGW)
Post by: Vit 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)...
Title: SFML2 Examples don't start in Windows (MinGW)
Post by: Nexus 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.