[Insight-users] Build Error ITK 2.6.0 on SUSE 10.1

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Sep 8 09:46:49 EDT 2006


Hi,

It's a recent compiler: you should try with a recent ITK too, like the  
last stable release (2.8.1) or ITK cvs.

Gaetan


On Fri, 08 Sep 2006 15:41:57 +0200, Markus Losacker  
<markus.losacker at gmx.de> wrote:

> hi all,
>
> i´m trying to install itk 2.6.0 on a suse10.1 system. the compiler is  
> g++-4.1.0
> i´ve got tthe following build error
>
> /usr/local/InsightToolkit-2.6.0/Utilities/vxl/core/vnl/vnl_vector_fixed_ref.h:  
> In member function ‘const vnl_vector_fixed_ref<T, n>&  
> vnl_vector_fixed_ref<T, n>::operator/=(T) const [with T = double,  
> unsigned int n = 3u]’:
> /usr/local/InsightToolkit-2.6.0/Utilities/vxl/core/vnl/Templates/vnl_vector_fixed_ref+double.3-.cxx:2:  
> instantiated from here
> /usr/local/InsightToolkit-2.6.0/Utilities/vxl/core/vnl/vnl_vector_fixed_ref.h:384:  
> error: invalid conversion from ‘double*’ to ‘int’
> /usr/local/InsightToolkit-2.6.0/Utilities/vxl/core/vnl/vnl_vector_fixed_ref.h:384:  
> warning: converting to ‘int’ from ‘double’
> /usr/include/stdlib.h:801: error: too many arguments to function ‘div_t  
> div(int, int)’
> /usr/local/InsightToolkit-2.6.0/Utilities/vxl/core/vnl/vnl_vector_fixed_ref.h:384:  
> error: at this point in file
> make[2]: ***  
> [Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_vector_fixed_ref+double.3-.o]  
> Fehler 1
> make[1]: *** [Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/all] Fehler 2
> make: *** [all] Fehler 2
>
>
> has anyone an idea how to fix this?
>
> best regards
>
> markus
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users



-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr


More information about the Insight-users mailing list