calling glGetString ( GL_VERSION ) on mac OS X tiger in c xcode project
- From: "anne001" <anne@xxxxxxxxxxxxxxx>
- Date: 26 Jul 2006 07:06:52 -0700
I can't figure out what include I need to put in to access glGetString
#include <stdio.h>
#include <OpenGL/gl.h>
#include <OpenGL/OpenGL.h>
int main (int argc, const char * argv[]) {
const GLubyte * strVersion = glGetString ( GL_VERSION );
printf("Hello, World!\n");
printf(strVersion);
return 0;
}
runs with a message
unknown symbol '_glGetString'
.
- Follow-Ups:
- Re: calling glGetString ( GL_VERSION ) on mac OS X tiger in c xcode project
- From: Rolf Magnus
- Re: calling glGetString ( GL_VERSION ) on mac OS X tiger in c xcode project
- From: Wolfgang Draxinger
- Re: calling glGetString ( GL_VERSION ) on mac OS X tiger in c xcode project
- Prev by Date: Re: render pictures off-screen
- Next by Date: Re: calling glGetString ( GL_VERSION ) on mac OS X tiger in c xcode project
- Previous by thread: 3D and image processing OpenGL source code
- Next by thread: Re: calling glGetString ( GL_VERSION ) on mac OS X tiger in c xcode project
- Index(es):
Relevant Pages
|
|