[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] Changes made for Mac fixup_bundle
From:       "Yoon, Jong Seo" <JongSeo.Yoon () childrens ! harvard ! edu>
Date:       2013-10-23 16:07:01
Message-ID: F7654F2E5E03A947B0A68B0EE49949EF69666A () CHEXMBX4A ! CHBOSTON ! ORG
[Download RAW message or body]

The command I pass to fixup_bundle is

fixup_bundle(\"${APPS}\" \"\${QTPLUGINS}\" \"${LIBRARY_DIRS}\")

The arguments printed out is

APPS =   /Users/jongseoyoon/jsy/crkit/builds/release-1.6_build_2.8.3_2nd/crkit_build/install/bin/TestApp
 QTPLUGINS =   
LIBRARY_DIRS =   /Users/foo/build/install/itk/lib/InsightToolkit/Users/foo/build/insta \
ll/vtk/lib/vtk-5.6/Users/foo/build/install/qt-4.8.4/Users/foo/build/install/Frameworks \
/vtk-5.6.1/lib//Users/foo/build/install/Frameworks/qt-4.8.4/lib/Users/foo/build/install/Frameworks/InsightToolkit


The QTPLUGINS are empty for both cmake 2.8.3 and cmake 2.8.11.2.
I don't use QTPLUGINS, but does this need to be not empty?

Regarding the item_substring, that is not a typo. It does come out that way, and I \
tried to find where that is occurring, but I couldn't. Could that be the reason by \
it's failing to execute fixup_bundle?

Thank you so much for helping me out!

Sincerely,

Jong

-----Original Message-----
From: Clinton Stimpson [mailto:clinton@elemtech.com] 
Sent: Tuesday, October 22, 2013 5:02 PM
To: cmake@cmake.org
Cc: Yoon, Jong Seo
Subject: Re: [CMake] Changes made for Mac fixup_bundle


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

--

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic