Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
opengl codeblocks
Print
Pages: [
1
]
Author
Topic: opengl codeblocks (Read 1815 times)
0 Members and 1 Guest are viewing this topic.
krrice
Newbie
Posts: 26
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]
Logged
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
opengl codeblocks
«
Reply #1 on:
November 12, 2011, 08:31:20 pm »
Include <SFML/OpenGL.hpp> and link OpenGL32.lib (on Windows).
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
opengl codeblocks