[Insight-users] Using ITK

Luis Ibanez luis.ibanez at kitware.com
Fri May 30 11:43:12 EDT 2008


Hi Alexandre,


In order to install ITK  you do the following:


a) Configure with CMake and put in the variable

             CMAKE_INSTALL_PREFIX

    the directory where you want to install ITK.


b) use the commands

              make
              make install


Once you have installed ITK in a directory,

then you edit your existing XCode project
and add to it the directories

 >>    intalldir/InsightToolkit/Common
 >>    intalldir/InsightToolkit/BasicFilters
 >>    intalldir/InsightToolkit/Algorithms
 >>    intalldir/InsightToolkit/IO
 >>
 >>...etc...



I'm assuming that what you wanted to do is to
not have to use CMake for configuring the XCode
project of your final application.


Maybe I'm missing the point...



    Please let me knonw,


       Thanks



          Luis


---------------------------
alexandre govignon wrote:
> thanks for reply...
> 
> but i m not sur to understand..
> 
> in a first time, i have to compile with cmake?? Like a normal
> installation... and when it s done?
> 
> What i have to do exactly?
> 
> 2008/5/30 Luis Ibanez <luis.ibanez at kitware.com>:
> 
>>Hi Alexandre,
>>
>>Something that may help you do this easier is to first
>>install ITK.
>>
>>Then you will have to add the directories where the headers
>>are:
>>
>>    intalldir/InsightToolkit/Common
>>    intalldir/InsightToolkit/BasicFilters
>>    intalldir/InsightToolkit/Algorithms
>>    intalldir/InsightToolkit/IO
>>
>>...etc...
>>
>>This is an annoying task...
>>but you only have to do it once.
>>
>>
>>We probably should change the installation of ITK
>>for copying all the header files in a single directory
>>instead of recreating the hierarchy of the source tree...
>>
>>
>>
>>   Regards,
>>
>>
>>      Luis
>>
>>
>>--------------------------
>>alexandre govignon wrote:
>>
>>>I have a big problem
>>>
>>>All what i want in ITK work well... BUT it appears that i m not sure
>>>there is solution if i want to include ITK headers in a pre existing
>>>Xcode project... Can you help me?
>>>
>>>I think it wouldn't be a problem if i would not use Cocoa framework in
>>>the pre existing project... So Are there others ways to use ITK
>>>library in a project than with cmake and Xcode generation??
>>>
>>>
>>>Thanks for reply,
>>>kind regards,
>>>Alexandre Govignon.
>>>_______________________________________________
>>>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