[Insight-users] Re: ITK

Luis Ibanez luis.ibanez@kitware.com
Thu May 20 19:26:28 EDT 2004


Hi Vidina,

Thanks for your additional details.

In that machine and under Windows the
build must take less than 20 minutes.

There is probably something wrong with
the configuration of your VisualStudio.

Have you used this compiler before for
building any large software in your
system ? (let's say VTK ?)

Do you get any messages as the build
process is in progress ?



    Luis


-----------------------
Vidina Monagas wrote:

> Hi,
> I build ITK without Testing and without Example.
> I work in a Pentium 4 at 1.6GHz, under Windows.
> 
> Thanks.
> 
> 
> ----- Original Message ----- 
> From: "Luis Ibanez" <luis.ibanez@kitware.com>
> To: "Vidina Monagas" <vidina@ctm.ulpgc.es>
> Cc: <Insight-users@itk.org>
> Sent: Thursday, May 20, 2004 2:52 PM
> Subject: Re: ITK in Slicer
> 
> 
> 
>>Hi Vidina,
>>
>>Are you by any chance working in a Sun Workstation ?
>>
>>This is probably the only platform where compiling
>>ITK may take that much time...
>>
>>When you build ITK without Testing and without Example,
>>it should take about 15 minutes. E.g. in a common
>>Pentium 4 at 2Ghz, under Linux and/or Windows
>>
>>
>>Please let us know more information about your machine
>>so we can help you.
>>
>>
>>   Thanks
>>
>>
>>     Luis
>>
>>
>>-----------------------
>>Vidina Monagas wrote:
>>
>>
>>>Hi Luis,
>>>
>>>I built ITK for Release correctly.
>>>
>>>When I try to build ITK for Debug, Why it takes so many hours? I need to
> 
> add
> 
>>>ITK in Slicer and It only recognizes Debug versions not release.
>>>
>>>Thanks in advance.
>>>Vidina
>>>
>>>
>>>----- Original Message ----- 
>>>From: "Luis Ibanez" <luis.ibanez@kitware.com>
>>>To: "Vidina Monagas" <vidina@ctm.ulpgc.es>
>>>Cc: <Insight-users@itk.org>
>>>Sent: Friday, April 30, 2004 3:15 PM
>>>Subject: The easy way to wrap.
>>>
>>>
>>>
>>>
>>>>Hi Vidina,
>>>>
>>>>
>>>>Here is the easy way to build ITK:
>>>>
>>>>1) Run CMake
>>>>   Disable TESTING,
>>>>   Disable EXAMPLES
>>>>   Disable WRAPPING
>>>>   Enable  SHARED libraries
>>>>   configure in this way.
>>>>
>>>>
>>>>2) Open the Workspace in Visual Studio
>>>>   Select ALL_BUILD
>>>>   Select build for Release
>>>>   Build the project
>>>>   It should take 15 minutes
>>>>
>>>>
>>>>3) Download CableSwig
>>>>   and put it in the Utilities
>>>>   Subdirectory of ITK.
>>>>   It will look like:
>>>>
>>>>   Insight/Utilities/CableSwig
>>>>
>>>>   By doing this, CableSwig will be
>>>>   built along with ITK.
>>>>
>>>>
>>>>4) Close the ITK workspace,
>>>>   Re-run CMake
>>>>   Enable Wrapping (for the scripting
>>>>   language you are interested on).
>>>>   configure this way.
>>>>
>>>>
>>>>5) Open the ITK Workspace
>>>>   Select ALL_BUILD
>>>>   Select build for Release
>>>>   build the project
>>>>   This time it will take
>>>>   about 1.5 hours.
>>>>
>>>>
>>>>Please let us know if you still find
>>>>any problems,
>>>>
>>>>
>>>>   Thanks
>>>>
>>>>
>>>>
>>>>     Luis
>>>>
>>>>
>>>>---------------------
>>>>Vidina Monagas wrote:
>>>>
>>>>
>>>>>Should I compile CableSwig before ITK?
>>>>>
>>>>>----- Original Message ----- 
>>>>>From: "Luis Ibanez" <luis.ibanez@kitware.com>
>>>>>To: "Vidina Monagas" <vidina@ctm.ulpgc.es>
>>>>>Cc: <Insight-users@itk.org>
>>>>>Sent: Friday, April 30, 2004 12:18 AM
>>>>>Subject: Re: 24 hours is too long :-)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Hi Vidina,
>>>>>>
>>>>>>The compilation should not take 24 hours,   :-)
>>>>>>
>>>>>>There is definitely something wrong.
>>>>>>
>>>>>>The typical ITK build should take 15 minutes,
>>>>>>when you disable Testing and Examples.
>>>>>>
>>>>>>Did you changed any of the CMake default
>>>>>>options when you configured ITK ?
>>>>>
>>>>>
>>>>>
>>>>>>Or did you make any changes to the workspace
>>>>>>file after loading it in Visual Studio ?
>>>>>>
>>>>>>I didn't see anything strange in your
>>>>>>CMakeCache.txt...
>>>>>>
>>>>>>Do you have other versions of VisualStudio
>>>>>>installed in the same machine ?
>>>>>>
>>>>>>Do you trust your VisualStudion installation ?
>>>>>>(that is, have you used for building any
>>>>>>serious-size project ? )
>>>>>>
>>>>>>
>>>>>>I would suggest you to delete the binary
>>>>>>directory where you are attempting this
>>>>>>build, and restart from scratch.
>>>>>>
>>>>>>Please follow the instruction in the tutorials
>>>>>>
>>>>>>  http://www.itk.org/HTML/Tutorials.htm
>>>>>>
>>>>>>Let us know if you still have any problems,
>>>>>>
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>>   Luis
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>
>>
>>
>>
> 
> 






More information about the Insight-users mailing list