Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

OpenGL SDK

Name: Anonymous 2009-10-09 23:23

How the fuck do I obtain the OpenGL libraries for use with the C programming language?

I'm trying to use glut in Dev-C++ but the libraries that come with Dev-C++ are fucking broken or something, and I've tried including every GL library I could find in the lib folder but the linker can't find any of the functions, and it looks like my GL/glu.h (I notice that some people have a glut.h rather than glu.h) doesn't even contain at least 50% of the fucking #defines and function prototypes that it's supposed to.  Also I tried Code::Blocks but its packaged OpenGL is the exact same shit.  And the OpenGL website only provides references but won't like me to any particular implementation or anything...

Name: Anonymous 2009-10-09 23:35

ok, I downloaded a new glut and it solved most of the linking problems.  However there are still a few functions that can't be resolved:

  [Linker error] undefined reference to `__glutInitWithExit@12'
  [Linker error] undefined reference to `__glutCreateWindowWithExit@8'
  [Linker error] undefined reference to `__glutCreateMenuWithExit@8'
  [Linker error] undefined reference to `gluLookAt@72'


Any ideas?  And I want to know where I'm supposed to obtain the OpenGL SDK anyways even if my problem is with GLUT.

Name: Anonymous 2009-10-09 23:51

ok, apparently there is some jewfuckery that requires you to #define GLUT_DISABLE_ATEXIT_HACK just to compile properly.  Which still leaves me with a library that is missing 3 functions (I found gluLookAt in glu32), but at least I can get shit to compile.

Name: Anonymous 2009-10-10 0:05

import Graphics.Rendering.OpenGL
import Graphics.UI.GLUT

Name: Anonymous 2009-10-10 0:15

I remember something similar happening to me awhile ago. I ended up just using SDL's OpenGL bindings.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List