[Insight-users] ITK 3.20 and VNL 1.14

Estanislao Oubel stan.oubel at gmail.com
Tue May 24 08:36:38 EDT 2011


Hi all,

I'd like to use the version 1.14 of VNL with ITK 3.20 because the class 
vnl_sparse_matrix
provides some useful methods absent in the VNL version included in ITK 3.20
(sparse matrix multiplication for example)

I've set ITK_USE_SYSTEM_VXL to ON but I've some compilation errors:

[100%] [100%] [100%] Building CXX object 
Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/itkFEMUtility.o
Building CXX object 
Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/itkFEMInitialization.o
Building C object Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/dsrc2c.o
/home/miv/oubel/lib/vxl-1.14.0/core/vnl/vnl_sparse_matrix.h: In member 
function ‘virtual void 
itk::fem::LinearSystemWrapperVNL::MultiplyMatrixMatrix(unsigned int, 
unsigned int, unsigned int)’:
/home/miv/oubel/lib/vxl-1.14.0/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/miv/oubel/lib/InsightToolkit-3.20.0/Code/Numerics/FEM/itkFEMLinearSystemWrapperVNL.cxx:265: 
error: within this context
make[2]: *** 
[Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/itkFEMLinearSystemWrapperVNL.o] 
Erreur 1
make[2]: *** Attente des tâches non terminées....
make[1]: *** [Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/all] Erreur 2
make[1]: *** Attente des tâches non terminées....
Linking CXX shared library ../../bin/libITKIOReview.so
[100%] Built target ITKIOReview
Linking CXX executable ../../bin/itkTestDriver
[100%] Built target itkTestDriver
make: *** [all] Erreur 2

Am I doing anything wrong? have you found similar problems?

Best

stan






More information about the Insight-users mailing list