I'm trying to have Eclipse CDT running Illricht.
I was able to build the libIrrlicht.a library using the XCode project "MacOSX.xcodeproj" thats bundled inside the source directory.
I was also able to make a project on XCode running the engine perfectly.
What I don't seem able to do is to make this run on the CDT.
On XCode to run the engine needs the frameworks of OpenGL, Cocoa and Carbon.
I can add the OpenGL nicely inside CDT, but now it fails me on the symbols for the Cocoa Objective-C stuff in there and I don't know what kind of library i'm supposed to import sice its a framework...
I would appreciate any help! Thanks.
Rui
Undefined symbols:
"_CGCaptureAllDisplays", referenced from:
irr::CIrrDeviceMacOSX::createWindow() in libIrrlicht.a(CIrrDeviceMacOSX.o)
".objc_class_name_NSBundle", referenced from:
literal-pointer@__OBJC@__cls_refs@NSBundle in libIrrlicht.a(CIrrDeviceMacOSX.o)
"_CGLSetParameter", referenced from:
irr::CIrrDeviceMacOSX::createWindow() in libIrrlicht.a(CIrrDeviceMacOSX.o)
"_CGDisplayShowCursor", referenced from:
irr::CIrrDeviceMacOSX::setCursorVisible(bool) in libIrrlicht.a(CIrrDeviceMacOSX.o)
irr::CIrrDeviceMacOSX::CCursorControl::setVisible(bool) in libIrrlicht.a(CIrrDeviceMacOSX.o)
"_CGLDestroyPixelFormat", referenced from:
irr::CIrrDeviceMacOSX::createWindow() in libIrrlicht.a(CIrrDeviceMacOSX.o)
"_CFArrayGetCount", referenced from:
irr::CIrrDeviceMacOSX::getVideoModeList() in libIrrlicht.a(CIrrDeviceMacOSX.o)
".objc_class_name_NSAutoreleasePool", referenced from:
literal-pointer@__OBJC@__cls_refs@NSAutoreleasePool in libIrrlicht.a(CIrrDeviceMacOSX.o)
"_CGSetLocalEventsSuppressionInterval", referenced from:
irr::CIrrDeviceMacOSX::setMouseLocation(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
irr::CIrrDeviceMacOSX::CCursorControl::setPosition(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
".objc_class_name_NSObject", referenced from:
.objc_class_name_AppDelegate in libIrrlicht.a(AppDelegate.o)
".objc_class_name_NSString", referenced from:
literal-pointer@__OBJC@__cls_refs@NSString in libIrrlicht.a(CIrrDeviceMacOSX.o)
literal-pointer@__OBJC@__cls_refs@NSString in libIrrlicht.a(OSXClipboard.o)