[CMake] Using Bundle Utilities on an OS X Command line Tool
Michael Jackson
mike.jackson at bluequartz.net
Thu Sep 22 09:06:13 EDT 2011
I am trying to figure out how to possibly use BundleUtilities.cmake to fix up a "Unix" type install versus a .app bundle. In my situation I would like the following layout (Simplified)
DREAM3D/bin/MyExecutable
DREAM3D/lib/libHDF5.dylib
DREAM3D/lib/libSupport.dylib
When I run BundleUtlities I get an error that says:
#------------ Starting OS X Tool Fixup --------------------------
-- fixup_bundle
-- app='/Users/Shared/Toolkits/DREAM.3D/tools/H5VoxelToVtk'
-- libs=''
-- dirs='/Users/mjackson/Workspace/DREAM3D/zRel/Bin;/Users/mjackson/Workspace/DREAM3D/zRel/Bin'
-- fixup_bundle: preparing...
-- fixup_bundle: copying...
-- 1/12: *NOT* copying '/Users/Shared/Toolkits/DREAM.3D/tools/H5VoxelToVtk'
-- 2/12: copying '/Users/Shared/Toolkits/hdf5-187/lib/libhdf5.1.8.7.dylib'
-- 3/12: copying '/Users/mjackson/Workspace/DREAM3D/zRel/Bin/libEbsdLib.dylib'
-- 4/12: copying '/Users/mjackson/Workspace/DREAM3D/zRel/Bin/libH5Support.dylib'
-- 5/12: copying '/Users/mjackson/Workspace/DREAM3D/zRel/Bin/libMXADataModel.dylib'
-- 6/12: copying '/Users/mjackson/Workspace/DREAM3D/zRel/Bin/libDREAM3DLib.dylib'
-- fixup_bundle: fixing...
-- 7/12: fixing up '/Users/Shared/Toolkits/DREAM.3D/tools/H5VoxelToVtk'
-- 8/12: fixing up '/Users/Shared/Toolkits/DREAM.3D/lib/libhdf5.1.8.7.dylib'
exe_dotapp_dir/='/Users/Shared/Toolkits/DREAM.3D/tools/'
item_substring='/Users/Shared/Toolkits/DREAM.3D/lib/li'
resolved_embedded_item='/Users/Shared/Toolkits/DREAM.3D/lib/libhdf5.1.8.7.dylib'
Install or copy the item into the bundle before calling fixup_bundle.
Or maybe there's a typo or incorrect path in one of the args to fixup_bundle?
CMake Error at /Users/Shared/Toolkits/CMake-2.8.5/CMake-2.8-5.app/Contents/share/cmake-2.8/Modules/BundleUtilities.cmake:568 (message):
cannot fixup an item that is not in the bundle...
Call Stack (most recent call first):
/Users/Shared/Toolkits/CMake-2.8.5/CMake-2.8-5.app/Contents/share/cmake-2.8/Modules/BundleUtilities.cmake:656 (fixup_bundle_item)
Tools/OSX_Scripts/H5VoxelToVtk_CompleteTool.cmake:86 (fixup_bundle)
Tools/cmake_install.cmake:47 (INCLUDE)
cmake_install.cmake:36 (INCLUDE)
make: *** [install] Error 1
I am hoping I am just not specifying something correctly in bundle Utilities? This is with CMake 2.8.5 on OS X 10.6.8.
Thanks for any help or pointers to other examples.
___________________________________________________________
Mike Jackson www.bluequartz.net
Principal Software Engineer mike.jackson at bluequartz.net
BlueQuartz Software Dayton, Ohio
More information about the CMake
mailing list