[Insight-users] error when building itk

Lorensen, William E (Research) lorensen at crd.ge.com
Tue Jan 4 22:04:12 EST 2005


If you are having problems with the cvs version and gcc3.4 please post them.
Our nightly 3.4 build is doing just fine.

Bill

-----Original Message-----
From: Gaetan Lehmann [mailto:gaetan.lehmann at jouy.inra.fr]
Sent: Tuesday, January 04, 2005 4:51 AM
To: Radim Adolt; insight-users at itk.org
Subject: Re: [Insight-users] error when building itk




Hi,

you have to use gcc 3.3 to build itk 1.8
You can also checkout itk from cvs, but I still have errors if I activate  
some options...
I am currently building itk packages for mandrake. I hope problems will be  
resolved soon so I can add it to contrib :-)


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_spar
se_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/Template
s/vnl_sparse_matrix+vnl_rational-.cxx:5:
> instantiated from here
>
/home/radim/install/itk/InsightToolkit-1.8.0/Utilities/vxl/core/vnl/vnl_spar
se_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_spar
se_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.



-- 
Gaetan Lehmann <gaetan.lehmann at jouy.inra.fr>
Tel: +33 1 34 65 22 34
Biologie du Developpement et de la Reproduction
INRA de Jouy-en-Josas (France)
 
_______________________________________________
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