PDA

View Full Version : openGL codewarrior OSX



03-25-2002, 01:54 PM
Hello :-)

Can anybody please tell me how I get an OpenGL project to build in Codewarrior v7 under OSX / Mach-O?

I have added in the following frameworks:
System, GLUT, OpenGL

and the following libraries:
MSL_C++_Mach-O.a
MSL_Runtime_Mac-O.a
crt1.o

and I get the error:
Link error: /usr/lib/crt1.o.o illegal reference to symbol: __objcInit defined in indirectly referenced dynamic library /usr/lib/libobjc.A.dylib

So, I also tried adding libobjc.A.dylib (do I need this?) but it gives me more undefined symbol errors!

Any suggestions!? Any sample codewarrior 7, OSX OpenGL projects?

Thanks!
Alan

OneSadCookie
03-25-2002, 04:01 PM
Try libobjc.dylib instead, or simply adding Cocoa.framework (MacOSX's GLUT is Cocoa). If neither of those fixes it, tell us what the other missing symbols are!