[Insight-users] *** GMX Spamverdacht *** Re: Compile problems

Matt McCormick matt.mccormick at kitware.com
Mon Dec 3 17:44:24 EST 2012


Hi Paul,

You must be experiencing this with Git master.  Please consider
reviewing this patch:

  http://review.source.kitware.com/#/c/8786/

Thanks,
Matt

On Fri, Nov 30, 2012 at 10:23 AM, Paul Spamman <peterspamspam at gmx.de> wrote:
> Hi Matt,
>
> with ITK_WRAP_PYTHON=NO compilation works. With ITK_WRAP_PYTHON=YES and only ITK_WRAP_unsigned_char or even no data types enabled, compilation aborts with
>
> [ 46%] Generating itkCompositeTransformPython.cpp, ../../../lib/itkCompositeTransformPython.py
> /tmp/ITK_Compile/Wrapping/Typedefs/itkCompositeTransform.i:95: Warning 401: Nothing known about base class 'itk::MultiTransformBase< double,2u,2u >'. Ignored.
> /tmp/ITK_Compile/Wrapping/Typedefs/itkCompositeTransform.i:95: Warning 401: Maybe you forgot to instantiate 'itk::MultiTransformBase< double,2u,2u >' using %template.
> /tmp/ITK_Compile/Wrapping/Typedefs/itkCompositeTransform.i:185: Warning 401: Nothing known about base class 'itk::MultiTransformBase< double,3u,3u >'. Ignored.
> /tmp/ITK_Compile/Wrapping/Typedefs/itkCompositeTransform.i:185: Warning 401: Maybe you forgot to instantiate 'itk::MultiTransformBase< double,3u,3u >' using %template.
> make[2]: *** [Wrapping/Modules/ITKTransform/itkCompositeTransformPython.cpp] Error 4
> make[1]: *** [Wrapping/Modules/ITKTransform/CMakeFiles/ITKTransformPython.dir/all] Error 2
>
>
> :-(
>
> Peter.
>
>
> -------- Original-Nachricht --------
>> Datum: Thu, 29 Nov 2012 15:15:38 +0000
>> Von: Matt McCormick <matt.mccormick at kitware.com>
>> An: Paul Spamman <peterspamspam at gmx.de>
>> CC: insight-users at itk.org
>> Betreff: *** GMX Spamverdacht *** Re: [Insight-users] Compile problems
>
>> *What data type enabled via CMake configuration?
>>
>> On Thu, Nov 29, 2012 at 3:14 PM, Matt McCormick
>> <matt.mccormick at kitware.com> wrote:
>> > Hi Peter,
>> >
>> > Do you know what data type causes the compilation to fail?
>> >
>> > Thanks,
>> > Matt
>> >
>> > On Thu, Nov 29, 2012 at 1:11 PM, Paul Spamman <peterspamspam at gmx.de>
>> wrote:
>> >> Dear ITK community,
>> >>
>> >> I'm going crazy with compiling ITK 4.2.1 with Python wrapping.
>> Apparently there are parameter combinations that one can choose with ccmake that
>> lead to non-compilable situations. I enabled Python wrapping and for good
>> measure also all data types, 2;3 dimensions.
>> >>
>> >> When compiling I get:
>> >>
>> >> /tmp/ITK_Compile/Wrapping/Typedefs/itkCompositeTransform.i:96: Warning
>> 401: Nothing known about base class 'itk::MultiTransformBase< double,2u,2u
>> >'. Ignored.
>> >> /tmp/ITK_Compile/Wrapping/Typedefs/itkCompositeTransform.i:96: Warning
>> 401: Maybe you forgot to instantiate 'itk::MultiTransformBase< double,2u,2u
>> >' using %template.
>> >> /tmp/ITK_Compile/Wrapping/Typedefs/itkCompositeTransform.i:186: Warning
>> 401: Nothing known about base class 'itk::MultiTransformBase< double,3u,3u
>> >'. Ignored.
>> >> /tmp/ITK_Compile/Wrapping/Typedefs/itkCompositeTransform.i:186: Warning
>> 401: Maybe you forgot to instantiate 'itk::MultiTransformBase<
>> double,3u,3u >' using %template.
>> >> make[2]: ***
>> [Wrapping/Modules/ITKTransform/itkCompositeTransformPython.cpp] Error 4
>> >> make[1]: ***
>> [Wrapping/Modules/ITKTransform/CMakeFiles/ITKTransformPython.dir/all] Error 2
>> >>
>> >> Any idea what's going wrong? Or asked differently: what would I have to
>> do to get ITK compiled and runnning with Python?
>> >>
>> >> Any help would be greatly appreciated.
>> >>
>> >> Thanks a lot,
>> >>
>> >> Peter.
>> >> _____________________________________
>> >> Powered by www.kitware.com
>> >>
>> >> Visit other Kitware open-source projects at
>> >> http://www.kitware.com/opensource/opensource.html
>> >>
>> >> Kitware offers ITK Training Courses, for more information visit:
>> >> http://www.kitware.com/products/protraining.php
>> >>
>> >> Please keep messages on-topic and check the ITK FAQ at:
>> >> http://www.itk.org/Wiki/ITK_FAQ
>> >>
>> >> Follow this link to subscribe/unsubscribe:
>> >> http://www.itk.org/mailman/listinfo/insight-users


More information about the Insight-users mailing list