[Insight-users] compile problem on OpenBSD

Amit Kulkarni amitkulz at gmail.com
Fri Aug 20 14:11:58 EDT 2010


Hello,

I grabbed latest tar.gz of ITK 3.20 and I am getting this error on OpenBSD
4.8 (-current) with gcc 4.2.1. I got feedback from Emmanuel @ otb-users to
try and see if its ITK related compile issue.

Please can somebody help me out with the proper #ifdef?

Thanks


[ 52%] Building CXX object
Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/vnl_math.o
/home/amit/rsgis/InsightToolkit-3.20.0/Utilities/vxl/core/vnl/vnl_math.cxx:
In function 'bool vnl_math_isinf(float)':
/home/amit/rsgis/InsightToolkit-3.20.0/Utilities/vxl/core/vnl/vnl_math.cxx:233:
error: 'isnan' was not declared in this scope
/home/amit/rsgis/InsightToolkit-3.20.0/Utilities/vxl/core/vnl/vnl_math.cxx:
In function 'bool vnl_math_isinf(double)':
/home/amit/rsgis/InsightToolkit-3.20.0/Utilities/vxl/core/vnl/vnl_math.cxx:235:
error: 'isnan' was not declared in this scope
/home/amit/rsgis/InsightToolkit-3.20.0/Utilities/vxl/core/vnl/vnl_math.cxx:
In function 'bool vnl_math_isinf(long double)':
/home/amit/rsgis/InsightToolkit-3.20.0/Utilities/vxl/core/vnl/vnl_math.cxx:237:
error: 'isnan' was not declared in this scope
gmake[2]: *** [Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/vnl_math.o]
Error 1
gmake[1]: *** [Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/all] Error 2
gmake: *** [all] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100820/ab538ef8/attachment.htm>


More information about the Insight-users mailing list