[Insight-users] itk and fedora core 5

Moti Freiman freiman at cs.huji.ac.il
Wed Jun 28 14:21:47 EDT 2006


Hi,
I tried to compile ITK on a fedora core 5 machine with both the standard 
gcc supported by fc5 (gcc4.1) and gcc3.2 (installed from the fc5 
distribution package) and got the following error:
Building CXX object 
Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_vector_fixed_ref+float.3-.o
/usr/local/src/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 = float, 
unsigned int n = 3u]’:
/usr/local/src/InsightToolkit-2.6.0/Utilities/vxl/core/vnl/Templates/vnl_vector_fixed_ref+float.3-.cxx:2: 
instantiated from here
/usr/local/src/InsightToolkit-2.6.0/Utilities/vxl/core/vnl/vnl_vector_fixed_ref.h:384: 
error: invalid conversion from ‘float*’ to ‘int’
/usr/local/src/InsightToolkit-2.6.0/Utilities/vxl/core/vnl/vnl_vector_fixed_ref.h:384: 
warning: converting to ‘int’ from ‘float’
/usr/include/stdlib.h:801: error: too many arguments to function ‘div_t 
div(int, int)’
/usr/local/src/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+float.3-.o] 
Error 1
make[1]: *** [Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/all] Error 2
make: *** [all] Error 2

I found in the mailing list a discussion about itk and fc5, but other 
errors mentioned there.
Many thanks,
Moti

__
Moti Freiman, Ph.D Student.
Medical Image Processing and Computer-Assisted Surgery Laboratory.
School of Computer Science and Engineering.
The Hebrew University of Jerusalem Givat Ram, Jerusalem 91904, Israel
Phone: +(972)-2-658-5371 (laboratory)
E-mail: freiman at cs.huji.ac.il
WWW site: http://www.cs.huji.ac.il/~freiman


More information about the Insight-users mailing list