MacCommonErrors         Solutions to various Mac OS X specific build errors

Errors with frameworks

dyld: Library not loaded: @executable_path/../Frameworks/Ogre.framework/Versions/A/Ogre
  Referenced from: /Users/xyz/Projects/ogrenew/Mac/XCode/Samples/build/BezierPatch.app/Contents/MacOS/BezierPatch
  Reason: image not found

BezierPatch has exited due to signal 5 (SIGTRAP).


or

2005-08-29 22:40:54.058 Water[4172] -[OgreConfigWindowController loadWindow]: failed to load window nib file '/Library/Frameworks/Ogre.framework/Versions/A/Resources/OgrePlatform.bundle/Contents/Resources/config.nib'.
2005-08-29 22:40:54.059 Water[4172] -[OgreConfigWindowController loadWindow]: failed to load window nib file '/Library/Frameworks/Ogre.framework/Versions/A/Resources/OgrePlatform.bundle/Contents/Resources/config.nib'.
2005-08-29 22:40:54.060 Water[4172] -[OgreConfigWindowController loadWindow]: failed to load window nib file '/Library/Frameworks/Ogre.framework/Versions/A/Resources/OgrePlatform.bundle/Contents/Resources/config.nib'.
2005-08-29 22:40:54.060 Water[4172] *** Assertion failure in -[SDLApplication _commonBeginModalSessionForWindow:relativeToWindow:modalDelegate:didEndSelector:contextInfo:], AppKit.subproj/NSApplication.m:2763
2005-08-29 22:40:54.061 Water[4172] Exception raised during posting of notification.  Ignored.  exception: Modal session requires modal window


Solution :

You may have your frameworks in the wrong place. Move them like this :

In ~/Library/Frameworks :

  • CG
  • Ogre
  • SDL
  • zzip


In /Library/Frameworks :

  • IL