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

Author Topic: Yet another unresolved external thread  (Read 2794 times)

0 Members and 1 Guest are viewing this topic.

SmashMaster

  • Newbie
  • *
  • Posts: 3
    • View Profile
Yet another unresolved external thread
« on: July 29, 2009, 03:25:36 am »
Alright, I did the "Using OpenGL" tutorial, I'm using VS2005, I have sfml-window.lib added as a dependency, and I'm getting unresolved externals featuring my GL functions.

Example:
Code: [Select]
error LNK2019: unresolved external symbol __imp__glBegin@4 referenced in function _main

I didn't get any unresolved externals involving my SF functions so I think I might be missing an OpenGL library.

EDIT: I know you guys get a ton of threads like this so I'm sure this'll be fixed in a matter of seconds. I have to say that after 15 minutes of getting VS8 set up for SFML, I'm liking SFML a lot. I think I'll get into this.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Yet another unresolved external thread
« Reply #1 on: July 29, 2009, 07:47:35 am »
Quote
I think I might be missing an OpenGL library.

opengl32.lib ;)

You may also need glu32.lib, if you're using any glu* function
Laurent Gomila - SFML developer

SmashMaster

  • Newbie
  • *
  • Posts: 3
    • View Profile
Yet another unresolved external thread
« Reply #2 on: July 29, 2009, 08:48:03 am »
Quote from: "Laurent"

opengl32.lib ;)

You may also need glu32.lib, if you're using any glu* function


Thanks, problem solved.

 

anything