Author Topic: Installing OpenGL support (using glLoadGen)  (Read 3006 times)

Offline 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!

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
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.
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