SFML community forums
Help => General => Topic started by: Bananas on January 16, 2010, 12:11:11 am
-
I tried to compile the demos for 1.5 and 2.0trunk on WinXP VS 2008.
"postfx", "pong", "opengl" open a window and close it quickly again." The same also happens on release, static and dynamic.
"window" and all console demos work perfectly.
This is the output before it closes down:
'opengl-d.exe': Loaded 'C:\dev\SFML-2\samples\bin\opengl-d.exe', Symbols loaded.
'opengl-d.exe': Loaded 'C:\WINXP\system32\ntdll.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\kernel32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\opengl32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\msvcrt.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\advapi32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\rpcrt4.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\secur32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\gdi32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\user32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\glu32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\ddraw.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\dciman32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\winmm.dll'
'opengl-d.exe': Loaded 'C:\WINXP\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_f863c71f\msvcp90d.dll'
'opengl-d.exe': Loaded 'C:\WINXP\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.30729.1_x-ww_f863c71f\msvcr90d.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\imm32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\MSCTF.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\version.dll'
'opengl-d.exe': Unloaded 'C:\WINXP\system32\version.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\MSCTFIME.IME'
'opengl-d.exe': Loaded 'C:\WINXP\system32\ole32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\atioglxx.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\version.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\ws2_32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\ws2help.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\atiadlxx.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\setupapi.dll'
'opengl-d.exe': Loaded 'C:\WINXP\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.3053_x-ww_b80fa8ca\msvcr80.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\wintrust.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\crypt32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\msasn1.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\imagehlp.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\mcd32.dll'
'opengl-d.exe': Unloaded 'C:\WINXP\system32\mcd32.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\dinput.dll'
'opengl-d.exe': Loaded 'C:\WINXP\system32\hid.dll'
The thread 'Win32 Thread' (0xc38) has exited with code 1 (0x1).
The program '[2680] opengl-d.exe: Native' has exited with code 1 (0x1).
What am I doing incorrectly? :?
-
Which one are you using? 1.5, 2.0 or trunk?
Have you tried using the debugger (F5)?
Are you sure that the working directory is ok? By default it is not set to the right folder.
-
Whoops.
It closed because it could not do Image.LoadFromFile("datas/opengl/texture.jpg")
etc. since it could not find those files.
Everything is okay now! SFML rocks.