Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: openGL codewarrior OSX

  1. #1
    Guest

    openGL codewarrior OSX

    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

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Dec 2001
    Location
    Wellington, New Zealand
    Posts
    548

    Re: openGL codewarrior OSX

    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •