[Insight-users] itk 3.18 compilation with external vxl installation
Moti Freiman
freiman at cs.huji.ac.il
Fri Jul 2 06:18:01 EDT 2010
Hi,
I tried to compile ITK 3.18 on a linux machine (opensuse 11.3),
with external VXL installation (vxl 1.14).
First I got an error from the cmake as follows:
CMake Error at /usr/local/share/vxl/cmake/UseVXL.cmake:135 (INCLUDE):
include could not find load file:
/doxygen.cmake
Call Stack (most recent call first):
CMakeLists.txt:466 (INCLUDE)
Then I removed the problematic line from the UseVXL.cmake file.
Next I succeed to create the Makefile, and start to build ITK.
Then I got the following error:
[ 93%] [ 93%] Building CXX object
Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/itkFEMLinearSystemWrapperDenseVNL.o
Building CXX object
Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/itkFEMLinearSystemWrapperVNL.o
/usr/local/include/vxl/core/vnl/vnl_sparse_matrix.h: In member
function ‘virtual void
itk::fem::LinearSystemWrapperVNL::MultiplyMatrixMatrix(unsigned int,
unsigned int, unsigned int)’:
/usr/local/include/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
/usr/local/src/InsightToolkit-3.18.0/Code/Numerics/FEM/itkFEMLinearSystemWrapperVNL.cxx:265:
error: within this context
make[2]: *** [Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/itkFEMLinearSystemWrapperVNL.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Code/Numerics/FEM/CMakeFiles/ITKFEM.dir/all] Error 2
make: *** [all] Error 2
It seems that ITK assume some specific version of VXL, but I did not
managed to find documentation for it.
Any idea?
Thanks,
Moti
--
__
Moti Freiman, Ph.D Student.
Medical Image Processing and Computer-Assisted Surgery Laboratory.
School of Computer Science and Engineering.
The Hebrew University of Jerusalem Givat Ram, Jerusalem 91904, Israel
Phone: +(972)-2-658-5371 (laboratory)
WWW site: http://www.cs.huji.ac.il/~freiman
More information about the Insight-users
mailing list