[Insight-developers] compilation error with system vxl

Arnaud GELAS arnaud_gelas at hms.harvard.edu
Thu Jun 10 11:57:03 EDT 2010


Hi guys,

I have just tried to build itk, with an installed version of vxl and I 
get the following error:

[ 93%] Building CXX object 
Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/itkFEMLinearSystemWrapperVNL.o
/home/ajg23/SVNROOT/vxl/core/vnl/vnl_sparse_matrix.h: In member function 
‘virtual void 
itk::fem::LinearSystemWrapperVNL::MultiplyMatrixMatrix(unsigned int, 
unsigned int, unsigned int)’:
/home/ajg23/SVNROOT/vxl/core/vnl/vnl_sparse_matrix.h:268: error: ‘void 
vnl_sparse_matrix<T>::mult(const vnl_sparse_matrix<T>&, 
vnl_sparse_matrix<T>&) const [with T = double]’ is protected
/home/ajg23/CVSROOT/Insight/Code/Numerics/FEM/itkFEMLinearSystemWrapperVNL.cxx:265: 
error: within this context
make[2]: *** 
[Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/itkFEMLinearSystemWrapperVNL.o] 
Error 1
make[1]: *** [Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/all] Error 2

In the recent version of vnl mult is now protected, whereas in the itk 
version mult is public...

If I am not wrong using directly operator * would work for both 
versions. Any objection?

Cheers,
Arnaud


More information about the Insight-developers mailing list