Open kejianwei opened 7 years ago
None of the cs_di_*
are used directly by OpenMVS. The problem is related to some of the 3rd party libs, probably CERES. As far as I know you are the first to report such a problem.
I meet a different build issue.
The system is Ubuntu 16.04 32bit.
It complains the redefinition error.
Any suggestion to fix it?
/home/yunxing/Downloads/mvs/openMVS/libs/MVS/Interface.h:212:6: error: redefinition of ‘bool MVS::ARCHIVE::Load(MVS::ARCHIVE::ArchiveLoad&, _Tp&) [with _Tp = unsigned int]’
bool Load
Specifications like the version of the project, operating system, and hardware
Hi all, I tried to compile openMVS in my Ubuntu 16.04 machine. I got many warnings during the compilation, and it eventually fails.
Steps to reproduce the problem
I followed the exact steps at at Build: Prompt after cmake -- 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.10 found (include: /usr/local/include/eigen3) -- OpenCV 3.2.0 found (include: /usr/local/include;/usr/local/include/opencv) -- CGAL 4.7 found (include: /usr/include) -- VCG found (include: /home/jianwei/Documents/openMVS-Test/vcglib) -- Found required Ceres dependency: Eigen version 3.2.10 in /usr/local/include/eigen3 -- Found required Ceres dependency: Glog in /usr/include -- Found Ceres version: 1.10.0 installed in: /usr/local -- CERES 1.10.0 found (include: /usr/local/include;/usr/local/include/eigen3;/usr/include;/usr/local/include) -- Configuring done -- Generating done -- Build files have been written to: /home/jianwei/Documents/openMVS-Test/openMVS_build
After "make -j2 && sudo make install", I got error: [ 70%] Linking CXX shared library ../../lib/libMVS.so [ 74%] Built target MVS [ 75%] Building CXX object apps/InterfaceVisualSFM/CMakeFiles/InterfaceVisualSFM.dir/InterfaceVisualSFM.cpp.o [ 76%] Building CXX object apps/DensifyPointCloud/CMakeFiles/DensifyPointCloud.dir/DensifyPointCloud.cpp.o In file included from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h:374:0, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Common.h:176, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/Common.h:42, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/DensifyPointCloud.cpp:32: /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/HalfFloat.h: In static member function ‘static short int SEACAVE::hfloat::fromFloat(float)’: /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] const int& fltInt32((int&)fv); ^ /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/HalfFloat.h: In static member function ‘static float SEACAVE::hfloat::toFloat(short int)’: /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return (float&)fltInt32; ^ In file included from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h:422:0, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Common.h:176, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/Common.h:42, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/DensifyPointCloud.cpp:32: /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/SML.h: In destructor ‘SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()’: /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/SML.h:29:28: warning: deleting ‘void’ is undefined [-Wdelete-incomplete] ~SMLVALUE_TYPE() { delete data; } ^ In file included from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:374:0, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Common.h:176, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/Common.h:42, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/InterfaceVisualSFM.cpp:32: /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/HalfFloat.h: In static member function ‘static short int SEACAVE::hfloat::fromFloat(float)’: /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/HalfFloat.h:62:29: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] const int& fltInt32((int&)fv); ^ /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/HalfFloat.h: In static member function ‘static float SEACAVE::hfloat::toFloat(short int)’: /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/HalfFloat.h:70:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] return (float&)fltInt32; ^ In file included from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:422:0, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Common.h:176, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/Common.h:42, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/InterfaceVisualSFM.cpp:32: /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/SML.h: In destructor ‘SEACAVE::SMLVALUE_TYPE::~SMLVALUE_TYPE()’: /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/SML.h:29:28: warning: deleting ‘void’ is undefined [-Wdelete-incomplete] ~SMLVALUE_TYPE() { delete data; } ^ In file included from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Common.h:176:0, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/Common.h:42, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/DensifyPointCloud.cpp:32: /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h: In function ‘float SEACAVE::cbrt5(float)’: /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h:732:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (int&)f = (((int&)f-(127<<23))/3+(127<<23)); ^ /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h:732:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] (int&)f = (((int&)f-(127<<23))/3+(127<<23)); ^ /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h: In member function ‘int SEACAVE::Float::Floor2Int() const’: /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h:1173:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return ((int)&d) >> 16; } ^ /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h: In member function ‘int SEACAVE::Float::Ceil2Int() const’: /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h:1176:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return ((int)&d) >> 16; } ^ In file included from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Common.h:176:0, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/Common.h:42, from /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/DensifyPointCloud.cpp:32: /home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h: In member function ‘bool SEACAVE::TColor::operator==(const SEACAVE::TColor&) const [with TYPE = unsigned char]’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h:2042:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor::operator==(const TColor& col) const { return (((const uint32_t)c) == ((const uint32_t)col.c)); }
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h:2042:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor::operator==(const TColor& col) const { return (((const uint32_t)c) == ((const uint32_t)col.c)); }
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h: In member function ‘bool SEACAVE::TColor::operator!=(const SEACAVE::TColor&) const [with TYPE = unsigned char]’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h:2043:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor::operator!=(const TColor& col) const { return (((const uint32_t)c) != ((const uint32_t)col.c)); }
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h:2043:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor::operator!=(const TColor& col) const { return (((const uint32_t)c) != ((const uint32_t)col.c)); }
^
In file included from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Common.h:176:0,
from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/Common.h:42,
from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/InterfaceVisualSFM.cpp:32:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h: In function ‘float SEACAVE::cbrt5(float)’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:732:8: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h: In member function ‘uint32_t SEACAVE::TColor::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/DensifyPointCloud/../../libs/MVS/../Common/Types.h:2044:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor::toDWORD() const { return ((const uint32_t)c); }
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:732:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
(int&)f = (((int&)f-(127<<23))/3+(127<<23));
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h: In member function ‘int SEACAVE::Float::Floor2Int() const’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:1173:94: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Floor2Int() const { const double d((double)v.f + FLOOR_FIX); return ((int)&d) >> 16; }
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h: In member function ‘int SEACAVE::Float::Ceil2Int() const’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:1176:99: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
inline int Ceil2Int() const { const double d((double)v.f + 1.0 + FLOOR_FIX); return ((int)&d) >> 16; }
^
In file included from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Common.h:176:0,
from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/Common.h:42,
from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/InterfaceVisualSFM.cpp:32:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h: In member function ‘bool SEACAVE::TColor::operator==(const SEACAVE::TColor&) const [with TYPE = unsigned char]’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:2042:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor::operator==(const TColor& col) const { return (((const uint32_t)c) == ((const uint32_t)col.c)); }
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:2042:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor::operator==(const TColor& col) const { return (((const uint32_t)c) == ((const uint32_t)col.c)); }
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h: In member function ‘bool SEACAVE::TColor::operator!=(const SEACAVE::TColor&) const [with TYPE = unsigned char]’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:2043:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor::operator!=(const TColor& col) const { return (((const uint32_t)c) != ((const uint32_t)col.c)); }
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:2043:137: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline bool TColor::operator!=(const TColor& col) const { return (((const uint32_t)c) != ((const uint32_t)col.c)); }
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h: In member function ‘uint32_t SEACAVE::TColor::toDWORD() const [with TYPE = unsigned char; uint32_t = unsigned int]’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:2044:91: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
template <> inline uint32_t TColor::toDWORD() const { return ((const uint32_t)c); }
^
In file included from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.h:2727:0,
from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Common.h:176,
from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/Common.h:42,
from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/InterfaceVisualSFM.cpp:32:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.inl: In instantiation of ‘bool SEACAVE::TImage::Save(const SEACAVE::String&) const [with TYPE = SEACAVE::TPixel]’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/InterfaceVisualSFM.cpp:383:33: required from here
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/../../libs/MVS/../Common/Types.inl:2659:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
static const bool is_littleendian = (((float)b) < 1.f);
^
In file included from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/Util.h:29:0,
from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/InterfaceVisualSFM.cpp:36:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h: In member function ‘void PBA::CameraT::SetMatrixRotation(const Float) [with Float = double; FT = float]’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:252:30: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations]
for(int i = 0; i < 9; ++i) m[0][i] = float_t(r[i]);
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:252:3: note: containing loop
for(int i = 0; i < 9; ++i) m[0][i] = floatt(r[i]);
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h: In member function ‘void PBA::CameraT::GetMatrixRotation(Float ) const [with Float = double; FT = float]’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:256:53: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations]
for(int i = 0; i < 9; ++i) r[i] = Float(m[0][i]);::SetMatrixRotation(const Float) [with Float = float; FT = float]’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:252:30: warning: iteration 3u invokes undefined behavior [-Waggressive-loop-optimizations]
for(int i = 0; i < 9; ++i) m[0][i] = float_t(r[i]);
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:252:3: note: containing loop
for(int i = 0; i < 9; ++i) m[0][i] = float_t(r[i]);
^
[ 77%] Linking CXX executable ../../bin/DensifyPointCloud
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h: In function ‘void PBA::SaveBundlerModel(const char, std::vector<PBA::CameraT >&, std::vector<PBA::Point3D >&, std::vector&, std::vector&, std::vector&)’:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:252:34: warning: array subscript is above array bounds [-Warray-bounds]
for(int i = 0; i < 9; ++i) m[0][i] = float_t(r[i]);
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:252:34: warning: array subscript is above array bounds [-Warray-bounds]
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:252:34: warning: array subscript is above array bounds [-Warray-bounds]
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:252:34: warning: array subscript is above array bounds [-Warray-bounds]
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:252:34: warning: array subscript is above array bounds [-Warray-bounds]
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:252:34: warning: array subscript is above array bounds [-Warray-bounds]
In file included from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/Util.h:29:0,
from /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/InterfaceVisualSFM.cpp:36:
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:302:43: warning: array subscript is above array bounds [-Warray-bounds]
for(int i = 3; i < 9; ++i) ci.m[0][i] = - ci.m[0][i];
^
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:302:43: warning: array subscript is above array bounds [-Warray-bounds]
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:302:43: warning: array subscript is above array bounds [-Warray-bounds]
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:302:43: warning: array subscript is above array bounds [-Warray-bounds]
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:302:43: warning: array subscript is above array bounds [-Warray-bounds]
/home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:302:43: warning: array subscript is above array bounds [-Warray-bounds]
../../lib/libMVS.so: undefined reference to
^ /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h:256:9: note: containing loop for(int i = 0; i < 9; ++i) r[i] = Float(m[0][i]);
^ /home/jianwei/Documents/openMVS-Test/openMVS/apps/InterfaceVisualSFM/DataInterface.h: In member function ‘void PBA::CameraT_
cs_di_post' ../../lib/libMVS.so: undefined reference to
cs_di_etree' ../../lib/libMVS.so: undefined reference tocs_di_pinv' ../../lib/libMVS.so: undefined reference to
cs_di_counts' ../../lib/libMVS.so: undefined reference tocs_di_compress' ../../lib/libMVS.so: undefined reference to
cs_di_sfree' ../../lib/libMVS.so: undefined reference tocs_di_spfree' ../../lib/libMVS.so: undefined reference to
cs_di_transpose' ../../lib/libMVS.so: undefined reference tocs_di_nfree' ../../lib/libMVS.so: undefined reference to
cs_di_amd' ../../lib/libMVS.so: undefined reference tocs_di_cumsum' ../../lib/libMVS.so: undefined reference to
cs_di_symperm' ../../lib/libMVS.so: undefined reference tocs_di_lsolve' ../../lib/libMVS.so: undefined reference to
cs_di_ltsolve' ../../lib/libMVS.so: undefined reference tocs_di_schol' ../../lib/libMVS.so: undefined reference to
cs_di_calloc' ../../lib/libMVS.so: undefined reference tocs_di_multiply' ../../lib/libMVS.so: undefined reference to
cs_di_pvec' ../../lib/libMVS.so: undefined reference tocs_di_malloc' ../../lib/libMVS.so: undefined reference to
cs_di_free' ../../lib/libMVS.so: undefined reference tocs_di_ipvec' ../../lib/libMVS.so: undefined reference to
cs_di_chol' ../../lib/libMVS.so: undefined reference tocs_di_cholsol' collect2: error: ld returned 1 exit status apps/DensifyPointCloud/CMakeFiles/DensifyPointCloud.dir/build.make:153: recipe for target 'bin/DensifyPointCloud' failed make[2]: *** [bin/DensifyPointCloud] Error 1 CMakeFiles/Makefile2:662: recipe for target 'apps/DensifyPointCloud/CMakeFiles/DensifyPointCloud.dir/all' failed make[1]: *** [apps/DensifyPointCloud/CMakeFiles/DensifyPointCloud.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 79%] Linking CXX executable ../../bin/InterfaceVisualSFM ../../lib/libMVS.so: undefined reference to
cs_di_post' ../../lib/libMVS.so: undefined reference tocs_di_etree' ../../lib/libMVS.so: undefined reference to
cs_di_pinv' ../../lib/libMVS.so: undefined reference tocs_di_counts' ../../lib/libMVS.so: undefined reference to
cs_di_compress' ../../lib/libMVS.so: undefined reference tocs_di_sfree' ../../lib/libMVS.so: undefined reference to
cs_di_spfree' ../../lib/libMVS.so: undefined reference tocs_di_transpose' ../../lib/libMVS.so: undefined reference to
cs_di_nfree' ../../lib/libMVS.so: undefined reference tocs_di_amd' ../../lib/libMVS.so: undefined reference to
cs_di_cumsum' ../../lib/libMVS.so: undefined reference tocs_di_symperm' ../../lib/libMVS.so: undefined reference to
cs_di_lsolve' ../../lib/libMVS.so: undefined reference tocs_di_ltsolve' ../../lib/libMVS.so: undefined reference to
cs_di_schol' ../../lib/libMVS.so: undefined reference tocs_di_calloc' ../../lib/libMVS.so: undefined reference to
cs_di_multiply' ../../lib/libMVS.so: undefined reference tocs_di_pvec' ../../lib/libMVS.so: undefined reference to
cs_di_malloc' ../../lib/libMVS.so: undefined reference tocs_di_free' ../../lib/libMVS.so: undefined reference to
cs_di_ipvec' ../../lib/libMVS.so: undefined reference tocs_di_chol' ../../lib/libMVS.so: undefined reference to
cs_di_cholsol' collect2: error: ld returned 1 exit status apps/InterfaceVisualSFM/CMakeFiles/InterfaceVisualSFM.dir/build.make:153: recipe for target 'bin/InterfaceVisualSFM' failed make[2]: [bin/InterfaceVisualSFM] Error 1 CMakeFiles/Makefile2:604: recipe for target 'apps/InterfaceVisualSFM/CMakeFiles/InterfaceVisualSFM.dir/all' failed make[1]: [apps/InterfaceVisualSFM/CMakeFiles/InterfaceVisualSFM.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2Thank you all in advanced.
Jianwei