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

Markus Losacker markus.losacker at gmx.de
Fri Sep 8 09:41:57 EDT 2006


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


More information about the Insight-users mailing list