News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Installing OpenGL support (using glLoadGen)

Started by blipton, January 06, 2015, 08:55:21 PM

Previous topic - Next topic

blipton

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!

stahta01

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]