Hello,

I am posting to this list because I am unable to compile orfeo-toolbox.org's OTB which uses ITK which uses VXL.

I decided to give the actual VXL compile a try and it also reliably fails. But I have everything working under FreeBSD 8.1. Can somebody please help me compile it on OpenBSD?

I just try to compile vxl 1.14 and it fails here always.

OpenBSD 4.8 current

# gcc -v
Reading specs from /usr/bin/../lib/gcc-lib/i386-unknown-openbsd4.8/4.2.1/specs
Target: i386-unknown-openbsd4.8
Configured with: OpenBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719

g++ -v is the exact same as above

[  9%] Building CXX object core/vnl/CMakeFiles/vnl.dir/vnl_math.o
/home/amit/Desktop/vxl-1.14.0/core/vnl/vnl_math.cxx: In function 'bool vnl_math_isinf(float)':
/home/amit/Desktop/vxl-1.14.0/core/vnl/vnl_math.cxx:236: error: 'isnan' was not declared in this scope
/home/amit/Desktop/vxl-1.14.0/core/vnl/vnl_math.cxx: In function 'bool vnl_math_isinf(double)':
/home/amit/Desktop/vxl-1.14.0/core/vnl/vnl_math.cxx:238: error: 'isnan' was not declared in this scope
/home/amit/Desktop/vxl-1.14.0/core/vnl/vnl_math.cxx: In function 'bool vnl_math_isinf(long double)':
/home/amit/Desktop/vxl-1.14.0/core/vnl/vnl_math.cxx:240: error: 'isnan' was not declared in this scope

Thanks