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

Author Topic: glFlush unresolved external symbol __imp__glFlush@0  (Read 1644 times)

0 Members and 1 Guest are viewing this topic.

rlwarrior32

  • Newbie
  • *
  • Posts: 5
    • View Profile
glFlush unresolved external symbol __imp__glFlush@0
« on: December 23, 2014, 10:28:33 pm »
I am trying to call glFlush() because of this issue:

http://en.sfml-dev.org/forums/index.php?topic=10722.msg74049#msg74049

I have included:

#include <SFML/OpenGL.hpp>

But I am getting this error: error LNK2001: unresolved external symbol __imp__glFlush@0

Anyone know what's causing this?


Thanks!

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: glFlush unresolved external symbol __imp__glFlush@0
« Reply #1 on: December 23, 2014, 10:33:55 pm »
You must link to the opengl32 library.
Laurent Gomila - SFML developer

 

anything