SFML community forums
Help => Window => Topic started by: DasEtwas on August 18, 2009, 09:35:22 pm
-
Hi
I have a Problem while compiling a script simliar to
http://www.sfml-dev.org/tutorials/1.5/window-opengl.php
It appears a Linker Error (2019).
Its the same wich appears if one didn't write the library file into the Linker properties, but window.lib is included.
Any Ideas?
I think its an obviously stupid mistake but I really don't get it.
I'm using Microsoft Visual Studio 2008 and Windows 7 RC 64
Thanks!
DasEtwas
-
It appears a Linker Error (2019).
I don't know all the linker error codes. Could you please show us the message instead? ;)
-
unresolved external symbol in gl or sth. like that
(It's in german so you won't have fun with the original, I tried to translate it above :)
-
Did you link to opengl32.lib?
-
No i didn't, that wasn't explained in the tutorial, so I did now, but there is still one Error left:
unresolved external symbol in "_gluPerspective@32" in the Function "_main".
P.S: I is it possible that SFML has Problems with Win7? Because it does funny things when I'm tryin to load a sprite.
Ty so far
Lemuna
-
You also have to link to glu32.lib.
No i didn't, that wasn't explained in the tutorial
Well, if you're doing OpenGL stuff you're supposed to know how to use OpenGL :)
-
Hm so i have to look at that, but thank you it works perfectly right now :)