[fixed]Lots of linking errors on Mac OS 10.5

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
fabietto
Posts: 93
Joined: Wed Sep 24, 2008 4:38 pm
Location: Plymouth, UK
Contact:

[fixed]Lots of linking errors on Mac OS 10.5

Post by fabietto »

Hello guys,

I just updated Irrlicht to the latest 1.6.1 version on the Mac (running Mac OS 10.5 Leopard) and I've found the following linking errors when attempting to compile an application previously working alright:

Code: Select all

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)
  "_CGDisplayShowCursor", referenced from:
      irr::CIrrDeviceMacOSX::setCursorVisible(bool)  in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CCursorControl::setVisible(bool)  in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFArrayGetTypeID", referenced from:
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFArrayGetCount", referenced from:
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFStringGetCString", referenced from:
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)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)
  "_IOServiceGetMatchingServices", referenced from:
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGWarpMouseCursorPosition", referenced from:
      irr::CIrrDeviceMacOSX::setMouseLocation(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CCursorControl::setPosition(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFUUIDGetConstantUUIDWithBytes", referenced from:
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "___CFConstantStringClassReference", referenced from:
      cfstring=ElementCookie in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=Min in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=Max in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=UsagePage in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=Usage in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=Product in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=USB Product Name in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=PrimaryUsagePage in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=PrimaryUsage in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=Elements in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=BitsPerPixel in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=kCGDisplayModeIsSafeForHardware in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=kCGDisplayModeIsStretched in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=Width in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=Height in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=Type in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=MainMenu in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_IORegistryEntryCreateCFProperties", referenced from:
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_kCFAllocatorDefault", referenced from:
      _kCFAllocatorDefault$non_lazy_ptr in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayBestModeForParameters", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_IOObjectRelease", referenced from:
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSArray", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSArray in libIrrlicht.a(OSXClipboard.o)
  "_NSCalibratedRGBColorSpace", referenced from:
      _NSCalibratedRGBColorSpace$non_lazy_ptr in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFArrayGetValueAtIndex", referenced from:
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSWindow", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSWindow in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSPasteboard", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSPasteboard in libIrrlicht.a(OSXClipboard.o)
  ".objc_class_name_NSEvent", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSEvent in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFDictionaryGetValue", referenced from:
      addComponentInfo(void const*, JoystickComponent*, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      addComponentInfo(void const*, JoystickComponent*, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      addComponentInfo(void const*, JoystickComponent*, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      joystickTopLevelElementHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      joystickTopLevelElementHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      GetDictionaryBoolean(__CFDictionary const*, void const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      GetDictionaryLong(__CFDictionary const*, void const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSOpenGLContext", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSOpenGLContext in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSOpenGLPixelFormat", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSOpenGLPixelFormat in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_IORegistryEntryGetParentEntry", referenced from:
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_NSApp", referenced from:
      _NSApp$non_lazy_ptr in libIrrlicht.a(CIrrDeviceMacOSX.o)
      _NSApp$non_lazy_ptr in libIrrlicht.a(AppDelegate.o)
      _NSApp$non_lazy_ptr in libIrrlicht.a(OSXClipboard.o)
  "_objc_msgSendSuper", referenced from:
      -[AppDelegate initWithDevice:] in libIrrlicht.a(AppDelegate.o)
  "_CFArrayApplyFunction", referenced from:
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFRelease", referenced from:
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFNumberGetValue", referenced from:
      addComponentInfo(void const*, JoystickComponent*, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      addComponentInfo(void const*, JoystickComponent*, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      addComponentInfo(void const*, JoystickComponent*, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      joystickTopLevelElementHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      joystickTopLevelElementHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      GetDictionaryLong(__CFDictionary const*, void const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSApplication", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSApplication in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_objc_msgSend_fpret", referenced from:
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_IOIteratorNext", referenced from:
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_IOMasterPort", referenced from:
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFStringGetSystemEncoding", referenced from:
      getJoystickDeviceInfo(unsigned int, __CFDictionary*, JoystickInfo*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_IOCreatePlugInInterfaceForService", referenced from:
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSBitmapImageRep", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSBitmapImageRep in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFGetTypeID", referenced from:
      joystickTopLevelElementHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayIDToOpenGLDisplayMask", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFBooleanGetValue", referenced from:
      GetDictionaryBoolean(__CFDictionary const*, void const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayPixelsHigh", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_SetSystemUIMode", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::~CIrrDeviceMacOSX()in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::~CIrrDeviceMacOSX()in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::~CIrrDeviceMacOSX()in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFUUIDGetUUIDBytes", referenced from:
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_objc_msgSend", referenced from:
      irr::CIrrDeviceMacOSX::closeDevice()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::closeDevice()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::closeDevice()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::closeDevice()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::closeDevice()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::storeMouseLocation()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::storeMouseLocation()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postMouseEvent(void*, irr::SEvent&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postMouseEvent(void*, irr::SEvent&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postMouseEvent(void*, irr::SEvent&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postMouseEvent(void*, irr::SEvent&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postMouseEvent(void*, irr::SEvent&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::setWindowCaption(wchar_t const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::setWindowCaption(wchar_t const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::isWindowFocused() const in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::isWindowMinimized() const in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::setMouseLocation(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::setResize(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CCursorControl::setPosition(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      -[AppDelegate orderFrontStandardAboutPanel:] in libIrrlicht.a(AppDelegate.o)
      -[AppDelegate unhideAllApplications:] in libIrrlicht.a(AppDelegate.o)
      -[AppDelegate hide:] in libIrrlicht.a(AppDelegate.o)
      -[AppDelegate hideOtherApplications:] in libIrrlicht.a(AppDelegate.o)
      -[AppDelegate windowDidResize:] in libIrrlicht.a(AppDelegate.o)
      _OSXCopyToClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyToClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyToClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyToClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyToClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyFromClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyFromClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyFromClipboard in libIrrlicht.a(OSXClipboard.o)
  "_CGMainDisplayID", referenced from:
      irr::CIrrDeviceMacOSX::setCursorVisible(bool)  in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CCursorControl::setVisible(bool)  in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayPixelsWide", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFDictionaryGetTypeID", referenced from:
      joystickTopLevelElementHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      getJoystickComponentArrayHandler(void const*, void*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_IOServiceMatching", referenced from:
      irr::CIrrDeviceMacOSX::activateJoysticks(irr::core::array<irr::SJoystickInfo, irr::core::irrAllocator<irr::SJoystickInfo> >&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayCurrentMode", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayBounds", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_NSDefaultRunLoopMode", referenced from:
      _NSDefaultRunLoopMode$non_lazy_ptr in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayHideCursor", referenced from:
      irr::CIrrDeviceMacOSX::setCursorVisible(bool)  in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CCursorControl::setVisible(bool)  in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplaySwitchToMode", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayAvailableModes", referenced from:
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_objc_msgSend_stret", referenced from:
      irr::CIrrDeviceMacOSX::setResize(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::setResize(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      -[AppDelegate windowWillResize:toSize:] in libIrrlicht.a(AppDelegate.o)
      -[AppDelegate windowDidResize:] in libIrrlicht.a(AppDelegate.o)
  "_NSStringPboardType", referenced from:
      _NSStringPboardType$non_lazy_ptr in libIrrlicht.a(OSXClipboard.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
Another application that I wrote, which doesn't use any graphics but just some Irrlicht class, still works smoothly with the new version of the library.

Cheers,
Fabio
fabietto
Posts: 93
Joined: Wed Sep 24, 2008 4:38 pm
Location: Plymouth, UK
Contact:

Post by fabietto »

I can get a few less errors after recompiling Irrlicht having previously disabled the infamous IRR_COMPILE_WITH_JOYSTICK_EVENTS definition, but I still experience a lot of those... :-/

Code: Select all

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)
  "_CGDisplayShowCursor", referenced from:
      irr::CIrrDeviceMacOSX::setCursorVisible(bool)  in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CCursorControl::setVisible(bool)  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)
  "_CGWarpMouseCursorPosition", referenced from:
      irr::CIrrDeviceMacOSX::setMouseLocation(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CCursorControl::setPosition(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "___CFConstantStringClassReference", referenced from:
      cfstring=BitsPerPixel in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=kCGDisplayModeIsSafeForHardware in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=kCGDisplayModeIsStretched in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=Width in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=Height in libIrrlicht.a(CIrrDeviceMacOSX.o)
      cfstring=MainMenu in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayBestModeForParameters", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSArray", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSArray in libIrrlicht.a(OSXClipboard.o)
  "_NSCalibratedRGBColorSpace", referenced from:
      _NSCalibratedRGBColorSpace$non_lazy_ptr in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFArrayGetValueAtIndex", referenced from:
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSWindow", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSWindow in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSPasteboard", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSPasteboard in libIrrlicht.a(OSXClipboard.o)
  ".objc_class_name_NSEvent", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSEvent in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFDictionaryGetValue", referenced from:
      GetDictionaryBoolean(__CFDictionary const*, void const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      GetDictionaryLong(__CFDictionary const*, void const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSOpenGLContext", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSOpenGLContext in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSOpenGLPixelFormat", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSOpenGLPixelFormat in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_NSApp", referenced from:
      _NSApp$non_lazy_ptr in libIrrlicht.a(CIrrDeviceMacOSX.o)
      _NSApp$non_lazy_ptr in libIrrlicht.a(AppDelegate.o)
      _NSApp$non_lazy_ptr in libIrrlicht.a(OSXClipboard.o)
  "_objc_msgSendSuper", referenced from:
      -[AppDelegate initWithDevice:] in libIrrlicht.a(AppDelegate.o)
  "_CFNumberGetValue", referenced from:
      GetDictionaryLong(__CFDictionary const*, void const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSApplication", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSApplication in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_objc_msgSend_fpret", referenced from:
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
  ".objc_class_name_NSBitmapImageRep", referenced from:
      literal-pointer@__OBJC@__cls_refs@NSBitmapImageRep in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayIDToOpenGLDisplayMask", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CFBooleanGetValue", referenced from:
      GetDictionaryBoolean(__CFDictionary const*, void const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayPixelsHigh", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_SetSystemUIMode", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::~CIrrDeviceMacOSX()in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::~CIrrDeviceMacOSX()in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::~CIrrDeviceMacOSX()in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_objc_msgSend", referenced from:
      irr::CIrrDeviceMacOSX::closeDevice()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::closeDevice()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::closeDevice()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::closeDevice()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::closeDevice()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::storeMouseLocation()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::storeMouseLocation()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postMouseEvent(void*, irr::SEvent&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postMouseEvent(void*, irr::SEvent&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postMouseEvent(void*, irr::SEvent&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postMouseEvent(void*, irr::SEvent&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postMouseEvent(void*, irr::SEvent&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::setWindowCaption(wchar_t const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::setWindowCaption(wchar_t const*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::isWindowFocused() const in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::isWindowMinimized() const in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::setMouseLocation(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::setResize(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::present(irr::video::IImage*, void*, irr::core::rect<int>*)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::postKeyEvent(void*, irr::SEvent&, bool)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::run()     in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CIrrDeviceMacOSX(irr::SIrrlichtCreationParameters const&)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CCursorControl::setPosition(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      -[AppDelegate orderFrontStandardAboutPanel:] in libIrrlicht.a(AppDelegate.o)
      -[AppDelegate unhideAllApplications:] in libIrrlicht.a(AppDelegate.o)
      -[AppDelegate hide:] in libIrrlicht.a(AppDelegate.o)
      -[AppDelegate hideOtherApplications:] in libIrrlicht.a(AppDelegate.o)
      -[AppDelegate windowDidResize:] in libIrrlicht.a(AppDelegate.o)
      _OSXCopyToClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyToClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyToClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyToClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyToClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyFromClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyFromClipboard in libIrrlicht.a(OSXClipboard.o)
      _OSXCopyFromClipboard in libIrrlicht.a(OSXClipboard.o)
  "_CGMainDisplayID", referenced from:
      irr::CIrrDeviceMacOSX::setCursorVisible(bool)  in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CCursorControl::setVisible(bool)  in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayPixelsWide", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayCurrentMode", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayBounds", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_NSDefaultRunLoopMode", referenced from:
      _NSDefaultRunLoopMode$non_lazy_ptr in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayHideCursor", referenced from:
      irr::CIrrDeviceMacOSX::setCursorVisible(bool)  in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::CCursorControl::setVisible(bool)  in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplaySwitchToMode", referenced from:
      irr::CIrrDeviceMacOSX::createWindow()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_CGDisplayAvailableModes", referenced from:
      irr::CIrrDeviceMacOSX::getVideoModeList()      in libIrrlicht.a(CIrrDeviceMacOSX.o)
  "_objc_msgSend_stret", referenced from:
      irr::CIrrDeviceMacOSX::setResize(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      irr::CIrrDeviceMacOSX::setResize(int, int)in libIrrlicht.a(CIrrDeviceMacOSX.o)
      -[AppDelegate windowWillResize:toSize:] in libIrrlicht.a(AppDelegate.o)
      -[AppDelegate windowDidResize:] in libIrrlicht.a(AppDelegate.o)
  "_NSStringPboardType", referenced from:
      _NSStringPboardType$non_lazy_ptr in libIrrlicht.a(OSXClipboard.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Are you sure you use the correct library, all necessary frameworks, and the proper headers?
fabietto
Posts: 93
Joined: Wed Sep 24, 2008 4:38 pm
Location: Plymouth, UK
Contact:

Post by fabietto »

hybrid wrote:Are you sure you use the correct library, all necessary frameworks, and the proper headers?
The application was working alright using Irrlicht 1.5.1. And, as I mentioned before, another application I wrote which also uses Irrlicht (but without actually creating an IrrlichtDevice) runs smoothly with the updated version of the library.

I've tried to compile the application both via G++ and XCode, in both cases automatically creating the makefile/XCode project starting from a Qt .pro file. In this way I usually don't have to care too much about the frameworks/headers, that are specified within the .pro file and then used for building the makefile/XCode project. I'm not using Irrlicht as a framework, but just as a static library, which I've compiled in release mode.
Auria
Competition winner
Posts: 120
Joined: Wed Feb 18, 2009 1:11 am
Contact:

Post by Auria »

You probably need to add AppKit and/or Carbon and/or Cocoa or a few others like that; that should then do it

In our app, we have

Code: Select all

/System/Library/Frameworks/AGL.framework
/Library/Frameworks/Ogg.framework
/Library/Frameworks/OpenAL.framework
/Library/Frameworks/Vorbis.framework
/System/Library/Frameworks/IOKit.framework
/System/Library/Frameworks/QuickTime.framework
/System/Library/Frameworks/Carbon.framework
/System/Library/Frameworks/AudioUnit.framework
/System/Library/Frameworks/GLUT.framework
/System/Library/Frameworks/Cocoa.framework
/System/Library/Frameworks/OpenGL.framework
Some of these are for audio so not related to irrLicht, but I guess you can get ideas what to try from there
fabietto
Posts: 93
Joined: Wed Sep 24, 2008 4:38 pm
Location: Plymouth, UK
Contact:

Post by fabietto »

Auria wrote:You probably need to add AppKit and/or Carbon and/or Cocoa or a few others like that; that should then do it

In our app, we have

Code: Select all

/System/Library/Frameworks/AGL.framework
/Library/Frameworks/Ogg.framework
/Library/Frameworks/OpenAL.framework
/Library/Frameworks/Vorbis.framework
/System/Library/Frameworks/IOKit.framework
/System/Library/Frameworks/QuickTime.framework
/System/Library/Frameworks/Carbon.framework
/System/Library/Frameworks/AudioUnit.framework
/System/Library/Frameworks/GLUT.framework
/System/Library/Frameworks/Cocoa.framework
/System/Library/Frameworks/OpenGL.framework
Some of these are for audio so not related to irrLicht, but I guess you can get ideas what to try from there
I'll try to have a look into it. Thanks for the hint, Auria... :)
fabietto
Posts: 93
Joined: Wed Sep 24, 2008 4:38 pm
Location: Plymouth, UK
Contact:

Post by fabietto »

Ok, problem fixed. It looks like that wasn't an issue related to Irrlicht at all, so I apologise for that. While updating Irrlicht I also updated the Qt version running on my dev machines to the latest 4.6. Now the Makefiles/Xcode projects generated by QMake don't include anymore by default the references to Carbon and Cocoa frameworks. They must be specified by hand within the Qt project file. I post here the contents of the .pro file I'm using, in case it might be helpful to somebody.

Code: Select all

TEMPLATE = app
TARGET =
DEPENDPATH += .

# OpenGL and XML Qt Frameworks
QT += opengl
QT += xml

# MacOS/Linux
macx {

	# Libraries
	INCLUDEPATH += /usr/local/include/
	LIBS += /usr/local/lib/libnnfw.a
	LIBS += /usr/local/lib/libIrrlicht.a
	
	#Frameworks
	LIBS += -framework Carbon
	LIBS += -framework Cocoa
	
}

# Windows
win32 {

	# Libraries
	INCLUDEPATH += "C:\Program Files\NNFW 1.1.3\include"
	INCLUDEPATH += "C:\Program Files\irrlicht-1.4.2\include"
	LIBS += "C:\Program Files\NNFW 1.1.3\bin\nnfw_single.lib"
	LIBS += "C:\Program Files\irrlicht-1.4.2\lib\Win32-visualstudio\libIrrlicht.dll"


}

# Input files
SOURCES +=  main.cpp \
			simulatorEngine.cpp \
			team.cpp \
			mav.cpp \
			nn.cpp \
			target.cpp \
			irrlichtGUI.cpp \
			eventReceiver.cpp

HEADERS +=  simulatorEngine.h \
			team.h \
			mav.h \
			nn.h \
			target.h \
			simulationParameters.h \
			irrlichtGUI.h \
			eventReceiver.h

# Application configuration
CONFIG += qt warn_off release

# Application icon
ICON = icon.icns
Post Reply