Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cocoa -> c++



At 16:27 Uhr -0500 27.01.2004, David Cairns wrote:
pro_05:0: /usr/lib/crt1.o illegal reference to symbol: __objcInit
defined in indirectly referenced dynamic library
/usr/lib/libobjc.A.dylib

any help is, as always, much appreciated

GLUT, on MacOS X, is implemented in Cocoa. Make sure you've added the ObjC runtime libraries and Cocoa.framework to your project or it won't work. You can still use C++ for your actual GLUT code, it's just that on Mac, GLUT uses these two libs internally, so you have to remember to add them.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >cocoa -> c++ (From: David Cairns <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.