blackmoon
11-01-2005, 08:56 AM
Hi! I am an OpenGL ultra newbie using Mac OS X Tiger & Xcode. As suggested in the beginners' tutorials section, I am trying to get the first example from NeHe to work:
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=Mac_OS_X
NeHe Mac OS X OpenGL tutorial (http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=Mac_OS_X)
So far, I've opened a Cocoa project, gotten the GLUT framework added to the project, and changed main.m to the example text with the following alteration:
#import <Cocoa/Cocoa.h>
#include <GLUT/glut.h>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
Some people have mentioned conflicts between glut.h and gl.h and/or glu.h. But, deleting the last two lines from above still results in the same error:
ZeroLink: unknown symbol '_ReSizeGLScene'
ExploringCocoa-OpenGL has exited due to signal 6 (SIGABRT).
Has anyone else seen this problem? Any help is appreciated.
Thanx!
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=Mac_OS_X
NeHe Mac OS X OpenGL tutorial (http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=Mac_OS_X)
So far, I've opened a Cocoa project, gotten the GLUT framework added to the project, and changed main.m to the example text with the following alteration:
#import <Cocoa/Cocoa.h>
#include <GLUT/glut.h>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
Some people have mentioned conflicts between glut.h and gl.h and/or glu.h. But, deleting the last two lines from above still results in the same error:
ZeroLink: unknown symbol '_ReSizeGLScene'
ExploringCocoa-OpenGL has exited due to signal 6 (SIGABRT).
Has anyone else seen this problem? Any help is appreciated.
Thanx!