[Insight-users] error when building itk

Jens Eickmeyer eickmeyer at gmail.com
Tue Jan 4 04:45:14 EST 2005


Hi!

As far as I know ITK 1.8.0 doesn't support gcc 3.4.x. I ran into the
same problems on Fedora Core 3. You should use the CVS version. This
seems to work.

Jens

On Tue, 4 Jan 2005 10:35:32 +0100, Radim Adolt <adolt at mendelu.cz> wrote:
>  
> 
> Could somebody give me a hand with following problem ? 
> 
>  
> 
> configuration with Cmake seemed to be ok, 
> 
> running the make command I got this error message 
> 
>  
> 
> " 
> 
> /home/radim/install/itk/InsightToolkit-1.8.0/Utilities/vxl/core/vnl/vnl_sparse_matrix.txx:
> In member function `void vnl_sparse_matrix<T>::set_row(unsigned int, const
> std::vector<int, std::allocator<int> >&, const std::vector<T,
> std::allocator<_CharT> >&) [with T = vnl_rational]': 
> 
> /home/radim/install/itk/InsightToolkit-1.8.0/Utilities/vxl/core/vnl/Templates/vnl_sparse_matrix+vnl_rational-.cxx:5:
> instantiated from here 
> 
> /home/radim/install/itk/InsightToolkit-1.8.0/Utilities/vxl/core/vnl/vnl_sparse_matrix.txx:446:
> error: dependent-name `vnl_sparse_matrix_pair<T>::less' is parsed as a
> non-type, but instantiation yields a type 
> 
> /home/radim/install/itk/InsightToolkit-1.8.0/Utilities/vxl/core/vnl/vnl_sparse_matrix.txx:446:
> note: say `typename vnl_sparse_matrix_pair<T>::less' if a type is meant 
> 
> make[9]: *** [Templates/vnl_sparse_matrix+vnl_rational-.o] Error 1 
> 
> make[8]: *** [default_target] Error 2 
> 
> make[7]: *** [default_target_vnl] Error 2 
> 
> make[6]: *** [default_target] Error 2 
> 
> make[5]: *** [default_target_core] Error 2 
> 
> make[4]: *** [default_target] Error 2 
> 
> make[3]: *** [default_target_vxl] Error 2 
> 
> make[2]: *** [default_target] Error 2 
> 
> make[1]: *** [default_target_Utilities] Error 2 
> 
> make: *** [default_target] Error 2 
> 
> " 
> 
> I work on Linux - Mandrake 10.1 community, the version of my gcc compiler is
> gcc 3.4.1 (Mandrakelinux (Alpha 3.4.1-3mdk) 
> 
> I also tried to compile VXL prior to ITK but simillar kind of problem
> occured with VXL. 
> 
> My guess is - provided the source code is ok (I belive it is) - there might
> be something wrong within my compiler. 
> 
> Please could you help me somhow, have somebody experienced a problem like
> this ? 
> 
> many thanks 
> 
> R. A. 
> _______________________________________________
> 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