Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
Installing OpenGL support (using glLoadGen)
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Installing OpenGL support (using glLoadGen) (Read 3006 times)
blipton
Multiple posting newcomer
Posts: 12
Installing OpenGL support (using glLoadGen)
«
on:
January 06, 2015, 08:55:21 pm »
I found this great article on installing OpenGL with Code::Blocks MinGW,
http://www.grhmedia.com/SDLOGLSetup.php
http://stackoverflow.com/questions/17370/using-glew-to-use-opengl-extensions-under-windows
however, it uses GLEW, which according to a few stackoverflow posts I've seen might not be as desirable as using glLoadGen (or even glfw , glsdk)
https://www.opengl.org/wiki/OpenGL_Loading_Library
The problem is, I can't get a simple opengl program to build using glLoadGen:
http://lazyfoo.net/tutorials/OpenGL/29_hello_glsl/index.php
http://lazyfoo.net/tutorials/SDL/50_SDL_and_opengl_2/index.php
I'm not 100% sure what openGL version those tutorial examples are meant to be built against.. so does anyone have any tips on how to install OpenGL & glLoadGen from scratch using CodeBlocks to make a simple hello world app?
Thanks!
Logged
stahta01
Lives here!
Posts: 7591
Re: Installing OpenGL support (using glLoadGen)
«
Reply #1 on:
January 06, 2015, 09:02:47 pm »
To me the directions look like trash.
Putting the library names in the extra linker options locations says they have no idea of the correct way to use Code::Blocks.
Tim S.
Logged
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ.
http://wiki.codeblocks.org
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
Installing OpenGL support (using glLoadGen)