Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: More build troubles in VS2008  (Read 2382 times)

0 Members and 1 Guest are viewing this topic.

brent_w

  • Newbie
  • *
  • Posts: 6
    • View Profile
More build troubles in VS2008
« 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:
Code: [Select]
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?

Wizzard

  • Full Member
  • ***
  • Posts: 213
    • View Profile
More build troubles in VS2008
« Reply #1 on: October 08, 2008, 01:24:58 am »
You need to add the libraries "glu32" and "opengl32" to your project in order to use OpenGL.

brent_w

  • Newbie
  • *
  • Posts: 6
    • View Profile
More build troubles in VS2008
« Reply #2 on: October 08, 2008, 03:10:14 am »
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.

 

anything