[vtkusers] CPack CMake and XCode to make an program installer on OS X? How?

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Wed Aug 23 09:12:20 EDT 2006


On Wed, 23 Aug 2006 15:06:05 +0200, Dan White <dan at chalkie.org.uk> wrote:

> Hi Gaetan
>
> thanks
> I'll take a look.
>
> what is the output of the procedure?
>
> and OS X .mpkg  or something?
>

a .pkg file (WrapITK-0.2.1-Darwin.pkg)
I don't know if that's the same thing than a .mpkg (I'm still a mac os x  
newbie)

Gaetan


> cheers
>
> Dan
>
> On Aug 23, 2006, at 3:14 PM, Gaetan Lehmann wrote:
>
>>
>> Hi Dan,
>>
>> I have used cpack to package WrapITK on mac os x, and it was incredibly  
>> simple.
>> Here are the only changes needed:
>>
>> http://voxel.jouy.inra.fr/darcsweb/darcsweb.cgi? 
>> r=WrapITK;a=filediff;h=20060810111842-2fc9d- 
>> b41ba917ceb906e948423cc0c3f9ec5cd00c8b5c.gz;f=CMakeLists.txt
>>
>> All what you have to to is to install the files with cmake. They will  
>> be cpacked when you will run "make package". There is no need to use  
>> xcode gui or xcode-build.
>>
>> That being said, I let to the user the task to properly set his  
>> PYTHONPATH and DYDL_LIBRARY_PATH, and there is no program to run in  
>> WrapITK - that's only a python lib -, so you may need a more complex  
>> cpack config.
>>
>> Gaetan
>>
>>
>> On Wed, 23 Aug 2006 13:52:15 +0200, Dan White <dan at chalkie.org.uk>  
>> wrote:
>>
>>> Hi All OSX CMakers (Sean McBride in particular???)
>>>
>>> I see from the CMake Wiki there is a new packaging feature in
>>> CMake called CPack which on OSX needs Xcode.
>>>
>>> I have been searching for information on how to use this, but all I  
>>> really found was
>>> the CMake Wiki, which doesnt give enough basic instructions for me to  
>>> understand how to use it,
>>> or understand what is going on.
>>>
>>> We have been trying to package our VTK/Python application
>>> BioImageXD
>>> http://www.bioimagexd.org
>>> on OSX using py2app, but without success as we need to teach py2app
>>> some new tricks about how to understand VTK python wrappings and
>>> some things about install names of .dylbs.
>>>
>>> I wonder what I need to do to be able to use
>>> CPack to make an OSX installer for BioImageXD?
>>>
>>> Does anyone have any experience doing that for a python program using  
>>> python wrapped VTK?
>>>
>>> Does CPack use Xcode to make an normal OS X installer package (.mpkg?)
>>>
>>> Also do I need to get my VTK build going in XCode?
>>> If so any basic instructions to do that? Where does CMake come into  
>>> that process?
>>>
>>> Any help gratefully received!
>>>
>>> cheers
>>>
>>> Dan
>>>
>>>
>>> Dr. Daniel James White BSc. (Hons.) PhD
>>> Bioimaging Coordinator
>>> Nanoscience Centre and Department of Biological and Environmental  
>>> Sciences
>>> Division of Molecular Recognition
>>> Ambiotica C242
>>> PO Box 35
>>> University of Jyväskylä
>>> Jyväskylä
>>> FIN 40014
>>> Finland
>>>
>>> +358 14 260 4183 (work)
>>> +358 468102840 (mobile)
>>> http://www.bioimagexd.org
>>> http://www.chalkie.org.uk
>>> dan at chalkie.org.uk
>>> white at cc.jyu.fi
>>>
>>>
>>> _______________________________________________
>>> This is the private VTK discussion list.
>>> Please keep messages on-topic. Check the FAQ at: http:// 
>>> www.vtk.org/Wiki/VTK_FAQ
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>>
>> --Gaëtan Lehmann
>> Biologie du Développement et de la Reproduction
>> INRA de Jouy-en-Josas (France)
>> tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
>> http://voxel.jouy.inra.fr
>
> Dr. Daniel James White BSc. (Hons.) PhD
> Bioimaging Coordinator
> Nanoscience Centre and Department of Biological and Environmental  
> Sciences
> Division of Molecular Recognition
> Ambiotica C242
> PO Box 35
> University of Jyväskylä
> Jyväskylä
> FIN 40014
> Finland
>
> +358 14 260 4183 (work)
> +358 468102840 (mobile)
> http://www.bioimagexd.org
> http://www.chalkie.org.uk
> dan at chalkie.org.uk
> white at cc.jyu.fi
>



-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr



More information about the vtkusers mailing list