Thanks for the quick reply. I posted because I want it to work, but hate it not for working... :roll:
About the 2.0 bugs (some more details):
- download today SFML 2.0 snapshot
- used Cmake with visual studio 2008 compiler
- did BUILD ALL (on release)
- went to the examples and opened (for example) window.vcproj
- set it on release and compiled:
1>Window.obj : error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function _main
1>C:\Users\Lars\Desktop\sfml\examples\window\Release\window.exe : fatal error LNK1120: 1 unresolved externals
Under linker (additional libraries):
kernel32.lib
user32.lib
gdi32.lib
winspool.lib
shell32.lib
ole32.lib
oleaut32.lib
uuid.lib
comdlg32.lib
advapi32.lib
..\..\lib\Release\sfml-main.lib
..\..\lib\Release\sfml-window.lib
..\..\lib\Release\sfml-system.lib
glu32.lib
opengl32.lib
winmm.lib
Ok. other example I tried to run, win32. It compiles, all went ok. I copy:
sfml-graphics-2.dll
sfml-system-2.dll
sfml-window-2.dll
and start the program. I see a window with grey background... 'woom' and it's gone again. No messages, nothing. Also running from console, no messages. --- wait, revert that. the images were missing. fixed that, the example did run! WOOOO
I would like to make a program with opengl, so that glu bug is still a problem. Do you guys also have a tutorial on how to statically link 2.0, that would be nice.