[Insight-users] building itk and itkvnl errors

Angela.Y Wang Angela.Y.Wang at hsc.utah.edu
Wed Oct 4 13:28:55 EDT 2006


I am following the tutorial for building itk binaries.  I am using cmake
2.4.3, itk 2.8, g++ 4.0 on Mac OSX.

It terminates with the following errors:

Scanning dependencies of target itkvnl
[ 56%] Building CXX object
Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/vnl_alloc.o
[ 56%] Building CXX object
Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/vnl_block.o
[ 56%] Building CXX object
Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/vnl_math.o
/Developer/itk/Utilities/vxl/core/vnl/vnl_math.cxx: In function 'bool
vnl_math_isinf(float)':
/Developer/itk/Utilities/vxl/core/vnl/vnl_math.cxx:221: error:
'__isnand' was not declared in this scope
/Developer/itk/Utilities/vxl/core/vnl/vnl_math.cxx: In function 'bool
vnl_math_isinf(double)':
/Developer/itk/Utilities/vxl/core/vnl/vnl_math.cxx:223: error:
'__isnand' was not declared in this scope
/Developer/itk/Utilities/vxl/core/vnl/vnl_math.cxx: In function 'bool
vnl_math_isinf(long double)':
/Developer/itk/Utilities/vxl/core/vnl/vnl_math.cxx:225: error:
'__isnand' was not declared in this scope
make[2]: *** [Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/vnl_math.o]
Error 1
make[1]: *** [Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/all] Error 2
make: *** [all] Error 2


What do I need to do to fix this?

Thanks,

Angela


More information about the Insight-users mailing list