SFML community forums
Help => General => Topic started by: krrice 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]
-
Include <SFML/OpenGL.hpp> and link OpenGL32.lib (on Windows).