[Insight-users] compiling ITK on Solaris 5.8

Jason.Beech-Brandt at ed.ac.uk Jason.Beech-Brandt at ed.ac.uk
Wed Sep 8 11:15:04 EDT 2004


Hi,

I'm trying to compile the ITK Toolkit on a SunBlade 1000 running Solaris
5.8 and using gcc/g++ version 3.4.1.

However, I'm getting the following error...

Building object file Templates/vnl_file_vector+double-.o...
c++ -o Templates/vnl_file_vector+double-.o -Ditkvnl_EXPORTS
-ftemplate-depth-50 -D_PTHREADS  -fPIC
-I/deptpc/scratch/jbbrand1/packages/Insight-solaris
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Code/Algorithms
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Code/BasicFilters
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Code/Common
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Code/Numerics
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Code/IO
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Code/Numerics/FEM
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Code/Numerics/Statistics
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Code/SpatialObject
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/MetaIO
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/NrrdIO
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/DICOMParser
-I/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/DICOMParser
-I/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/expat
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/expat
-I/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/vxl/vcl
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/vxl/core
-I/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/vxl/vcl
-I/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/vxl/core
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/vxl/v3p/netlib
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/zlib
-I/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/zlib
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/png
-I/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/png
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/jpeg
-I/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/jpeg
-I/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/tiff
-I/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/tiff    -c
/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/vxl/core/vnl/Templates/vnl_file_vector+double-.cxx
In file included from
/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/vxl/core/vnl/Templates/vnl_file_vector+double-.cxx:2:
/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/vxl/core/vnl/vnl_file_vector.txx:
In constructor `vnl_file_vector<T>::vnl_file_vector(const char*)':
/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/vxl/core/vnl/vnl_file_vector.txx:20:
error: there are no arguments to `read_ascii' that depend on a template
parameter, so a declaration of `read_ascii' must be available
/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/vxl/core/vnl/vnl_file_vector.txx:20:
error: (if you use `-fpermissive', G++ will accept your code, but allowing
the use of an undeclared name is deprecated)
/deptpc/scratch/jbbrand1/packages/InsightToolkit-1.8.0/Utilities/vxl/core/vnl/vnl_file_vector.txx:23:
error: there are no arguments to `read_ascii' that depend on a template
parameter, so a declaration of `read_ascii' must be available
gmake[9]: *** [Templates/vnl_file_vector+double-.o] Error 1
gmake[9]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/vxl/core/vnl'
gmake[8]: *** [default_target] Error 2
gmake[8]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/vxl/core/vnl'
gmake[7]: *** [default_target_vnl] Error 2
gmake[7]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/vxl/core'
gmake[6]: *** [default_target] Error 2
gmake[6]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/vxl/core'
gmake[5]: *** [default_target_core] Error 2
gmake[5]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/vxl'
gmake[4]: *** [default_target] Error 2
gmake[4]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities/vxl'
gmake[3]: *** [default_target_vxl] Error 2
gmake[3]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities'
gmake[2]: *** [default_target] Error 2
gmake[2]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/Insight-solaris/Utilities'
gmake[1]: *** [default_target_Utilities] Error 2
gmake[1]: Leaving directory
`/deptpc/scratch/jbbrand1/packages/Insight-solaris'
gmake: *** [default_target] Error 2

Any ideas?

Cheers

Jason


More information about the Insight-users mailing list