Open abhaykagalkar opened 6 years ago
-- Eigen 3.2.92 found (include: /usr/include/eigen3)
Above line from your build log suggests that you are using a newer version (3.2.92) of Eigen lib that is installed with apt-get rather than the older version (3.2.10) which is recommended in the recently added build instructions. See the BUILD.md file in the root of the repository.
Specifications like the version of the project, operating system, and hardware
Ubuntu 16.04LTS , Nvidia GEFORCE 940M,
Steps to reproduce the problem
Installation of OpenMVS Library failed at 51%
here is the error log
`abhay@HP-Pavilion-Servers:~/openMVS_build$ make && sudo make install -- cotire 1.7.8 loaded. -- Detected version of GNU GCC: 54 (504) CUDA_TOOLKIT_ROOT_DIR not found or specified -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) -- Can't find CUDA. Continuing without it. -- WARNING: BREAKPAD was not found: Please specify BREAKPAD directory using BREAKPAD_ROOT env. variable -- Can't find BreakPad. Continuing without it. -- Boost version: 1.58.0 -- Found the following Boost libraries: -- iostreams -- program_options -- system -- serialization -- regex -- Eigen 3.2.92 found (include: /usr/include/eigen3) -- OpenCV 2.4.9.1 found (include: /usr/include/opencv;/usr/include) -- CGAL 4.7 found (include: /usr/include) -- VCG found (include: /home/abhay/vcglib) -- Found installed version of Eigen: /usr/lib/cmake/eigen3 -- Found required Ceres dependency: Eigen version 3.2.92 in /usr/include/eigen3 -- Found Ceres compiled with miniglog substitute for glog, beware this will likely cause problems if glog is later linked. -- Found Ceres version: 1.13.0 installed in: /usr/local with components: [LAPACK, SuiteSparse, SparseLinearAlgebraLibrary, CXSparse, SchurSpecializations, OpenMP] -- CERES 1.13.0 found (include: /usr/local/include;/usr/include/eigen3;/usr/local/include/ceres/internal/miniglog;/usr/local/include) -- Configuring done CMake Warning at build/Utils.cmake:824 (add_library): Cannot generate a safe runtime search path for target MVS because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly. Call Stack (most recent call first): libs/MVS/CMakeLists.txt:32 (cxx_library_with_type_no_pch)
CMake Warning at build/Utils.cmake:858 (add_executable): Cannot generate a safe runtime search path for target InterfaceVisualSFM because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly. Call Stack (most recent call first): apps/InterfaceVisualSFM/CMakeLists.txt:8 (cxx_executable_with_flags_no_pch)
CMake Warning at build/Utils.cmake:858 (add_executable): Cannot generate a safe runtime search path for target DensifyPointCloud because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly. Call Stack (most recent call first): apps/DensifyPointCloud/CMakeLists.txt:8 (cxx_executable_with_flags_no_pch)
CMake Warning at build/Utils.cmake:858 (add_executable): Cannot generate a safe runtime search path for target ReconstructMesh because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly. Call Stack (most recent call first): apps/ReconstructMesh/CMakeLists.txt:8 (cxx_executable_with_flags_no_pch)
CMake Warning at build/Utils.cmake:858 (add_executable): Cannot generate a safe runtime search path for target RefineMesh because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly. Call Stack (most recent call first): apps/RefineMesh/CMakeLists.txt:8 (cxx_executable_with_flags_no_pch)
CMake Warning at build/Utils.cmake:858 (add_executable): Cannot generate a safe runtime search path for target TextureMesh because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly. Call Stack (most recent call first): apps/TextureMesh/CMakeLists.txt:8 (cxx_executable_with_flags_no_pch)
CMake Warning at build/Utils.cmake:858 (add_executable): Cannot generate a safe runtime search path for target Viewer because files in some directories may conflict with libraries in implicit directories:
Some of these libraries may not be found correctly. Call Stack (most recent call first): apps/Viewer/CMakeLists.txt:54 (cxx_executable_with_flags_no_pch)
-- Generating done -- Build files have been written to: /home/abhay/openMVS_build [ 18%] Built target Common [ 27%] Built target Math [ 50%] Built target IO [ 51%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/SceneRefine.cpp.o /home/abhay/openMVS/libs/MVS/SceneRefine.cpp: In static member function ‘static void MeshRefine::ComputePhotometricGradient(const FaceArr&, const NormalArr&, const DepthMap&, const FaceMap&, const BaryMap&, const MVS::Camera&, const MVS::Camera&, const MeshRefine::View&, const SEACAVE::TImage&, const BitMatrix&, MeshRefine::GradArr&, SEACAVE::UnsignedArr&, Real)’:
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:955:16: warning: unused variable ‘depthB’ [-Wunused-variable]
const float depthB(ProjectVertex(cameraB.P.val, X.ptr(), xB.ptr(), xJac.val));
^
In file included from /home/abhay/openMVS/libs/MVS/../Common/Types.h:2737:0,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/home/abhay/openMVS/libs/MVS/../Common/Octree.h: In instantiation of ‘const SEACAVE::TOctreeCell<TYPE, DIMS, DATA_TYPE>::LEAF_TYPE& SEACAVE::TOctreeCell<TYPE, DIMS, DATA_TYPE>::Leaf() const [with TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int]’:
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:455:32: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::_Traverse(const CELL_TYPE&, TYPE, const SEACAVE::TFrustum<FTYPE, FDIMS>&, INSERTER&) const [with FTYPE = float; int FDIMS = 5; INSERTER = MeshRefine::ListCameraFaces()::FacesInserter; ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::CELL_TYPE = SEACAVE::TOctreeCell<float, 3, unsigned int>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:498:11: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Traverse(const SEACAVE::TFrustum<FTYPE, FDIMS>&, INSERTER&) const [with FTYPE = float; int FDIMS = 5; INSERTER = MeshRefine::ListCameraFaces()::FacesInserter; ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:443:36: required from here
/home/abhay/openMVS/libs/MVS/../Common/Octree.h:85:92: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline const LEAF_TYPE& Leaf() const { ASSERT(IsLeaf()); return ((const LEAF_TYPE)m_data); }
^
/home/abhay/openMVS/libs/MVS/../Common/Octree.h: In instantiation of ‘SEACAVE::TOctreeCell<TYPE, DIMS, DATA_TYPE>::NODE_TYPE& SEACAVE::TOctreeCell<TYPE, DIMS, DATA_TYPE>::Node() [with TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int]’:
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:239:23: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&, const AABB_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::AABB_TYPE = SEACAVE::TAABB<float, 3>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:260:8: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:134:8: required from ‘SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::TOctree(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:430:30: required from here
/home/abhay/openMVS/libs/MVS/../Common/Octree.h:84:75: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline NODE_TYPE& Node() { ASSERT(!IsLeaf()); return ((NODE_TYPE)m_data); }
^
In file included from /usr/include/eigen3/Eigen/Core:367:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/Matrix.h: In instantiation of ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = SEACAVE::TPoint3; _Scalar = float; int _Rows = 3; int _Cols = 1; int _Options = 0; int _MaxRows = 3; int _MaxCols = 1]’:
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:246:70: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&, const AABB_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::AABB_TYPE = SEACAVE::TAABB<float, 3>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:260:8: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:134:8: required from ‘SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::TOctree(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:430:30: required from here
/usr/include/eigen3/Eigen/src/Core/Matrix.h:296:31: error: no matching function for call to ‘Eigen::Matrix<float, 3, 1>::_init1(const SEACAVE::TPoint3&)’
Base::template _init1(x);
^
In file included from /usr/include/eigen3/Eigen/Core:366:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:740:30: note: candidate: template void Eigen::PlainObjectBase::_init1(Eigen::Index, typename Eigen::internal::enable_if<(((typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime != 1) || (! Eigen::internal::is_convertible<T, typename Eigen::internal::traits::Scalar>::value)) && ((! Eigen::internal::is_same<typename Eigen::internal::traits::XprKind, Eigen::ArrayXpr>::value) || (typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime == Eigen::Dynamic))), T>::type) [with T = T; Derived = Eigen::Matrix<float, 3, 1>]
EIGEN_STRONG_INLINE void _init1(Index size, typename internal::enable_if< (Base::SizeAtCompileTime!=1 || !internal::is_convertible<T, S
^
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:740:30: note: template argument deduction/substitution failed:
In file included from /usr/include/eigen3/Eigen/Core:367:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/Matrix.h:296:31: note: cannot convert ‘x’ (type ‘const SEACAVE::TPoint3’) to type ‘Eigen::Index {aka long int}’
Base::template _init1(x);
^
In file included from /usr/include/eigen3/Eigen/Core:366:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:753:30: note: candidate: template void Eigen::PlainObjectBase::_init1(const Scalar&, typename Eigen::internal::enable_if<((typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime == 1) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits::Scalar>::value), T>::type ) [with T = T; Derived = Eigen::Matrix<float, 3, 1>]
EIGEN_STRONG_INLINE void _init1(const Scalar& val0, typename internal::enable_if<Base::SizeAtCompileTime==1 && internal::is_convertible<T,
^
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:753:30: note: template argument deduction/substitution failed:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h: In substitution of ‘template void Eigen::PlainObjectBase::_init1(const Scalar&, typename Eigen::internal::enable_if<((typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime == 1) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits::Scalar>::value), T>::type) [with T = SEACAVE::TPoint3]’:
/usr/include/eigen3/Eigen/src/Core/Matrix.h:296:31: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = SEACAVE::TPoint3; _Scalar = float; int _Rows = 3; int _Cols = 1; int _Options = 0; int _MaxRows = 3; int _MaxCols = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:246:70: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&, const AABB_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::AABB_TYPE = SEACAVE::TAABB<float, 3>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:260:8: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:134:8: required from ‘SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::TOctree(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:430:30: required from here
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:753:30: error: invalid use of incomplete type ‘struct Eigen::internal::enable_if<false, SEACAVE::TPoint3 >’
In file included from /usr/include/eigen3/Eigen/Core:295:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:131:45: note: declaration of ‘struct Eigen::internal::enable_if<false, SEACAVE::TPoint3 >’
template<bool Condition, typename T> struct enable_if;
^
In file included from /usr/include/eigen3/Eigen/Core:366:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/Matrix.h: In instantiation of ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = SEACAVE::TPoint3; _Scalar = float; int _Rows = 3; int _Cols = 1; int _Options = 0; int _MaxRows = 3; int _MaxCols = 1]’:
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:246:70: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&, const AABB_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::AABB_TYPE = SEACAVE::TAABB<float, 3>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:260:8: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:134:8: required from ‘SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::TOctree(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:430:30: required from here
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:762:30: note: candidate: template void Eigen::PlainObjectBase::_init1(const Index&, typename Eigen::internal::enable_if<((((! Eigen::internal::is_same<long int, typename Eigen::internal::traits::Scalar>::value) && Eigen::internal::is_same<long int, T>::value) && (typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime == 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits::Scalar>::value), T >::type) [with T = T; Derived = Eigen::Matrix<float, 3, 1>]
EIGEN_STRONG_INLINE void _init1(const Index& val0,
^
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:762:30: note: template argument deduction/substitution failed:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h: In substitution of ‘template void Eigen::PlainObjectBase::_init1(const Index&, typename Eigen::internal::enable_if<((((! Eigen::internal::is_same<long int, typename Eigen::internal::traits::Scalar>::value) && Eigen::internal::is_same<long int, T>::value) && (typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime == 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits::Scalar>::value), T >::type) [with T = SEACAVE::TPoint3]’:
/usr/include/eigen3/Eigen/src/Core/Matrix.h:296:31: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = SEACAVE::TPoint3; _Scalar = float; int _Rows = 3; int _Cols = 1; int _Options = 0; int _MaxRows = 3; int _MaxCols = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:246:70: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&, const AABB_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::AABB_TYPE = SEACAVE::TAABB<float, 3>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:260:8: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:134:8: required from ‘SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::TOctree(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:430:30: required from here
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:762:30: error: invalid use of incomplete type ‘struct Eigen::internal::enable_if<false, SEACAVE::TPoint3 >’
In file included from /usr/include/eigen3/Eigen/Core:295:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:131:45: note: declaration of ‘struct Eigen::internal::enable_if<false, SEACAVE::TPoint3>’
template<bool Condition, typename T> struct enable_if;
^
In file included from /usr/include/eigen3/Eigen/Core:366:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/Matrix.h: In instantiation of ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = SEACAVE::TPoint3; _Scalar = float; int _Rows = 3; int _Cols = 1; int _Options = 0; int _MaxRows = 3; int _MaxCols = 1]’:
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:246:70: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&, const AABB_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::AABB_TYPE = SEACAVE::TAABB<float, 3>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:260:8: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:134:8: required from ‘SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::TOctree(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:430:30: required from here
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:775:30: note: candidate: template void Eigen::PlainObjectBase::_init1(const Scalar ) [with T = T; Derived = Eigen::Matrix<float, 3, 1>]
EIGEN_STRONG_INLINE void _init1(const Scalar data){
^
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:775:30: note: template argument deduction/substitution failed:
In file included from /usr/include/eigen3/Eigen/Core:367:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/Matrix.h:296:31: note: cannot convert ‘x’ (type ‘const SEACAVE::TPoint3’) to type ‘const Scalar {aka const float}’
Base::template _init1(x);
^
In file included from /usr/include/eigen3/Eigen/Core:366:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:782:30: note: candidate: template<class T, class OtherDerived> void Eigen::PlainObjectBase::_init1(const Eigen::DenseBase&) [with T = T; OtherDerived = OtherDerived; Derived = Eigen::Matrix<float, 3, 1>]
EIGEN_STRONG_INLINE void _init1(const DenseBase& other){
^
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:782:30: note: template argument deduction/substitution failed:
In file included from /usr/include/eigen3/Eigen/Core:367:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/Matrix.h:296:31: note: ‘const SEACAVE::TPoint3’ is not derived from ‘const Eigen::DenseBase’
Base::template _init1(x);
^
In file included from /usr/include/eigen3/Eigen/Core:366:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:789:30: note: candidate: template<class T, class OtherDerived> void Eigen::PlainObjectBase::_init1(const Eigen::EigenBase&) [with T = T; OtherDerived = OtherDerived; Derived = Eigen::Matrix<float, 3, 1>]
EIGEN_STRONG_INLINE void _init1(const EigenBase& other){
^
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:789:30: note: template argument deduction/substitution failed:
In file included from /usr/include/eigen3/Eigen/Core:367:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/Matrix.h:296:31: note: ‘const SEACAVE::TPoint3’ is not derived from ‘const Eigen::EigenBase’
Base::template _init1(x);
^
In file included from /usr/include/eigen3/Eigen/Core:366:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:795:30: note: candidate: template<class T, class OtherDerived> void Eigen::PlainObjectBase::_init1(const Eigen::ReturnByValue&) [with T = T; OtherDerived = OtherDerived; Derived = Eigen::Matrix<float, 3, 1>]
EIGEN_STRONG_INLINE void _init1(const ReturnByValue& other)
^
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:795:30: note: template argument deduction/substitution failed:
In file included from /usr/include/eigen3/Eigen/Core:367:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/Matrix.h:296:31: note: ‘const SEACAVE::TPoint3’ is not derived from ‘const Eigen::ReturnByValue’
Base::template _init1(x);
^
In file included from /usr/include/eigen3/Eigen/Core:366:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:803:30: note: candidate: template<class T, class OtherDerived, int ColsAtCompileTime> void Eigen::PlainObjectBase::_init1(const Eigen::RotationBase<OtherDerived, ColsAtCompileTime>&) [with T = T; OtherDerived = OtherDerived; int ColsAtCompileTime = ColsAtCompileTime; Derived = Eigen::Matrix<float, 3, 1>]
EIGEN_STRONG_INLINE void _init1(const RotationBase<OtherDerived,ColsAtCompileTime>& r)
^
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:803:30: note: template argument deduction/substitution failed:
In file included from /usr/include/eigen3/Eigen/Core:367:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/Matrix.h:296:31: note: ‘const SEACAVE::TPoint3’ is not derived from ‘const Eigen::RotationBase<OtherDerived, ColsAtCompileTime>’
Base::template _init1(x);
^
In file included from /usr/include/eigen3/Eigen/Core:366:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:811:30: note: candidate: template void Eigen::PlainObjectBase::_init1(const Scalar&, typename Eigen::internal::enable_if<((((typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime != Eigen::Dynamic) && (typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime != 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits::Scalar>::value) && Eigen::internal::is_same<typename Eigen::internal::traits::XprKind, Eigen::ArrayXpr>::value), T>::type ) [with T = T; Derived = Eigen::Matrix<float, 3, 1>]
EIGEN_STRONG_INLINE void _init1(const Scalar& val0,
^
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:811:30: note: template argument deduction/substitution failed:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h: In substitution of ‘template void Eigen::PlainObjectBase::_init1(const Scalar&, typename Eigen::internal::enable_if<((((typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime != Eigen::Dynamic) && (typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime != 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits::Scalar>::value) && Eigen::internal::is_same<typename Eigen::internal::traits::XprKind, Eigen::ArrayXpr>::value), T>::type) [with T = SEACAVE::TPoint3]’:
/usr/include/eigen3/Eigen/src/Core/Matrix.h:296:31: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = SEACAVE::TPoint3; _Scalar = float; int _Rows = 3; int _Cols = 1; int _Options = 0; int _MaxRows = 3; int _MaxCols = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:246:70: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&, const AABB_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::AABB_TYPE = SEACAVE::TAABB<float, 3>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:260:8: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:134:8: required from ‘SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::TOctree(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:430:30: required from here
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:811:30: error: invalid use of incomplete type ‘struct Eigen::internal::enable_if<false, SEACAVE::TPoint3 >’
In file included from /usr/include/eigen3/Eigen/Core:295:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:131:45: note: declaration of ‘struct Eigen::internal::enable_if<false, SEACAVE::TPoint3 >’
template<bool Condition, typename T> struct enable_if;
^
In file included from /usr/include/eigen3/Eigen/Core:366:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/Matrix.h: In instantiation of ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = SEACAVE::TPoint3; _Scalar = float; int _Rows = 3; int _Cols = 1; int _Options = 0; int _MaxRows = 3; int _MaxCols = 1]’:
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:246:70: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&, const AABB_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::AABB_TYPE = SEACAVE::TAABB<float, 3>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:260:8: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:134:8: required from ‘SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::TOctree(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:430:30: required from here
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:822:30: note: candidate: template void Eigen::PlainObjectBase::_init1(const Index&, typename Eigen::internal::enable_if<((((((! Eigen::internal::is_same<long int, typename Eigen::internal::traits::Scalar>::value) && Eigen::internal::is_same<long int, T>::value) && (typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime != Eigen::Dynamic)) && (typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime != 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits::Scalar>::value) && Eigen::internal::is_same<typename Eigen::internal::traits::XprKind, Eigen::ArrayXpr>::value), T >::type) [with T = T; Derived = Eigen::Matrix<float, 3, 1>]
EIGEN_STRONG_INLINE void _init1(const Index& val0,
^
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:822:30: note: template argument deduction/substitution failed:
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h: In substitution of ‘template void Eigen::PlainObjectBase::_init1(const Index&, typename Eigen::internal::enable_if<((((((! Eigen::internal::is_same<long int, typename Eigen::internal::traits::Scalar>::value) && Eigen::internal::is_same<long int, T>::value) && (typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime != Eigen::Dynamic)) && (typename Eigen::internal::dense_xpr_base::type:: SizeAtCompileTime != 1)) && Eigen::internal::is_convertible<T, typename Eigen::internal::traits::Scalar>::value) && Eigen::internal::is_same<typename Eigen::internal::traits::XprKind, Eigen::ArrayXpr>::value), T >::type) [with T = SEACAVE::TPoint3]’:
/usr/include/eigen3/Eigen/src/Core/Matrix.h:296:31: required from ‘Eigen::Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>::Matrix(const T&) [with T = SEACAVE::TPoint3; _Scalar = float; int _Rows = 3; int _Cols = 1; int _Options = 0; int _MaxRows = 3; int _MaxCols = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:246:70: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&, const AABB_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::AABB_TYPE = SEACAVE::TAABB<float, 3>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:260:8: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:134:8: required from ‘SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::TOctree(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:430:30: required from here
/usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:822:30: error: invalid use of incomplete type ‘struct Eigen::internal::enable_if<false, SEACAVE::TPoint3 >’
In file included from /usr/include/eigen3/Eigen/Core:295:0,
from /home/abhay/openMVS/libs/MVS/../Common/Types.h:122,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/usr/include/eigen3/Eigen/src/Core/util/Meta.h:131:45: note: declaration of ‘struct Eigen::internal::enable_if<false, SEACAVE::TPoint3>’
template<bool Condition, typename T> struct enable_if;
^
In file included from /home/abhay/openMVS/libs/MVS/../Common/Types.h:2737:0,
from /home/abhay/openMVS/libs/MVS/../Common/Common.h:176,
from /home/abhay/openMVS/libs/MVS/Common.h:42,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
from /home/abhay/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/home/abhay/openMVS/libs/MVS/../Common/Octree.h: In instantiation of ‘const SEACAVE::TOctreeCell<TYPE, DIMS, DATA_TYPE>::NODE_TYPE& SEACAVE::TOctreeCell<TYPE, DIMS, DATA_TYPE>::Node() const [with TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int]’:
/home/abhay/openMVS/libs/MVS/../Common/Octree.h:88:69: required from ‘SEACAVE::TOctreeCell<TYPE, DIMS, DATA_TYPE>::AABB_TYPE SEACAVE::TOctreeCell<TYPE, DIMS, DATA_TYPE>::GetAabb(TYPE) const [with TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; SEACAVE::TOctreeCell<TYPE, DIMS, DATA_TYPE>::AABB_TYPE = SEACAVE::TAABB<float, 3>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:447:2: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::_Traverse(const CELL_TYPE&, TYPE, const SEACAVE::TFrustum<FTYPE, FDIMS>&, INSERTER&) const [with FTYPE = float; int FDIMS = 5; INSERTER = MeshRefine::ListCameraFaces()::FacesInserter; ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::CELL_TYPE = SEACAVE::TOctreeCell<float, 3, unsigned int>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:498:11: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Traverse(const SEACAVE::TFrustum<FTYPE, FDIMS>&, INSERTER&) const [with FTYPE = float; int FDIMS = 5; INSERTER = MeshRefine::ListCameraFaces()::FacesInserter; ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:443:36: required from here
/home/abhay/openMVS/libs/MVS/../Common/Octree.h:83:93: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline const NODE_TYPE& Node() const { ASSERT(!IsLeaf()); return ((const NODE_TYPE)m_data); }
^
/home/abhay/openMVS/libs/MVS/../Common/Octree.h: In instantiation of ‘SEACAVE::TOctreeCell<TYPE, DIMS, DATA_TYPE>::LEAF_TYPE& SEACAVE::TOctreeCell<TYPE, DIMS, DATA_TYPE>::Leaf() [with TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int]’:
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:194:53: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::_Insert(SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::CELL_TYPE&, TYPE, SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::IDXARR_TYPE) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::CELL_TYPE = SEACAVE::TOctreeCell<float, 3, unsigned int>; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::IDXARR_TYPE = SEACAVE::cList<long unsigned int, long unsigned int, 0, 1024>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:250:9: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&, const AABB_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1; SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::AABB_TYPE = SEACAVE::TAABB<float, 3>]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:260:8: required from ‘void SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::Insert(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/../Common/Octree.inl:134:8: required from ‘SEACAVE::TOctree<ITEMARR_TYPE, TYPE, DIMS, DATA_TYPE, SIZE, NOM, DENOM>::TOctree(const ITEMARR_TYPE&) [with ITEMARR_TYPE = SEACAVE::cList<SEACAVE::TPoint3, const SEACAVE::TPoint3&, 0, 8192, unsigned int>; TYPE = float; int DIMS = 3; DATA_TYPE = unsigned int; int SIZE = 16; int NOM = 0; int DENOM = 1]’
/home/abhay/openMVS/libs/MVS/SceneRefine.cpp:430:30: required from here
/home/abhay/openMVS/libs/MVS/../Common/Octree.h:86:74: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline LEAF_TYPE& Leaf() { ASSERT(IsLeaf()); return ((LEAF_TYPE)m_data); }
^
libs/MVS/CMakeFiles/MVS.dir/build.make:176: recipe for target 'libs/MVS/CMakeFiles/MVS.dir/SceneRefine.cpp.o' failed
make[2]: [libs/MVS/CMakeFiles/MVS.dir/SceneRefine.cpp.o] Error 1
CMakeFiles/Makefile2:481: recipe for target 'libs/MVS/CMakeFiles/MVS.dir/all' failed
make[1]: [libs/MVS/CMakeFiles/MVS.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
abhay@HP-Pavilion-Servers:~/openMVS_build$
`