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

Author Topic: opengl codeblocks  (Read 1395 times)

0 Members and 1 Guest are viewing this topic.

krrice

  • Newbie
  • *
  • Posts: 26
    • View Profile
opengl codeblocks
« on: November 12, 2011, 08:13:05 pm »
I am getting a error when trying to compile code with opengl

error: 'glClearDepth' was not declared in this scope|

I am using sfml2, do i need to link the opengl libraries and how?[/img][/code]

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6275
  • Thor Developer
    • View Profile
    • Bromeon
opengl codeblocks
« Reply #1 on: November 12, 2011, 08:31:20 pm »
Include <SFML/OpenGL.hpp> and link OpenGL32.lib (on Windows).
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything