(Probably silly) OpenGL/XCode question
Howdy folks.. this is probably a silly question but its got me stumped..
I am new to Carbon/OpenGL/XCode, but know C/C++ pretty well (at least - I hope I do, Im employed as a C programmer)
I am following the NeHe tutorials, using the base Carbon Application as a template (thats been mostly hacked out).
I have both OpenGL and GLUT included in the Frameworks and Libraries section of XCode.
I managed to get a window to display, that went fine. When I went to draw things (triangles and quads), I get the following linking error (with ZeroLink turned on the error occurs at runtime rather than link time)
I'm sure its just something silly I have missed.. anyone have any advice?
I am new to Carbon/OpenGL/XCode, but know C/C++ pretty well (at least - I hope I do, Im employed as a C programmer)
I am following the NeHe tutorials, using the base Carbon Application as a template (thats been mostly hacked out).
I have both OpenGL and GLUT included in the Frameworks and Libraries section of XCode.
I managed to get a window to display, that went fine. When I went to draw things (triangles and quads), I get the following linking error (with ZeroLink turned on the error occurs at runtime rather than link time)
Code:
Undefined symbols: _glvertex3fI'm sure its just something silly I have missed.. anyone have any advice?
glVertex3f(0.0f, 0.0f, 0.0f);
The machine does not run without the coin.
remember to check the headers for the actual functions, and if you want to know what one does you can always type "man glVertex3f" in the Terminal.
Sir, e^iπ + 1 = 0, hence God exists; reply!
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Xcode gdb SIGTRAP on an OpenGL Project | mikey | 4 | 3,103 |
May 25, 2009 03:39 AM Last Post: mikey |
|
| XCode OpenGL Game Engine | MoltenWhale | 20 | 10,758 |
Aug 17, 2008 07:10 AM Last Post: ThemsAllTook |
|
| Silly Pet Peeve or something I should be doing... | WhatMeWorry | 7 | 3,065 |
Nov 30, 2005 02:35 PM Last Post: OneSadCookie |
|
| Simple OpenGL/Xcode Question. | loopfick | 10 | 5,898 |
Sep 8, 2005 09:54 AM Last Post: Volte |
|

