SFML community forums
Help => General => Topic started by: AB on April 23, 2013, 01:06:59 pm
-
I followed the tutorial on "getting started" and "opening a window". I used the source code directly from the "opening a window" tutorial and it compiles without error in CodeBlocks. When I run the executable I don't get a window though. I've tried creating both a "console application" and "SFML project" in CodeBlocks but the result is always the same. What am I doing wrong?
-
OS?
Version of SFML?
Graphics card?
-
You should always start with an empty project.
Besides that I guess you ran into the ATI bug, i.e. you're using SFML 1.6 and an AMD card, right? :D
-
OS?
Version of SFML?
Graphics card?
Windows 7
SFML 1.6
AMD Radeon HD 7700
-
Windows 7
SFML 1.6
AMD Radeon HD 7700
I can read minds! :P
So it's indeed the ATI bug. You should use SFML 2 or link statically. ;)
-
So it's indeed the ATI bug. You should use SFML 2 or link statically. ;)
I'm not having any luck with SFML 2 either. I downloaded the Windows 32 bits - GCC SJLJ (Code::Blocks) version, deleted all files from 1.6, redid libs and include steps, used the "release" versions of the files, and used the source code from http://www.sfml-dev.org/tutorials/2.0/start-cb.php. It compiles without error but crashes when run.
Problem signature:
Problem Event Name: APPCRASH
Application Name: Tetris.exe
Application Version: 0.0.0.0
Application Timestamp: 5176788c
Fault Module Name: sfml-window-2.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 4f849b51
Exception Code: c0000005
Exception Offset: 00004af9
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1040
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
-
You must recompile SFML, or download a nightly build (see the "General discussions" forum), or wait for the official release next week :P
-
You must recompile SFML, or download a nightly build (see the "General discussions" forum), or wait for the official release next week :P
I downloaded a nighly build but I don't know how to compile the files in the include folder.
-
The purpose of a nightly build is to provide a built version. You don't have to compile it, you already have the binaries.
-
The purpose of a nightly build is to provide a built version. You don't have to compile it, you already have the binaries.
You're right, the dll files are in the bin folder.
-
Sorry for bumping an ancient thread but it's still a problem with SFML 2.2 for my game. I'm yet to get the details from the user but I'm guessing they have an AMD card too (they always do...). Are you saying that statically linking would solve the problem?
Problem signature:
Problem Event Name: APPCRASH
Application Name: Pioneers.exe
Application Version: 0.0.0.0
Application Timestamp: 54ece7af
Fault Module Name: sfml-window-2.dll
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 54b7f216
Exception Code: c0000005
Exception Offset: 0000a070
OS Version: 6.1.7600.2.0.0.256.1
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
-
This bug applies to SFML 1.6 only. Your problem is a different one.
-
But what could cause a problem in sfml-window-2.dll? As I understand no window appears, it crashes before that.
-
But what could cause a problem in sfml-window-2.dll?
Is it the code, or the environment which causes the problem? In other words, can this user run a simple SFML hello world window application?