SFML community forums
Help => General => Topic started by: treiguts on June 23, 2011, 05:33:28 pm
-
I'm on Windows 7 and using Code Blocks.
Done this tutorial (http://www.sfml-dev.org/tutorials/1.6/start-cb.php) and it works.
This tutorial compiles (http://www.sfml-dev.org/tutorials/1.6/graphics-window.php), but after launching, window goes "Not responding". Also tried it on Visual Studio 2010 - same.
And how to remove that console that shows along with Window?
-
This tutorial compiles, but after launching, window goes "Not responding". Also tried it on Visual Studio 2010 - same.
ATI graphics card?
And how to remove that console that shows along with Window?
You must create a Win32 GUI project instead of a console one. You can also change an option in your existing project, I don't remember which one in Code::Blocks. With Visual Studio, it's "Linker/System/Sub-system" -> "Windows".
-
Yes I have ATI. What now? :(
And I managed to remove console through Project>Properties>Build Targets>Type. Thanks.
-
Yes I have ATI. What now? :(
And I managed to remove console through Project>Properties>Build Targets>Type. Thanks.
Use SFML2 instead. This has been fixed for SFML2.
-
Or link to the static version (-s) of the SFML libraries.
-
I did create SFML2. After compiling, there is only "lib" directory with sfml .dll files and libsfml .a files. There is no folder "include" like in 1.6 version.
This is supposed to be like this?
And do I have to replace old (1.6 version) .dll files with new .dll files?
-
Yes I have ATI. What now? :(
And I managed to remove console through Project>Properties>Build Targets>Type. Thanks.
Use SFML2 instead. This has been fixed for SFML2.
Don't know what have been fixed, but it still ain't working. Linking to static libraries and I'm still getting "Not responding".
Tried with SFML 1.6 and SFML 2.0
Edit: I managed to fix problem. Appears that OS stops my window because there is no event handling.
-
treiguts,
How did you fix this?
I as well have tried SFML/SFML2, with static libraries and am still experiencing this issue.
-
treiguts,
How did you fix this?
I as well have tried SFML/SFML2, with static libraries and am still experiencing this issue.
He said it was because he wasn't handling events.
-
I read that. I was looking for something a little more detailed.
Anyways, I rebuilt my libraries and got it working.