SFML community forums
Help => General => Topic started by: shaizar on September 11, 2012, 04:02:13 pm
-
I am using visual studio 2008, SFML 1.6 and windows 7
I have a few games that I've written during the last year for school on my computer - they are definitely working.
But now when I try to run them it opens the dos cmd window, and stuck there - the graphic window is not opening so i can't see the game.
I tried to re-install visual studio and SFML, both not helping
anyone have any idea what can be the problem?
thank you
-
AMD/ATI graphics card?
-
yes, ATI mobility radeon HD 5000 series
I don't think that's the problem because the games were written and worked before on this computer
-
SFML 1.6 doesn't work with these cards, unless you statically link it.
-
is there a tutorial on how to statically link it?
probably something was changed in the options, but i don't remember how to do it again
btw sfml 2.0 works fine with it?
-
It should be described in the official SFML 1.6 tutorial, but I advise you to use SFML 2, which doesn't have the ATI bug and many other improvements bug & feature wise. ;)
-
tnx, it solves to ATI problem, but the program can't run due to incompatibility between the versions,
for example the method "setImage" in the "Sprite" class is not exist, this means that i need to change everything in the code to make it work - so it's not a good solution for me.
if anyone can explain to me how to statically link the 1.6 version it will be great tnx
-
Have you read the tutorial?
-
tnx, it solves to ATI problem, but the program can't run due to incompatibility between the versions,
for example the method "setImage" in the "Sprite" class is not exist, this means that i need to change everything in the code to make it work - so it's not a good solution for me.
Yeah you obviously have to change your code when switch from one version to another major version.
if anyone can explain to me how to statically link the 1.6 version it will be great tnx
Just link against the libraries with the -s sufix and don't define SFML_DYNAMIC.
-
tnx guys!
eXpl0it3r what you said didn't work, I needed to add the suffix -s-d to make it work
-
eXpl0it3r what you said didn't work, I needed to add the suffix -s-d to make it work
Well -s-d has also the suffix -s (= static) but also the suffix -d (= debug). ;)
-
Well -s-d has also the suffix -s (= static) but also the suffix -d (= debug). ;)
haha, I know.
I meant to say that just with the suffix -s it still didn't work