[Paraview] Build .app bundle on Mac OS X
Michael Wild
themiwi at gmail.com
Wed Apr 2 10:20:34 EDT 2008
Thanks, this worked, at least partially. I do get the .app with the
frameworks included, but unfortunately, the install_name's of the
libraries in the MacOS directory are the ones in the build tree, and
not something like @executable_path/libxxx.dylib. I fixed this with:
cd paraview-3.3.0/paraview.app/Contents/MacOS
for l in *.dylib paraview; do for f in $(otool -L $l | grep
"something_matching_your_build_dir" | awk '{print $1}'); do
ff=@executable_path/$(basename $f); install_name_tool -change $f $ff
$l; done; done
Michael
On 2Apr, 2008, at 14:28, Mike Jackson wrote:
> If you do a "make install" the .app bundle should be built and
> include Qt and Python properly. There is some ongoing work to make
> this smoother but it should work with the current cvs, although I
> have not tried recently.
>
>
> David Cole and myself were working on some new scripts but I don't
> think the scripts are ready for "prime time" yet. They do work on my
> particular setup, which is OS X 10.4.11 with Qt 4.3.4 as Frameworks.
> Python should be included on each OS X installation and there is
> some concern about including it in the app bundle that we have not
> worked out yet.
>
> David can chime in with some more info..
>
> --
> Mike Jackson Senior Research Engineer
> Innovative Management & Technology Services
>
>
> On Apr 2, 2008, at 8:08 AM, Michael Wild wrote:
>> Hi all
>>
>> I have trouble building a Mac OS X app bundle of ParaView CVS.
>>
>> I can't seem to find any way to get CMake/CPack to include the Qt
>> and Python frameworks in the .app bundle. However, I do not want to
>> require that my users install a full Qt. When I download the
>> current ParaView beta .dmg (3.2.0) and look inside paraview.app,
>> the frameworks are included, so there must be a way to achieve this
>> (and I hope it is not doing it manually and fixing all dependencies
>> up with install_name_tool, that would be a pain!).
>>
>> I'd welcome any pointers in the right direction.
>>
>> Regards
>>
>> Michael
>>
>> BTW: I'm using CMake CVS.
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list