[Insight-users] build on macosx tiger

Zachary Pincus zpincus at stanford.edu
Sun Aug 21 18:03:48 EDT 2005


Use a CVS checkout of ITK -- GCC4 and Tiger compatibility was added  
after ITK 2.0.1.

Usually, the ITK CVS is very stable -- I always use CVS builds.  
Lately, the CVS should be *even more* stable, since the developers  
are gearing up for a 2.0.2 (I think) release.

Zach Pincus

Program in Biomedical Informatics and Department of Biochemistry
Stanford University School of Medicine



On Aug 21, 2005, at 1:21 AM, Jens Frederich wrote:

> 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
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>



More information about the Insight-users mailing list