Hello everyone,
I'm having some problems to build
Seg3D version 2.1.4 on my machine with Archlinux and also in
another one running Fedora 18. In both cases I get the same error.
The cmake step is OK. However, during the compilation (make) I get the following error:
[ 49%] Building CXX object Externals/itk/Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_matrix_fixed_ref+float.3.4-.o
In file included from /home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/vnl_matrix_fixed_ref.txx:5:0,
from /home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/Templates/vnl_matrix_fixed_ref+float.3.4-.cxx:1:
/home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/vnl_matrix_fixed_ref.h:
In instantiation of ‘bool vnl_matrix_fixed_ref<T, num_rows,
num_cols>::operator_eq(const vnl_matrix_fixed_ref_const<T,
num_rows, num_cols>&) const [with T = float; unsigned int
num_rows = 3u; unsigned int num_cols = 4u]’:
/home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/Templates/vnl_matrix_fixed_ref+float.3.4-.cxx:2:1: required from here
/home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/vnl_matrix_fixed_ref.h:657:56:
error: ‘equal’ was not declared in this scope, and no declarations were
found by argument-dependent lookup at the point of instantiation
[-fpermissive]
return equal( this->data_block(), rhs.data_block() );
^
/home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/vnl_matrix_fixed_ref.h:657:56: note: declarations in dependent base ‘vnl_matrix_fixed_ref_const<float, 3u, 4u>’ are not found by unqualified lookup
/home/rocha/Downloads/Seg3D2-2.1.4-code/src/Externals/itk/Utilities/vxl/core/vnl/vnl_matrix_fixed_ref.h:657:56: note: use ‘this->equal’ instead
make[2]: ** [Externals/itk/Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/Templates/vnl_matrix_fixed_ref+float.3.4-.o] Erro 1
make[1]: ** [Externals/itk/Utilities/vxl/core/vnl/CMakeFiles/itkvnl.dir/all] Erro 2
make: ** [all] Erro 2
Building Seg3D returned an error
Either
the code failed to build properly or the testing programs failed to
complete without every single test program passing the test.
----------------------------------------------------------------------------------------------------------------------------------------
Any
ideas of how to solve/fix this? What is missing? I have installed all
the required software. I have Qt 4.8.x and also Qt 5. What is wrong?