Linking problem, using GLUT

Hi all,
I’m pretty much a newbie here, but I hope you’ll help me.
I’m not very familiar yet with Project Builder, but I’ve managed to create a project and stuff, and compile a sample that I found on the web (http://www.mactech.com/articles/mactech/Vol.14/14.12/OpenGLforMacUsers1/)
Once you get rid of the typing errors, my problem comes from the linking, I get this error message :
/usr/lib/crt1.o illegal reference to symbol: __objcInit defined in indirectly referenced dynamic library /usr/lib/libobjc.A.dylib
I’ve rebuild the GLUT framework, but it doesn’t help.
Can anyone help me ?
Thanks
@+ Daz

Link with either Cocoa.framework, Foundation.framework, or add -lobjc to your linker flags.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.