[Insight-users] Fwd: create a VTK project under Xcode on Mac Os X

Francesco Pasqualini docfra81 at gmail.com
Fri Mar 9 17:41:24 EST 2007


this is my step by step procedure:

Start from the folder

/Kitware

where I create /VTKsrc and /VTKbin folders.

in VTKsrc I put the file I downloaded from the site.

then I go in /Kitware/VTKbin and type

cmake /Kitware/VTK

then

ccmake .

and finally  a couple of instruction

make
sudo make install


now, If I want to build some new project, named NEW, ubicate in the  
folder /Kitware/project, I've to go to /Kitware/project/NEW and write  
down cmake -G Xcode /Kitware/VTK.
this create a blank project where I can, FINALLY, put my code and be  
happy?!

it is correct?

thanks
Francesco

Il giorno 09/mar/07, alle ore 22:45, Sylvain Jaume ha scritto:

> Hi Francesco,
>
> Try cmake <path_to_your_source_dir> -GXcode
> Open the file <your_project>.xcodeproj with Xcode and compile.
>
> HTH
> Sylvain
>
> Francesco Pasqualini wrote:
>>> Hi guys,
>>> here I'm again.
>>> I can't be able to run any of my teacher working examples, also  
>>> if I followed the tutorial you indicate to me.
>>> So I think that my problem is the creation of the project under  
>>> mac Os X Xcode.
>>> I have to follow any specific procedure? I've to cross compile  
>>> the project too?
>>>
>>> can you give me some help?
>>>
>>> thanks in advance
>>> Francesco
>>>
>> _______________________________________________
>> Insight-users mailing list
>> Insight-users at itk.org
>> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list