[Insight-users] build on macosx tiger

Jens Frederich jfrederich at gmail.com
Sun Aug 21 04:21:57 EDT 2005


Hi all,

I try to compile itk on macosx 10.4 tiger.

With the gcc 4.0 become I follow error message:

Scanning CXX dependencies of
Utilities/vxl/vcl/itkvcl.dir/emulation/vcl_straits.o
Scanning CXX dependencies of
Utilities/vxl/vcl/itkvcl.dir/emulation/vcl_rbtree_instances.o
Scanning CXX dependencies of
Utilities/vxl/vcl/itkvcl.dir/emulation/vcl_hashtable.o
Scanning CXX dependencies of Utilities/vxl/vcl/itkvcl.dir/emulation/vcl_alloc.o
Building CXX object Utilities/vxl/vcl/itkvcl.dir/vcl_deprecated.o
In file included from
/private/tmp/InsightToolkit-2.0.1/Utilities/vxl/vcl/vcl_iosfwd.h:8,
                 from
/private/tmp/InsightToolkit-2.0.1/Utilities/vxl/vcl/vcl_iostream.h:28,
                 from
/private/tmp/InsightToolkit-2.0.1/Utilities/vxl/vcl/vcl_deprecated.cxx:4:
/private/tmp/InsightToolkit-2.0.1/Utilities/vxl/vcl/vcl_compiler.h:79:4:
error: #error "Dunno about this gcc"
make[2]: *** [Utilities/vxl/vcl/itkvcl.dir/vcl_deprecated.o] Error 1
make[1]: *** [Utilities/vxl/vcl/itkvcl.dir/all] Error 2
make: *** [all] Error 2


and with gcc 3.3 this error message:

Scanning CXX dependencies of
Utilities/vxl/core/vnl/itkvnl.dir/Templates/vnl_vector_fixed+vnl_rational.2-.o
Scanning CXX dependencies of
Utilities/vxl/core/vnl/itkvnl.dir/Templates/vnl_vector_fixed+vnl_rational.3-.o
Scanning CXX dependencies of
Utilities/vxl/core/vnl/itkvnl.dir/Templates/vnl_vector_fixed_ref+double.3-.o
Scanning CXX dependencies of
Utilities/vxl/core/vnl/itkvnl.dir/Templates/vnl_vector_fixed_ref+double.4-.o
Scanning CXX dependencies of
Utilities/vxl/core/vnl/itkvnl.dir/Templates/vnl_vector_fixed_ref+float.3-.o
Building CXX object Utilities/vxl/core/vnl/itkvnl.dir/vnl_alloc.o
Building CXX object Utilities/vxl/core/vnl/itkvnl.dir/vnl_block.o
Building CXX object Utilities/vxl/core/vnl/itkvnl.dir/vnl_math.o
/private/tmp/InsightToolkit-2.0.1/Utilities/vxl/core/vnl/vnl_math.cxx: In 
   function `bool vnl_math_isinf(float)':
/private/tmp/InsightToolkit-2.0.1/Utilities/vxl/core/vnl/vnl_math.cxx:208:
error: `
   __isnan' undeclared (first use this function)
/private/tmp/InsightToolkit-2.0.1/Utilities/vxl/core/vnl/vnl_math.cxx:208:
error: (Each
   undeclared identifier is reported only once for each function it appears 
   in.)
make[2]: *** [Utilities/vxl/core/vnl/itkvnl.dir/vnl_math.o] Error 1
make[1]: *** [Utilities/vxl/core/vnl/itkvnl.dir/all] Error 2
make: *** [all] Error 2


How can I fix this problem?

Jens


More information about the Insight-users mailing list