cdcseacave / openMVS

open Multi-View Stereo reconstruction library
http://cdcseacave.github.io
GNU Affero General Public License v3.0
3.29k stars 902 forks source link

Compile error on Ubuntu 15.10 64 bit(GCC 5.2.1) #64

Closed scott-wilson closed 8 years ago

scott-wilson commented 8 years ago

Hello,

I'm trying to compile openMVS, and I'm getting the following error with the default CMake settings:

[ 62%] Building CXX object libs/MVS/CMakeFiles/MVS.dir/DepthMap.cpp.o
In file included from /usr/include/CGAL/basic.h:42:0,
                 from /usr/include/CGAL/Cartesian/Cartesian_base.h:28,
                 from /usr/include/CGAL/Simple_cartesian.h:28,
                 from /home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:36:
/usr/include/CGAL/Memory_sizer.h: In member function ‘CGAL::Memory_sizer::size_type CGAL::Memory_sizer::get(bool) const’:
/usr/include/CGAL/Memory_sizer.h:124:5: error: no matching function for call to ‘possibly(std::ifstream&)’
     CGAL_assertion(f);
     ^
In file included from /usr/include/CGAL/assertions.h:344:0,
                 from /usr/include/CGAL/basic.h:42,
                 from /usr/include/CGAL/Cartesian/Cartesian_base.h:28,
                 from /usr/include/CGAL/Simple_cartesian.h:28,
                 from /home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:36:
/usr/include/CGAL/Uncertain.h:263:13: note: candidate: bool CGAL::possibly(bool)
 inline bool possibly(bool b) { return b; }
             ^
/usr/include/CGAL/Uncertain.h:263:13: note:   no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream<char>}’ to ‘bool’
/usr/include/CGAL/Uncertain.h:275:6: note: candidate: bool CGAL::possibly(CGAL::Uncertain<bool>)
 bool possibly(Uncertain<bool> c)
      ^
/usr/include/CGAL/Uncertain.h:275:6: note:   no known conversion for argument 1 from ‘std::ifstream {aka std::basic_ifstream<char>}’ to ‘CGAL::Uncertain<bool>’
In file included from /home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:33:0:
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.h: In constructor ‘MVS::DepthEstimator::DepthEstimator(MVS::DepthData&, volatile safe_t&, const Image32F&, const MapRefArr&, MVS::DepthEstimator::ENDIRECTION)’:
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.h:232:20: warning: ‘MVS::DepthEstimator::dMax’ will be initialized after [-Wreorder]
  const Depth dMin, dMax;
                    ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.h:212:26: warning:   ‘SEACAVE::cList<MVS::DepthEstimator::NeighborData, const MVS::DepthEstimator::NeighborData&, 0> MVS::DepthEstimator::neighborsData’ [-Wreorder]
  CLISTDEF0(NeighborData) neighborsData; // neighbor pixel depths to be used for smoothing
                          ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:262:1: warning:   when initialized here [-Wreorder]
 DepthEstimator::DepthEstimator(DepthData& _depthData0, volatile Thread::safe_t& _idx, const Image32F& _image0Sum, const MapRefArr& _coords, ENDIRECTION _dir)
 ^
In file included from /home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:176:0,
                 from /home/scott/Repositories/openMVS/libs/MVS/Common.h:38,
                 from /home/scott/Repositories/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
                 from /home/scott/Repositories/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h: In instantiation of ‘SEACAVE::TPixel<TYPE>::TPixel(TYPE, TYPE, TYPE) [with TYPE = float]’:
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.inl:265:45:   required from ‘const SEACAVE::TPixel<float> SEACAVE::TPixel<float>::WHITE’
/home/scott/Repositories/openMVS/libs/MVS/../IO/OBJ.h:45:67:   required from here
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1833:9: warning: ‘SEACAVE::TPixel<float>::<anonymous union>::<anonymous struct>::r’ will be initialized after [-Wreorder]
    TYPE r;
         ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1832:9: warning:   ‘float SEACAVE::TPixel<float>::<anonymous union>::<anonymous struct>::g’ [-Wreorder]
    TYPE g;
         ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1863:9: warning:   when initialized here [-Wreorder]
  inline TPixel(TYPE _r, TYPE _g, TYPE _b) : r(_r), g(_g), b(_b) {}
         ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1832:9: warning: ‘SEACAVE::TPixel<float>::<anonymous union>::<anonymous struct>::g’ will be initialized after [-Wreorder]
    TYPE g;
         ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1831:9: warning:   ‘float SEACAVE::TPixel<float>::<anonymous union>::<anonymous struct>::b’ [-Wreorder]
    TYPE b;
         ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1863:9: warning:   when initialized here [-Wreorder]
  inline TPixel(TYPE _r, TYPE _g, TYPE _b) : r(_r), g(_g), b(_b) {}
         ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h: In instantiation of ‘SEACAVE::TPixel<TYPE>::TPixel(TYPE, TYPE, TYPE) [with TYPE = unsigned char]’:
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.inl:265:45:   required from ‘const SEACAVE::TPixel<unsigned char> SEACAVE::TPixel<unsigned char>::WHITE’
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:651:21:   required from here
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1833:9: warning: ‘SEACAVE::TPixel<unsigned char>::<anonymous union>::<anonymous struct>::r’ will be initialized after [-Wreorder]
    TYPE r;
         ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1832:9: warning:   ‘unsigned char SEACAVE::TPixel<unsigned char>::<anonymous union>::<anonymous struct>::g’ [-Wreorder]
    TYPE g;
         ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1863:9: warning:   when initialized here [-Wreorder]
  inline TPixel(TYPE _r, TYPE _g, TYPE _b) : r(_r), g(_g), b(_b) {}
         ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1832:9: warning: ‘SEACAVE::TPixel<unsigned char>::<anonymous union>::<anonymous struct>::g’ will be initialized after [-Wreorder]
    TYPE g;
         ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1831:9: warning:   ‘unsigned char SEACAVE::TPixel<unsigned char>::<anonymous union>::<anonymous struct>::b’ [-Wreorder]
    TYPE b;
         ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Types.h:1863:9: warning:   when initialized here [-Wreorder]
  inline TPixel(TYPE _r, TYPE _g, TYPE _b) : r(_r), g(_g), b(_b) {}
         ^
In file included from /home/scott/Repositories/openMVS/libs/MVS/Common.h:38:0,
                 from /home/scott/Repositories/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.cxx:4,
                 from /home/scott/Repositories/openMVS_build/libs/MVS/cotire/MVS_CXX_prefix.hxx:4:
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp: At global scope:
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nMinResolution’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:64:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nMinResolution, "Min Resolution", "Do not scale images lower than this resolution", "640")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nResolutionLevel’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:48:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define DEFVAR_OPTDENSE_uint32(name, title, desc, ...)  DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:65:1: note: in expansion of macro ‘DEFVAR_OPTDENSE_uint32’
 DEFVAR_OPTDENSE_uint32(nResolutionLevel, "Resolution Level", "How many times to scale down the images before dense reconstruction", "1")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nMinViews’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:48:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define DEFVAR_OPTDENSE_uint32(name, title, desc, ...)  DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:66:1: note: in expansion of macro ‘DEFVAR_OPTDENSE_uint32’
 DEFVAR_OPTDENSE_uint32(nMinViews, "Min Views", "minimum number of agreeing views to validate a depth", "2")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nMaxViews’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:67:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nMaxViews, "Max Views", "maximum number of neighbor images used to compute the depth-map for the reference image", "12")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nMinViewsFuse’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:48:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define DEFVAR_OPTDENSE_uint32(name, title, desc, ...)  DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:68:1: note: in expansion of macro ‘DEFVAR_OPTDENSE_uint32’
 DEFVAR_OPTDENSE_uint32(nMinViewsFuse, "Min Views Fuse", "minimum number of images that agrees with an estimate during fusion in order to consider it inlier", "2")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nMinViewsFilter’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:48:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define DEFVAR_OPTDENSE_uint32(name, title, desc, ...)  DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:69:1: note: in expansion of macro ‘DEFVAR_OPTDENSE_uint32’
 DEFVAR_OPTDENSE_uint32(nMinViewsFilter, "Min Views Filter", "minimum number of images that agrees with an estimate in order to consider it inlier", "2")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nMinViewsFilterAdjust’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:70:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nMinViewsFilterAdjust, "Min Views Filter Adjust", "minimum number of images that agrees with an estimate in order to consider it inlier (0 - disabled)", "1")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nMinViewsTrustPoint’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:71:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nMinViewsTrustPoint, "Min Views Trust Point", "min-number of views so that the point is considered for approximating the depth-maps (<2 - random initialization)", "2")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nNumViews’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:72:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nNumViews, "Num Views", "Number of views used for depth-map estimation (0 - all views available)", "1", "0")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_bFilterAdjust’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:158:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_bool(SPACE, name, title, desc, ...)    DEFVAR_OPTION(SPACE, CFGITEM::NA, bool, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:54:57: note: in expansion of macro ‘DEFVAR_bool’
 #define MDEFVAR_OPTDENSE_bool(name, title, desc, ...)   DEFVAR_bool(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:73:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_bool’
 MDEFVAR_OPTDENSE_bool(bFilterAdjust, "Filter Adjust", "adjust depth estimates during filtering", "1")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_bAddCorners’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:158:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_bool(SPACE, name, title, desc, ...)    DEFVAR_OPTION(SPACE, CFGITEM::NA, bool, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:54:57: note: in expansion of macro ‘DEFVAR_bool’
 #define MDEFVAR_OPTDENSE_bool(name, title, desc, ...)   DEFVAR_bool(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:74:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_bool’
 MDEFVAR_OPTDENSE_bool(bAddCorners, "Add Corners", "add support points at image corners with nearest neighbor disparities", "1")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fViewMinScore’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:75:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fViewMinScore, "View Min Score", "Min score to consider a neighbor images (0 - disabled)", "2.0")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fViewMinScoreRatio’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:76:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fViewMinScoreRatio, "View Min Score Ratio", "Min score ratio to consider a neighbor images", "0.3")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fMinAngle’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:77:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fMinAngle, "Min Angle", "Min angle for accepting the depth triangulation", "3.0")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fOptimAngle’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:78:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fOptimAngle, "Optim Angle", "Optimal angle for computing the depth triangulation", "12.0")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fMaxAngle’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:79:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fMaxAngle, "Max Angle", "Max angle for accepting the depth triangulation", "45.0")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fDescriptorMinMagnitudeThreshold’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:80:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fDescriptorMinMagnitudeThreshold, "Descriptor Min Magnitude Threshold", "minimum texture variance accepted when matching two patches (0 - disabled)", "0.03"/*NCC*/, "0.005"/*DAISY*/)
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fDepthDiffThreshold’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:81:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fDepthDiffThreshold, "Depth Diff Threshold", "maximum variance allowed for the depths during refinement", "0.01")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fPairwiseMul’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:82:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fPairwiseMul, "Pairwise Mul", "pairwise cost scale to match the unary cost", "0.3")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fOptimizerEps’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:83:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fOptimizerEps, "Optimizer Eps", "MRF optimizer stop epsilon", "0.005")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nOptimizerMaxIters’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:159:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_int32(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, int32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:55:57: note: in expansion of macro ‘DEFVAR_int32’
 #define MDEFVAR_OPTDENSE_int32(name, title, desc, ...)  DEFVAR_int32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:84:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_int32’
 MDEFVAR_OPTDENSE_int32(nOptimizerMaxIters, "Optimizer Max Iters", "MRF optimizer max number of iterations", "80")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nSpeckleSize’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:85:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nSpeckleSize, "Speckle Size", "maximal size of a speckle (small speckles get removed)", "100")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nIpolGapSize’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:86:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nIpolGapSize, "Interpolate Gap Size", "interpolate small gaps (left<->right, top<->bottom)", "7")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nOptimize’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:87:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nOptimize, "Optimize", "should we filter the extracted depth-maps?", "7") // see OPTIMIZE_FLAGS
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nEstimateColors’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:88:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nEstimateColors, "Estimate Colors", "should we estimate the colors for the dense point-cloud?", "1", "0")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nEstimateNormals’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:89:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nEstimateNormals, "Estimate Normals", "should we estimate the normals for the dense point-cloud?", "0", "1", "2")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fNCCThresholdKeep’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:90:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fNCCThresholdKeep, "NCC Threshold Keep", "Maximum 1-NCC score accepted for a match", "0.5", "0.3")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fNCCThresholdRefine’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:91:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fNCCThresholdRefine, "NCC Threshold Refine", "1-NCC score under which a match is not refined anymore", "0.03")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nEstimationIters’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:92:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nEstimationIters, "Estimation Iters", "Number of iterations for depth-map refinement", "3")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nRandomIters’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:93:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nRandomIters, "Random Iters", "Number of iterations for random assignment per pixel", "6")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_nRandomMaxScale’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:160:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_uint32(SPACE, name, title, desc, ...)  DEFVAR_OPTION(SPACE, CFGITEM::NA, uint32_t, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:56:57: note: in expansion of macro ‘DEFVAR_uint32’
 #define MDEFVAR_OPTDENSE_uint32(name, title, desc, ...) DEFVAR_uint32(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:94:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_uint32’
 MDEFVAR_OPTDENSE_uint32(nRandomMaxScale, "Random Max Scale", "Maximum number of iterations to skip during random assignment", "2")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fRandomDepthRatio’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:95:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fRandomDepthRatio, "Random Depth Ratio", "Depth range ratio of the current estimate for random plane assignment", "0.01")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fRandomAngle1Range’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:96:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fRandomAngle1Range, "Random Angle1 Range", "Angle 1 range for random plane assignment (in degrees)", "90.0")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fRandomAngle2Range’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:97:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fRandomAngle2Range, "Random Angle2 Range", "Angle 2 range for random plane assignment (in degrees)", "15.0")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fRandomSmoothDepth’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:98:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fRandomSmoothDepth, "Random Smooth Depth", "Depth variance used during neighbor smoothness assignment", "0.005")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fRandomSmoothNormal’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:99:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fRandomSmoothNormal, "Random Smooth Normal", "Normal variance used during neighbor smoothness assignment (in degrees)", "8.5")
 ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:146:16: warning: ‘MVS::OPTDENSE::name_fRandomSmoothBonus’ defined but not used [-Wunused-variable]
  LPCTSTR const name_##name(index_##name()); \
                ^
/home/scott/Repositories/openMVS/libs/MVS/../Common/Common.h:162:55: note: in expansion of macro ‘DEFVAR_OPTION’
 #define DEFVAR_float(SPACE, name, title, desc, ...)   DEFVAR_OPTION(SPACE, CFGITEM::NA, float, name, title, desc, __VA_ARGS__)
                                                       ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:58:57: note: in expansion of macro ‘DEFVAR_float’
 #define MDEFVAR_OPTDENSE_float(name, title, desc, ...)  DEFVAR_float(OPTDENSE, name, title, desc, __VA_ARGS__)
                                                         ^
/home/scott/Repositories/openMVS/libs/MVS/DepthMap.cpp:100:1: note: in expansion of macro ‘MDEFVAR_OPTDENSE_float’
 MDEFVAR_OPTDENSE_float(fRandomSmoothBonus, "Random Smooth Bonus", "Score factor used to encourage smoothness (1 - disabled)", "0.92")
 ^
libs/MVS/CMakeFiles/MVS.dir/build.make:143: recipe for target 'libs/MVS/CMakeFiles/MVS.dir/DepthMap.cpp.o' failed
make[2]: *** [libs/MVS/CMakeFiles/MVS.dir/DepthMap.cpp.o] Error 1
CMakeFiles/Makefile2:415: recipe for target 'libs/MVS/CMakeFiles/MVS.dir/all' failed
make[1]: *** [libs/MVS/CMakeFiles/MVS.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
cdcseacave commented 8 years ago

There seems to be an error in CGAL, so if that's the case I am not sure how can I help you. Please make sure you have the minimum version required, and that you can build and install it before compiling OpenMVS.

scott-wilson commented 8 years ago

Thanks for the quick reply! What's the minimum required version of CGAL?

cdcseacave commented 8 years ago

please read the wiki

scott-wilson commented 8 years ago

I tried with CGAL 4.7, and that worked. Now I'm running into an error that seems to be related to openMVG. I'll call this ticket closed and try to wrap my head around what's happening with openMVG. Thanks!