SFML community forums
Help => Window => Topic started by: brent_w on October 07, 2008, 10:47:07 pm
-
When attempting to build the code from this tutorial:
http://www.sfml-dev.org/tutorials/1.3/window-opengl.php
I'm getting this error:
1>SFML_OpenGL.cpp
1>Linking...
1>SFML_OpenGL.obj : error LNK2019: unresolved external symbol _gluPerspective@32 referenced in function _main
1>C:\Users\Brent\Documents\Visual Studio 2008\Projects\SFML_OpenGL\Debug\SFML_OpenGL.exe : fatal error LNK1120: 1 unresolved externals
What does this mean?
-
You need to add the libraries "glu32" and "opengl32" to your project in order to use OpenGL.
-
Ohh!
That had crossed my mind, but I dismissed it because for some reason I thought it was included in SFML. I'm not so sure what I was thinking.
Thanks for the help.