Linking problem
When I link this project I'm working on based off the NeHeX tutorials, it gives me the linker error:
Undefined symbols: _glBegin _glClear _glClearColor _glClearDepth _glColor3f _glDepthFunc ... and so on (rest is cut off)
I've done
#import <OpenGL/OpenGL.h>
#import <OpenGL/gl.h>
#import <OpenGL/glu.h>
in the first file that uses OGL.
Any clues? :?:
Undefined symbols: _glBegin _glClear _glClearColor _glClearDepth _glColor3f _glDepthFunc ... and so on (rest is cut off)
I've done
#import <OpenGL/OpenGL.h>
#import <OpenGL/gl.h>
#import <OpenGL/glu.h>
in the first file that uses OGL.
Any clues? :?:
Did you include the framework. For carbon i include agl.framework and opengl.framework.
just go project->add framework to add them
just go project->add framework to add them
laziness,impatience, and hubris
Quote:Originally posted by fat-tHaha, thanks, that did it.
Did you include the framework. For carbon i include agl.framework and opengl.framework.
just go project->add framework to add them

I included OpenGL.framework.
And not that it matters now, but I'm using Cocoa if you couldn't tell by the #imports
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| problem with linking with libjpeg | Gecko | 2 | 2,992 |
Oct 26, 2008 05:40 AM Last Post: Gecko |
|
| Problem linking GLSL | Ilyasim | 4 | 3,330 |
Dec 18, 2007 12:46 PM Last Post: OneSadCookie |
|
| openal linking problem on vc++ express 2005 | abousoft | 1 | 3,647 |
Jan 1, 2007 03:55 AM Last Post: sealfin |
|

