I think you need to feed BundleUtilities another argument that lists where to 
find the ogre frameworks. I think.
___________________________________________________________
Mike Jackson                    Principal Software Engineer
BlueQuartz Software                            Dayton, Ohio
[email protected]              www.bluequartz.net

On Jan 24, 2012, at 1:53 PM, Nikolay Kasyanov wrote:

> Hi,
> I'm trying to use fixup_bundle on OS X.
> I had following problem with some of my dependencies (Ogre game engine & 
> OIS): they already have @executable_path in it (so, they already fixed up), 
> so in my executable there is no absolute path to library, so fixup_bundle 
> cannot find & copy Ogre's framework into bundle during fixup.
> 
> Here is otool output for Ogre.framework:
> otool -L /Library/Frameworks/Ogre.framework/Versions/1.7.3/Ogre
> /Library/Frameworks/Ogre.framework/Versions/1.7.3/Ogre:
>       @executable_path/../Frameworks/Ogre.framework/Versions/1.7.3/Ogre 
> (compatibility version 0.0.0, current version 1.7.3)
>       /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 
> (compatibility version 2.0.0, current version 152.0.0)
>       /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 
> (compatibility version 1.0.0, current version 15.0.0)
>       /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 
> 1.2.3)
>       /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
> version 7.9.0)
>       /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 
> 832.0.0)
>       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
> version 125.2.0)
>       /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 
> 227.0.0)
>       
> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 
> (compatibility version 150.0.0, current version 550.29.0)
>       /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 
> (compatibility version 300.0.0, current version 751.29.0)
>       /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 
> (compatibility version 45.0.0, current version 1038.32.0)
> 
> Here is otool output for my executable:
> otool -L OpenMW.app/Contents/MacOS/openmw 
> OpenMW.app/Contents/MacOS/openmw:
>       @executable_path/../Frameworks/Ogre.framework/Versions/1.7.3/Ogre 
> (compatibility version 0.0.0, current version 1.7.3)
>       @executable_path/../Frameworks/OIS.framework/Versions/A/OIS 
> (compatibility version 1.0.0, current version 1.0.0)
>       /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL 
> (compatibility version 1.0.0, current version 1.0.0)
>       /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 
> (compatibility version 2.0.0, current version 152.0.0)
>       /usr/X11/lib/libfreetype.6.dylib (compatibility version 13.0.0, current 
> version 13.2.0)
>       /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
> version 52.0.0)
>       /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
> version 125.2.11)
>       
> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 
> (compatibility version 150.0.0, current version 550.43.0)
>       
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
>  (compatibility version 1.0.0, current version 38.0.0)
> 
> Can it be solved somehow? 
> --
> 
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to