[CMake] Changes made for Mac fixup_bundle

Clinton Stimpson clinton at elemtech.com
Tue Oct 22 17:02:07 EDT 2013


Is this a typo?
 item_substring='/Users/foo/build /install/MacO'

Can you please post the arguments you are passing to fixup_bundle()?  The 
arguments are also printed out, for example:
 fixup_bundle
   app='/.../cmake/build/Tests/BundleUtilities/testdir2/testbundleutils2'
   libs='/.../cmake/build/Tests/BundleUtilities/testdir2/module2.so'
   dirs='/.../cmake/build/Tests/BundleUtilities'

Clint

On Tuesday, October 22, 2013 05:16:20 PM Yoon, Jong Seo wrote:
> Hi Everyone,
> 
> I have a question regarding the changes cmake changes from 2.8.3 to 2.8.4
> and above.
> 
> I am getting this error when I try to make a dmg file for Mac using cmake
> 2.8.11.2.
> 
> exe_dotapp_dir/='/Users/foo/build/install/bin/'
> item_substring='/Users/foo/build /install/MacO'
> resolved_embedded_item='/Users/foo/build/install/MacOS/libITKBasicFilters.3.
> 20.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/foo/build/install/cmake/share/cmake-2.8/Modules/BundleUtilities.cmak
> e:568 (message): cannot fixup an item that is not in the bundle...
> Call Stack (most recent call first):
> /Users/foo/build/install/cmake/share/cmake-2.8/Modules/BundleUtilities.cmake
> :656 (fixup_bundle_item) /Users/foo/build/bingcc/cmake_install.cmake:39
> (fixup_bundle)
> 
> The package I am trying to build works for cmake 2.8.3, but the error
> message above shows up when I try to build it with cmake 2.8.4 and above.
> Was there any changes to fixup_bundle from cmake 2.8.3 to cmake 2.8.4?
> 
> Can anyone tell me what the error means?
> 
> I am making this package with itk 3.20.1, vtk 5.6.1, and qt 4.8.4.
> 
> Thank you so much for your help!
> 
> Sincerely,
> 
> Jong



More information about the CMake mailing list