openGL codewarrior OSX

Hello :slight_smile:

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

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!

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