[Insight-users] Using ITK
Luis Ibanez
luis.ibanez at kitware.com
Sun Jun 1 11:53:24 EDT 2008
Hi Alexandre,
Please post to the list the *exact* error message that you are getting.
It is very hard to help you solve a problem if we don't have access to
the original error message.
Thanks
Luis
--------------------------
alexandre govignon wrote:
> hi Luis ,
>
> i m sorry but i think that there is a more important error, it's about
> vnl library... i think it's not built correctly when i build ITK...
> Actually it looks for somme vnl library...
>
> Do you know this bug?
>
> 2008/5/31 alexandre govignon <govignon.alexandre at gmail.com>:
>
>>when i build my own project...
>>
>>2008/5/30 Luis Ibanez <luis.ibanez at kitware.com>:
>>
>>>Hi Alexandre,
>>>
>>>"clock_t" is defined in #include <time.h>
>>>http://www.gnu.org/software/libtool/manual/libc/CPU-Time.html
>>>
>>>Are you seing this as an error
>>>
>>> a) when building your project ?
>>>
>>> or
>>>
>>> b) as an error when building ITK ?
>>>
>>>
>>>---
>>>
>>>Case (b) shouldn't happen,...
>>>
>>>Case (a) will be solved by including time.h
>>>
>>>If you still find problems, please post to the
>>>list a full error message.
>>>
>>>
>>> Thanks,
>>>
>>>
>>> Luis
>>>
>>>
>>>----------------------------
>>>alexandre govignon wrote:
>>>
>>>>I think it's the good solution but know i have probleme with ctime, do
>>>>you know this bug? some variables aren't recognized (clock_t for
>>>>example)
>>>>
>>>>2008/5/30 Luis Ibanez <luis.ibanez at kitware.com>:
>>>>
>>>>
>>>>>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
>>>>>>>>
>>>>>>>
>>>>>>
>>>>
>>>>
>>
>>
>>--
>>Cordialement,
>>Alexandre Govignon.
>>
>
>
>
>
More information about the Insight-users
mailing list