cdcseacave / openMVS

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

Linking openMVG with openMVS - Eigen dependency issue #324

Open sachinsshetty opened 6 years ago

sachinsshetty commented 6 years ago

Specifications like the version of the project, operating system, and hardware

Ubuntu 16.04, OpenMVG (Latest), OpenMVS (Latest)

Steps to reproduce the problem

I'm building a single executable,combining features of openMVG and openMVS. Eigen and Ceres are compiled externally and included in Cmake for openMVG and openMVS.

OpenMVG compiles successfully as single library.

OpenMVS: make fails in openMVG files while compiling.

Steps Done ;

Eigen Installation

hg clone https://bitbucket.org/eigen/eigen#3.2 mkdir eigen_build && cd eigen_build cmake -DCMAKE_INSTALL_PREFIX=/home/shetty/Desktop/ihds_3d/installDir/eigen . ../eigen

make -j2 sudo make install

Ceres Installation

sudo apt-get -y install libatlas-base-dev libsuitesparse-dev git clone https://ceres-solver.googlesource.com/ceres-solver ceres-solver mkdir ceres_build && cd ceres_build cmake -DEIGEN_INCLUDE_DIR_HINTS=/home/shetty/Desktop/ihds_3d/installDir/eigen/include/eigen3 -DEIGEN_INCLUDE_DIR=/home/shetty/Desktop/ihds_3d/installDir/eigen/include/eigen3 -DCMAKE_INSTALL_PREFIX=/home/shetty/Desktop/ihds_3d/installDir/ceres . ../ceres-solver/ -DMINIGLOG=ON -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF make -j2 && sudo make install cd ..

openMVG

git clone --recursive https://github.com/openMVG/openMVG.git cd openMVG mkdir openMVG_build cd openMVG_build cmake -DCMAKE_BUILD_TYPE=RELEASE . ../src/ -DCMAKE_INSTALL_PREFIX:STRING=/home/shetty/Desktop/ihds_3d/installDir/openmvg -DEIGEN_INCLUDE_DIR=/home/shetty/Desktop/ihds_3d/installDir/eigen/include/eigen3 -DEIGEN_INCLUDE_DIR_HINTS=/home/shetty/Desktop/ihds_3d/installDir/eigen/include/eigen3 make && sudo make install

open MVS

cmake -DCMAKE_BUILD_TYPE=Release -DVCG_DIR=/home/shetty/Desktop/ihds_3d/vcglib/ -DEIGEN_INCLUDE_DIR_HINTS=/home/shetty/Desktop/ihds_3d/installDir/eigen/include/eigen3 -DEIGEN_DIR=/home/shetty/Desktop/ihds_3d/installDir/eigen/include/eigen3 -DCERES_DIR=/home/shetty/Desktop/ihds_3d/installDir/ceres/lib/cmake/Ceres -DOpenMVG_DIR:STRING=/home/shetty/Desktop/ihds_3d/installDir/openmvg/share/openMVG/cmake -DCMAKE_INSTALL_PREFIX=/home/shetty/Desktop/ihds_3d/installDir/openmvs . ../

/home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching/metric_avx2.hpp:79:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < size; j += 8) ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:10:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:19, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: At global scope: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:314:5: error: ‘easyexif’ does not name a type easyexif::EXIFInfo exifInfo; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual bool openMVG::exif::Exif_IO_EasyExif::open(const string&)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:95:26: error: ‘exifInfo’ was not declared in this scope bHaveExifInfo = ( exifInfo.parseFrom( &buf[0], fsize ) == PARSE_EXIF_SUCCESS ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual std::size_t openMVG::exif::Exif_IO_EasyExif::getWidth() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:106:14: error: ‘exifInfo’ was not declared in this scope return exifInfo_.ImageWidth; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual std::size_t openMVG::exif::Exif_IO_EasyExif::getHeight() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:115:14: error: ‘exifInfo’ was not declared in this scope return exifInfo_.ImageHeight; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual float openMVG::exif::Exif_IO_EasyExif::getFocal() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:124:34: error: ‘exifInfo’ was not declared in this scope return staticcast( exifInfo.FocalLength ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual float openMVG::exif::Exif_IO_EasyExif::getFocalLengthIn35mm() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:133:34: error: ‘exifInfo’ was not declared in this scope return staticcast( exifInfo.FocalLengthIn35mm ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual float openMVG::exif::Exif_IO_EasyExif::getFocalPlaneXResolution() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:143:34: error: ‘exifInfo’ was not declared in this scope return staticcast( exifInfo.LensInfo.FocalPlaneXResolution ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual float openMVG::exif::Exif_IO_EasyExif::getFocalPlaneYResolution() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:153:34: error: ‘exifInfo’ was not declared in this scope return staticcast( exifInfo.LensInfo.FocalPlaneYResolution ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual int openMVG::exif::Exif_IO_EasyExif::getFocalPlaneResolutionUnit() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:164:32: error: ‘exifInfo’ was not declared in this scope return staticcast( exifInfo.LensInfo.FocalPlaneResolutionUnit ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual std::cxx11::string openMVG::exif::Exif_IO_EasyExif::getBrand() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:173:25: error: ‘exifInfo’ was not declared in this scope return trimcopy( exifInfo.Make ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual std::__cxx11::string openMVG::exif::Exif_IO_EasyExif::getModel() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:182:25: error: ‘exifInfo’ was not declared in this scope return trimcopy( exifInfo.Model ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual std::cxx11::string openMVG::exif::Exif_IO_EasyExif::getLensModel() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:191:25: error: ‘exifInfo’ was not declared in this scope return trimcopy( exifInfo.LensInfo.Model ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual std::cxx11::string openMVG::exif::Exif_IO_EasyExif::getImageUniqueID() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:200:14: error: ‘exifInfo’ was not declared in this scope return exifInfo_.ImageUniqueID; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual std::cxx11::string openMVG::exif::Exif_IO_EasyExif::allExifData() const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:221:40: error: ‘exifInfo’ was not declared in this scope << "Camera make : " << exifInfo_.Make << "\n" ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual bool openMVG::exif::Exif_IO_EasyExif::GPSLatitude(double) const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:274:11: error: ‘exifInfo’ was not declared in this scope if (exifInfo_.GeoLocation.Latitude != std::numeric_limits::infinity()) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual bool openMVG::exif::Exif_IO_EasyExif::GPSLongitude(double) const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:288:11: error: ‘exifInfo’ was not declared in this scope if (exifInfo_.GeoLocation.Longitude != std::numeric_limits::infinity()) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp: In member function ‘virtual bool openMVG::exif::Exif_IO_EasyExif::GPSAltitude(double*) const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IOEasyExif.hpp:302:11: error: ‘exifInfo’ was not declared in this scope if (exifInfo_.GeoLocation.Altitude != std::numeric_limits::infinity()) ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:19:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h: At global scope: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:66:21: error: template argument 2 is invalid std::pair<bool, Vec3> checkGPS ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h: In function ‘int checkGPS(const string&, const int&)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:72:23: error: template argument 2 is invalid std::pair<bool, Vec3> val(false, Vec3::Zero()); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:72:36: error: reference to ‘Vec3’ is ambiguous std::pair<bool, Vec3> val(false, Vec3::Zero()); ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/feature.hpp:19:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sfm_features_provider.hpp:15, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:4: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/numeric/eigen_alias_definition.hpp:64:31: note: candidates are: using Vec3 = Eigen::Vector3d using Vec3 = Eigen::Vector3d; ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Common.h:42:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:32, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Common.h:239:27: note: typedef class SEACAVE::TMatrix<double, 3, 1> SEACAVE::Vec3 typedef TMatrix<REAL,3,1> Vec3; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:19:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:72:48: error: expression list treated as compound expression in initializer [-fpermissive] std::pair<bool, Vec3> val(false, Vec3::Zero()); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:86:13: error: request for member ‘first’ in ‘val’, which is of non-class type ‘int’ val.first = true; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:90:17: error: request for member ‘second’ in ‘val’, which is of non-class type ‘int’ val.second = lla_to_utm( latitude, longitude, altitude ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:94:17: error: request for member ‘second’ in ‘val’, which is of non-class type ‘int’ val.second = lla_to_ecef( latitude, longitude, altitude ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h: At global scope: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:105:21: error: template argument 2 is invalid std::pair<bool, Vec3> checkPriorWeightsString ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h: In function ‘int checkPriorWeightsString(const string&)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:110:23: error: template argument 2 is invalid std::pair<bool, Vec3> val(true, Vec3::Zero()); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:110:35: error: reference to ‘Vec3’ is ambiguous std::pair<bool, Vec3> val(true, Vec3::Zero()); ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/feature.hpp:19:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sfm_features_provider.hpp:15, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:4: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/numeric/eigen_alias_definition.hpp:64:31: note: candidates are: using Vec3 = Eigen::Vector3d using Vec3 = Eigen::Vector3d; ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Common.h:42:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:32, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Common.h:239:27: note: typedef class SEACAVE::TMatrix<double, 3, 1> SEACAVE::Vec3 typedef TMatrix<REAL,3,1> Vec3; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:19:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:110:47: error: expression list treated as compound expression in initializer [-fpermissive] std::pair<bool, Vec3> val(true, Vec3::Zero()); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:116:9: error: request for member ‘first’ in ‘val’, which is of non-class type ‘int’ val.first = false; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:126:11: error: request for member ‘first’ in ‘val’, which is of non-class type ‘int’ val.first = false; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:128:9: error: request for member ‘second’ in ‘val’, which is of non-class type ‘int’ val.second[i] = readvalue; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h: In function ‘int main_SfMInit_ImageListing(int, char)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:146:23: error: template argument 2 is invalid std::pair<bool, Vec3> prior_w_info(false, Vec3(1.0,1.0,1.0)); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:146:45: error: reference to ‘Vec3’ is ambiguous std::pair<bool, Vec3> prior_w_info(false, Vec3(1.0,1.0,1.0)); ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/feature.hpp:19:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sfm_features_provider.hpp:15, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:4: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/numeric/eigen_alias_definition.hpp:64:31: note: candidates are: using Vec3 = Eigen::Vector3d using Vec3 = Eigen::Vector3d; ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Common.h:42:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:32, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Common.h:239:27: note: typedef class SEACAVE::TMatrix<double, 3, 1> SEACAVE::Vec3 typedef TMatrix<REAL,3,1> Vec3; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:19:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:146:62: error: expression list treated as compound expression in initializer [-fpermissive] std::pair<bool, Vec3> prior_w_info(false, Vec3(1.0,1.0,1.0)); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:330:18: error: request for member ‘first’ in ‘prior_w_info’, which is of non-class type ‘int’ prior_w_info.first = true; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:471:31: error: template argument 2 is invalid const std::pair<bool, Vec3> gps_info = checkGPS(sImageFilename, i_GPS_XYZ_method); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:472:18: error: request for member ‘first’ in ‘gps_info’, which is of non-class type ‘const int’ if (gps_info.first && cmd.used('P')) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:490:33: error: request for member ‘second’ in ‘gps_info’, which is of non-class type ‘const int’ v.posecenter = gps_info.second; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:492:24: error: request for member ‘first’ in ‘prior_w_info’, which is of non-class type ‘int’ if (prior_w_info.first == true) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_SfMInit_ImageListing.h:494:41: error: request for member ‘second’ in ‘prior_w_info’, which is of non-class type ‘int’ v.centerweight = prior_w_info.second; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/SIFT_Anatomy_Image_Describer.hpp:58:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/SIFT_Anatomy_Image_Describer_io.hpp:12, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:14, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:20, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/hierarchical_gaussian_scale_space.hpp: In member function ‘virtual bool openMVG::features::HierarchicalGaussianScaleSpace::NextOctave(openMVG::features::Octave&)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/hierarchical_gaussian_scale_space.hpp:162:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int s = 1; s < octave.sigmas.size(); ++s) ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/SIFT_Anatomy_Image_Describer.hpp:59:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/SIFT_Anatomy_Image_Describer_io.hpp:12, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:14, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:20, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/sift_DescriptorExtractor.hpp: In member function ‘void openMVG::features::sift::Sift_DescriptorExtractor::Keypoints_orientations(std::vector&) const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/sift_DescriptorExtractor.hpp:327:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i_key = 0; i_key < keypoints.size(); ++i_key) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/sift_DescriptorExtractor.hpp: In member function ‘void openMVG::features::sift::Sift_DescriptorExtractor::Keypoints_description(std::vector&) const’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/sift_DescriptorExtractor.hpp:494:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i_key = 0; i_key < keypoints.size(); ++i_key) ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/SIFT_Anatomy_Image_Describer.hpp:61:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/SIFT_Anatomy_Image_Describer_io.hpp:12, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:14, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:20, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/sift_KeypointExtractor.hpp: In member function ‘bool openMVG::features::sift::SIFT_KeypointExtractor::ComputeDogs(const openMVG::features::Octave&)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/sift_KeypointExtractor.hpp:105:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int s = 0; s < m_Dogs.slices.size(); ++s) ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:20:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h: In function ‘int main_ComputeFeatures(int, char)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:290:5: error: reference to ‘Image’ is ambiguous Image imageGray; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/Camera_undistort_image.hpp:16:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/cameras.hpp:19, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sequential/sequential_SfM.hpp:17, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm.hpp:38, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:11, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_container.hpp:25:7: note: candidates are: template class openMVG::image::Image class Image : public Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/DepthMap.h:38:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Scene.h:38, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:33, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Image.h:75:15: note: class MVS::Image class MVS_API Image ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:20:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:290:11: error: expected primary-expression before ‘unsigned’ Image imageGray; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:306:77: error: ‘imageGray’ has not been declared

pragma omp parallel for schedule(dynamic) if (iNumThreads > 0) private(imageGray)

                                                                         ^

/home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:321:49: error: ‘imageGray’ was not declared in this scope if (!ReadImage(sView_filename.c_str(), &imageGray)) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:327:9: error: reference to ‘Image’ is ambiguous Image mask = nullptr; // The mask is null by default ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/Camera_undistort_image.hpp:16:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/cameras.hpp:19, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sequential/sequential_SfM.hpp:17, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm.hpp:38, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:11, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_container.hpp:25:7: note: candidates are: template class openMVG::image::Image class Image : public Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/DepthMap.h:38:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Scene.h:38, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:33, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Image.h:75:15: note: class MVS::Image class MVS_API Image ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:20:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:327:15: error: expected primary-expression before ‘unsigned’ Image mask = nullptr; // The mask is null by default ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:336:9: error: reference to ‘Image’ is ambiguous Image imageMask; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/Camera_undistort_image.hpp:16:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/cameras.hpp:19, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sequential/sequential_SfM.hpp:17, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm.hpp:38, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:11, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_container.hpp:25:7: note: candidates are: template class openMVG::image::Image class Image : public Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/DepthMap.h:38:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Scene.h:38, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:33, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Image.h:75:15: note: class MVS::Image class MVS_API Image ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:20:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:336:15: error: expected primary-expression before ‘unsigned’ Image imageMask; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:340:56: error: ‘imageMask’ was not declared in this scope if (!ReadImage(mask_filename_local.c_str(), &imageMask)) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:348:15: error: ‘imageMask’ was not declared in this scope if (imageMask.Width() == imageGray.Width() && imageMask.Height() == imageGray.Height()) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:348:36: error: ‘imageGray’ was not declared in this scope if (imageMask.Width() == imageGray.Width() && imageMask.Height() == imageGray.Height()) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:349:13: error: ‘mask’ was not declared in this scope mask = &imageMask; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:356:60: error: ‘imageMask’ was not declared in this scope if (!ReadImage(mask__filename_global.c_str(), &imageMask)) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:364:17: error: ‘imageMask’ was not declared in this scope if (imageMask.Width() == imageGray.Width() && imageMask.Height() == imageGray.Height()) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:364:38: error: ‘imageGray’ was not declared in this scope if (imageMask.Width() == imageGray.Width() && imageMask.Height() == imageGray.Height()) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:365:15: error: ‘mask’ was not declared in this scope mask = &imageMask; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:370:50: error: ‘imageGray’ was not declared in this scope auto regions = image_describer->Describe(imageGray, mask); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:370:61: error: ‘mask’ was not declared in this scope auto regions = image_describer->Describe(imageGray, mask); ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/F_ACRobust.hpp:22:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:21, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:21, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansacKernelAdaptator.hpp: At global scope: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansacKernelAdaptator.hpp:125:52: warning: unused parameter ‘U’ [-Wunused-parameter] static void Unnormalize(const Mat &T, const Mat &U, Mat34 P){ ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:23:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:21, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust_Angular.hpp:156:27: warning: unused parameter ‘sfm_data’ [-Wunused-parameter] const sfm::SfM_Data sfm_data, ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust_Angular.hpp:157:52: warning: unused parameter ‘regions_provider’ [-Wunused-parameter] const std::shared_ptr & regions_provider, ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust_Angular.hpp:158:16: warning: unused parameter ‘pairIndex’ [-Wunused-parameter] const Pair pairIndex, ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust_Angular.hpp:159:18: warning: unused parameter ‘dDistanceRatio’ [-Wunused-parameter] const double dDistanceRatio, ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust_Angular.hpp:160:28: warning: unused parameter ‘matches’ [-Wunused-parameter] matching::IndMatches & matches ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:23:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:19: error: template argument 1 is invalid std::vector & vec_3dPoints, ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:19: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:19: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:19: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:19: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:8: error: ‘std::vector’ is not a type std::vector & vec_3dPoints, ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:27:14: error: expected ‘,’ or ‘...’ before ‘<’ token std::vector & vec_3dPoints, ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h: In function ‘bool ColorizeTracks(const openMVG::sfm::SfM_Data&, int)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:39:5: error: ‘vec_tracksColor’ was not declared in this scope vec_tracksColor.resize(sfm_data.GetLandmarks().size()); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:40:5: error: ‘vec_3dPoints’ was not declared in this scope vec_3dPoints.resize(sfm_data.GetLandmarks().size()); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:100:7: error: reference to ‘Image’ is ambiguous Image image_rgb; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/Camera_undistort_image.hpp:16:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/cameras.hpp:19, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sequential/sequential_SfM.hpp:17, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm.hpp:38, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:11, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_container.hpp:25:7: note: candidates are: template class openMVG::image::Image class Image : public Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/DepthMap.h:38:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Scene.h:38, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:33, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Image.h:75:15: note: class MVS::Image class MVS_API Image ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:23:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:100:21: error: expected primary-expression before ‘>’ token Image image_rgb; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:100:23: error: ‘image_rgb’ was not declared in this scope Image image_rgb; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:101:7: error: reference to ‘Image’ is ambiguous Image image_gray; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/Camera_undistort_image.hpp:16:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/cameras.hpp:19, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sequential/sequential_SfM.hpp:17, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm.hpp:38, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:11, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_container.hpp:25:7: note: candidates are: template class openMVG::image::Image class Image : public Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/DepthMap.h:38:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Scene.h:38, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:33, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Image.h:75:15: note: class MVS::Image class MVS_API Image ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:23:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:101:13: error: expected primary-expression before ‘unsigned’ Image image_gray; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:103:12: error: in argument to unary ! if (!b_rgb_image) //try Gray level ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:105:70: error: ‘image_gray’ was not declared in this scope const bool b_gray_image = ReadImage(sView_filename.c_str(), &image_gray); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:106:14: error: in argument to unary ! if (!b_gray_image) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:128:17: error: reference to ‘Vec2’ is ambiguous const Vec2 & pt = it->second.x; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/feature.hpp:19:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sfm_features_provider.hpp:15, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:4: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/numeric/eigen_alias_definition.hpp:88:31: note: candidates are: using Vec2 = Eigen::Vector2d using Vec2 = Eigen::Vector2d; ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Common.h:42:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:32, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Common.h:238:27: note: typedef class SEACAVE::TMatrix<double, 2, 1> SEACAVE::Vec2 typedef TMatrix<REAL,2,1> Vec2; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:23:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:129:58: error: ‘pt’ was not declared in this scope const RGBColor color = b_rgb_image ? image_rgb(pt.y(), pt.x()) : RGBColor(image_gray(pt.y(), pt.x())); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:129:110: error: ‘image_gray’ was not declared in this scope const RGBColor color = b_rgb_image ? image_rgb(pt.y(), pt.x()) : RGBColor(image_gray(pt.y(), pt.x())); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:131:71: error: reference to ‘Vec3’ is ambiguous vec_tracksColor[ trackIds_to_contiguousIndexes[trackId] ] = Vec3(color.r(), color.g(), color.b()); ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/feature.hpp:19:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sfm_features_provider.hpp:15, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:4: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/numeric/eigen_alias_definition.hpp:64:31: note: candidates are: using Vec3 = Eigen::Vector3d using Vec3 = Eigen::Vector3d; ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Common.h:42:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:32, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Common.h:239:27: note: typedef class SEACAVE::TMatrix<double, 3, 1> SEACAVE::Vec3 typedef TMatrix<REAL,3,1> Vec3; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:23:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h: At global scope: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:68: error: template argument 1 is invalid void GetCameraPositions(const SfM_Data & sfm_data, std::vector & vec_camPosition) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:68: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:68: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:68: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:68: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:68: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:68: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:68: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:68: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:68: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:57: error: ‘std::vector’ is not a type void GetCameraPositions(const SfM_Data & sfm_data, std::vector & vec_camPosition) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:148:63: error: expected ‘,’ or ‘...’ before ‘<’ token void GetCameraPositions(const SfM_Data & sfm_data, std::vector & vec_camPosition) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h: In function ‘void GetCameraPositions(const openMVG::sfm::SfM_Data&, int)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:155:7: error: ‘vec_camPosition’ was not declared in this scope vec_camPosition.push_back(pose.center()); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h: In function ‘int main_ComputeSfM_DataColor(int, char)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:244:19: error: template argument 1 is invalid std::vector vec_3dPoints, vec_tracksColor, vec_camPosition; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:244:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:245:61: error: too many arguments to function ‘bool ColorizeTracks(const openMVG::sfm::SfM_Data&, int)’ if (ColorizeTracks(sfm_data, vec_3dPoints, vec_tracksColor)) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:25:6: note: declared here bool ColorizeTracks( ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:250:95: error: no matching function for call to ‘exportToPly(int&, int&, std::__cxx11::string&, int)’ if (plyHelper::exportToPly(vec_3dPoints, vec_camPosition, sOutputPLY_Out, &vec_tracksColor)) ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:14:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:23, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/SfMPlyHelper.hpp:25:1: note: candidate: bool openMVG::plyHelper::exportToPly(const std::vector<Eigen::Matrix<double, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1> > >&, const string&) exportToPly ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/SfMPlyHelper.hpp:25:1: note: candidate expects 2 arguments, 4 provided /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/SfMPlyHelper.hpp:62:13: note: candidate: bool openMVG::plyHelper::exportToPly(const std::vector<Eigen::Matrix<double, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1> > >&, const std::vector<Eigen::Matrix<double, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1> > >&, const string&, const std::vector<Eigen::Matrix<double, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1> > >) inline bool exportToPly ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/SfMPlyHelper.hpp:62:13: note: no known conversion for argument 1 from ‘int’ to ‘const std::vector<Eigen::Matrix<double, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1> > >&’ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:24:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeStructureFromKnownPoses.h: In function ‘int main_ComputeStructureFromKnownPoses(int, char)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeStructureFromKnownPoses.h:285:15: error: reference to ‘Vec2’ is ambiguous const Vec2 & pt = regions_provider->get(imaIndex)->GetRegionPosition(featIndex); ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/feature.hpp:19:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sfm_features_provider.hpp:15, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:4: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/numeric/eigen_alias_definition.hpp:88:31: note: candidates are: using Vec2 = Eigen::Vector2d using Vec2 = Eigen::Vector2d; ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Common.h:42:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:32, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Common.h:238:27: note: typedef class SEACAVE::TMatrix<double, 2, 1> SEACAVE::Vec2 typedef TMatrix<REAL,2,1> Vec2; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:24:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeStructureFromKnownPoses.h:286:26: error: ‘pt’ was not declared in this scope obs[imaIndex] = {pt, featIndex}; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeStructureFromKnownPoses.h:286:23: error: no match for ‘operator=’ (operand types are ‘std::map<unsigned int, openMVG::sfm::Observation, std::less, Eigen::aligned_allocator<std::pair<const unsigned int, openMVG::sfm::Observation> > >::mapped_type {aka openMVG::sfm::Observation}’ and ‘’) obs[imaIndex] = {pt, featIndex}; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm_data.hpp:16:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sfm_features_provider.hpp:18, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:4: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm_landmark.hpp:18:8: note: candidate: openMVG::sfm::Observation& openMVG::sfm::Observation::operator=(const openMVG::sfm::Observation&) struct Observation ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm_landmark.hpp:18:8: note: no known conversion for argument 1 from ‘’ to ‘const openMVG::sfm::Observation&’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm_landmark.hpp:18:8: note: candidate: openMVG::sfm::Observation& openMVG::sfm::Observation::operator=(openMVG::sfm::Observation&&) /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm_landmark.hpp:18:8: note: no known conversion for argument 1 from ‘’ to ‘openMVG::sfm::Observation&&’ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:26:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h: At global scope: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:19: error: template argument 1 is invalid std::vector & vec_3dPoints, ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:19: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:19: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:19: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:19: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:8: error: ‘std::vector’ is not a type std::vector & vec_3dPoints, ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:27:14: error: expected ‘,’ or ‘...’ before ‘<’ token std::vector & vec_3dPoints, ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h: In function ‘bool ColorizeTracks2(const openMVG::sfm::SfM_Data&, int)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:39:5: error: ‘vec_tracksColor’ was not declared in this scope vec_tracksColor.resize(sfm_data.GetLandmarks().size()); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:40:5: error: ‘vec_3dPoints’ was not declared in this scope vec_3dPoints.resize(sfm_data.GetLandmarks().size()); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:100:7: error: reference to ‘Image’ is ambiguous Image image_rgb; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/Camera_undistort_image.hpp:16:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/cameras.hpp:19, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sequential/sequential_SfM.hpp:17, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm.hpp:38, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:11, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_container.hpp:25:7: note: candidates are: template class openMVG::image::Image class Image : public Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/DepthMap.h:38:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Scene.h:38, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:33, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Image.h:75:15: note: class MVS::Image class MVS_API Image ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:26:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:100:21: error: expected primary-expression before ‘>’ token Image image_rgb; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:100:23: error: ‘image_rgb’ was not declared in this scope Image image_rgb; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:101:7: error: reference to ‘Image’ is ambiguous Image image_gray; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/Camera_undistort_image.hpp:16:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/cameras/cameras.hpp:19, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sequential/sequential_SfM.hpp:17, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm.hpp:38, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:11, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_container.hpp:25:7: note: candidates are: template class openMVG::image::Image class Image : public Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/DepthMap.h:38:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Scene.h:38, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:33, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Image.h:75:15: note: class MVS::Image class MVS_API Image ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:26:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:101:13: error: expected primary-expression before ‘unsigned’ Image image_gray; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:103:12: error: in argument to unary ! if (!b_rgb_image) //try Gray level ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:105:70: error: ‘image_gray’ was not declared in this scope const bool b_gray_image = ReadImage(sView_filename.c_str(), &image_gray); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:106:14: error: in argument to unary ! if (!b_gray_image) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:128:17: error: reference to ‘Vec2’ is ambiguous const Vec2 & pt = it->second.x; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/feature.hpp:19:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sfm_features_provider.hpp:15, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:4: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/numeric/eigen_alias_definition.hpp:88:31: note: candidates are: using Vec2 = Eigen::Vector2d using Vec2 = Eigen::Vector2d; ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Common.h:42:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:32, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Common.h:238:27: note: typedef class SEACAVE::TMatrix<double, 2, 1> SEACAVE::Vec2 typedef TMatrix<REAL,2,1> Vec2; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:26:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:129:58: error: ‘pt’ was not declared in this scope const RGBColor color = b_rgb_image ? image_rgb(pt.y(), pt.x()) : RGBColor(image_gray(pt.y(), pt.x())); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:129:110: error: ‘image_gray’ was not declared in this scope const RGBColor color = b_rgb_image ? image_rgb(pt.y(), pt.x()) : RGBColor(image_gray(pt.y(), pt.x())); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:131:71: error: reference to ‘Vec3’ is ambiguous vec_tracksColor[ trackIds_to_contiguousIndexes[trackId] ] = Vec3(color.r(), color.g(), color.b()); ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/feature.hpp:19:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sfm_features_provider.hpp:15, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:4: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/numeric/eigen_alias_definition.hpp:64:31: note: candidates are: using Vec3 = Eigen::Vector3d using Vec3 = Eigen::Vector3d; ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Common.h:42:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:32, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Common.h:239:27: note: typedef class SEACAVE::TMatrix<double, 3, 1> SEACAVE::Vec3 typedef TMatrix<REAL,3,1> Vec3; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:26:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h: At global scope: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:69: error: template argument 1 is invalid void GetCameraPositions2(const SfM_Data & sfm_data, std::vector & vec_camPosition) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:69: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:69: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:69: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:69: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:69: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:69: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:69: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:69: error: template argument 1 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:69: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:58: error: ‘std::vector’ is not a type void GetCameraPositions2(const SfM_Data & sfm_data, std::vector & vec_camPosition) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:148:64: error: expected ‘,’ or ‘...’ before ‘<’ token void GetCameraPositions2(const SfM_Data & sfm_data, std::vector & vec_camPosition) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h: In function ‘void GetCameraPositions2(const openMVG::sfm::SfM_Data&, int)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:155:7: error: ‘vec_camPosition’ was not declared in this scope vec_camPosition.push_back(pose.center()); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h: In function ‘int main_ComputeSfM_DataColor2(int, char)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:249:19: error: template argument 1 is invalid std::vector vec_3dPoints, vec_tracksColor, vec_camPosition; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:249:19: error: template argument 2 is invalid /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:250:62: error: too many arguments to function ‘bool ColorizeTracks2(const openMVG::sfm::SfM_Data&, int)’ if (ColorizeTracks2(sfm_data, vec_3dPoints, vec_tracksColor)) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:25:6: note: declared here bool ColorizeTracks2( ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor2.h:255:95: error: no matching function for call to ‘exportToPly(int&, int&, std::__cxx11::string&, int)’ if (plyHelper::exportToPly(vec_3dPoints, vec_camPosition, sOutputPLY_Out, &vec_tracksColor)) ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeSfM_DataColor.h:14:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:23, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/SfMPlyHelper.hpp:25:1: note: candidate: bool openMVG::plyHelper::exportToPly(const std::vector<Eigen::Matrix<double, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1> > >&, const string&) exportToPly ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/SfMPlyHelper.hpp:25:1: note: candidate expects 2 arguments, 4 provided /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/SfMPlyHelper.hpp:62:13: note: candidate: bool openMVG::plyHelper::exportToPly(const std::vector<Eigen::Matrix<double, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1> > >&, const std::vector<Eigen::Matrix<double, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1> > >&, const string&, const std::vector<Eigen::Matrix<double, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1> > >) inline bool exportToPly ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/SfMPlyHelper.hpp:62:13: note: no known conversion for argument 1 from ‘int’ to ‘const std::vector<Eigen::Matrix<double, 3, 1>, std::allocator<Eigen::Matrix<double, 3, 1> > >&’ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:27:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeStructureFromKnownPoses2.h: In function ‘int main_ComputeStructureFromKnownPoses2(int, char)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeStructureFromKnownPoses2.h:286:15: error: reference to ‘Vec2’ is ambiguous const Vec2 & pt = regions_provider->get(imaIndex)->GetRegionPosition(featIndex); ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/feature.hpp:19:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sfm_features_provider.hpp:15, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:4: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/numeric/eigen_alias_definition.hpp:88:31: note: candidates are: using Vec2 = Eigen::Vector2d using Vec2 = Eigen::Vector2d; ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Common.h:42:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:32, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Common.h:238:27: note: typedef class SEACAVE::TMatrix<double, 2, 1> SEACAVE::Vec2 typedef TMatrix<REAL,2,1> Vec2; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:27:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeStructureFromKnownPoses2.h:287:26: error: ‘pt’ was not declared in this scope obs[imaIndex] = {pt, featIndex}; ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeStructureFromKnownPoses2.h:287:23: error: no match for ‘operator=’ (operand types are ‘std::map<unsigned int, openMVG::sfm::Observation, std::less, Eigen::aligned_allocator<std::pair<const unsigned int, openMVG::sfm::Observation> > >::mapped_type {aka openMVG::sfm::Observation}’ and ‘’) obs[imaIndex] = {pt, featIndex}; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm_data.hpp:16:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/pipelines/sfm_features_provider.hpp:18, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:4: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm_landmark.hpp:18:8: note: candidate: openMVG::sfm::Observation& openMVG::sfm::Observation::operator=(const openMVG::sfm::Observation&) struct Observation ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm_landmark.hpp:18:8: note: no known conversion for argument 1 from ‘’ to ‘const openMVG::sfm::Observation&’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm_landmark.hpp:18:8: note: candidate: openMVG::sfm::Observation& openMVG::sfm::Observation::operator=(openMVG::sfm::Observation&&) /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/sfm/sfm_landmark.hpp:18:8: note: no known conversion for argument 1 from ‘’ to ‘openMVG::sfm::Observation&&’ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6:0: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h: In function ‘int combined_mvg(int, char*)’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:83:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ In file included from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Types.h:2730:0, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Common.h:176, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/Common.h:42, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/DensifyPointCloud.h:32, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:1: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Types.inl: In instantiation of ‘bool SEACAVE::TImage::Save(const SEACAVE::String&) const [with TYPE = SEACAVE::TColor]’: /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/TextureMesh.h:259:46: required from here /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/../../libs/MVS/../Common/Types.inl:2659:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] static const bool is_little_endian = (((float)b) < 1.f); ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/F_ACRobust.hpp:20:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:21, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:21, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/guided_matching.hpp: In instantiation of ‘void openMVG::geometry_aware::GuidedMatching(const ModelArg&, const Mat&, const Mat&, double, openMVG::matching::IndMatches&) [with ModelArg = Eigen::Matrix<double, 3, 3>; ErrorArg = openMVG::homography::kernel::AsymmetricError; openMVG::Mat = Eigen::Matrix<double, -1, -1>; openMVG::matching::IndMatches = std::vector]’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/H_ACRobust.hpp:166:60: required from here /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/guided_matching.hpp:43:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t i = 0; i < xLeft.cols(); ++i) { ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/guided_matching.hpp:47:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (size_t j = 0; j < xRight.cols(); ++j) { ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:23:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:21, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust_Angular.hpp: In instantiation of ‘bool openMVG::matching_image_collection::GeometricFilter_ESphericalMatrix_AC_Angular::Robust_estimation(const openMVG::sfm::SfM_Data, const std::shared_ptr<_Tp1>&, openMVG::Pair, const IndMatches&, openMVG::matching::IndMatches&) [with Regions_or_Features_ProviderT = openMVG::sfm::Regions_Provider; openMVG::Pair = std::pair<unsigned int, unsigned int>; openMVG::matching::IndMatches = std::vector]’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/GeometricFilter.hpp:96:7: required from ‘void openMVG::matching_image_collection::ImageCollectionGeometricFilter::Robust_model_estimation(const GeometryFunctor&, const openMVG::matching::PairWiseMatches&, bool, double, C_Progress) [with GeometryFunctor = openMVG::matching_image_collection::GeometricFilter_ESphericalMatrix_AC_Angular]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:507:49: required from here /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust_Angular.hpp:116:20: warning: unused variable ‘threshold’ [-Wunused-variable] const double & threshold = ac_ransac_output.first; ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_convolution.hpp:16:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_filtering.hpp:27, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/hierarchical_gaussian_scale_space.hpp:16, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/SIFT_Anatomy_Image_Describer.hpp:58, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/SIFT_Anatomy_Image_Describer_io.hpp:12, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:14, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:20, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_convolution_base.hpp: In instantiation of ‘void openMVG::image::convbuffer(T1, const T2, int, int) [with T1 = float; T2 = double]’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_convolution.hpp:115:17: required from ‘void openMVG::image::ImageHorizontalConvolution(const ImageTypeIn&, const Kernel&, ImageTypeOut&) [with ImageTypeIn = openMVG::image::Image; ImageTypeOut = openMVG::image::Image; Kernel = Eigen::Matrix<double, 3, 1>]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_filtering.hpp:50:29: required from ‘void openMVG::image::ImageXDerivative(const Image&, Image&, bool) [with Image = openMVG::image::Image]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/sift/sift_DescriptorExtractor.hpp:145:71: required from here /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_convolution_base.hpp:28:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( size_t i = 0; i < rsize; ++i ) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/image/image_convolution_base.hpp:31:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( size_t j = 0; j < ksize; ++j ) ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/F_ACRobust.hpp:21:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:21, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:21, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansac.hpp: In instantiation of ‘std::pair<double, double> openMVG::robust::ACRANSAC(const Kernel&, std::vector&, unsigned int, typename Kernel::Model, double, bool) [with Kernel = openMVG::robust::ACKernelAdaptor<openMVG::homography::kernel::FourPointSolver, openMVG::homography::kernel::AsymmetricError, openMVG::UnnormalizerI, Eigen::Matrix<double, 3, 3> >; typename Kernel::Model = Eigen::Matrix<double, 3, 3>]’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/H_ACRobust.hpp:87:15: required from ‘bool openMVG::matching_image_collection::GeometricFilter_HMatrix_AC::Robust_estimation(const openMVG::sfm::SfM_Data, const std::shared_ptr<_Tp1>&, openMVG::Pair, const IndMatches&, openMVG::matching::IndMatches&) [with Regions_or_Features_ProviderT = openMVG::sfm::Regions_Provider; openMVG::Pair = std::pair<unsigned int, unsigned int>; openMVG::matching::IndMatches = std::vector]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/GeometricFilter.hpp:96:7: required from ‘void openMVG::matching_image_collection::ImageCollectionGeometricFilter::Robust_model_estimation(const GeometryFunctor&, const openMVG::matching::PairWiseMatches&, bool, double, C_Progress) [with GeometryFunctor = openMVG::matching_image_collection::GeometricFilter_HMatrix_AC]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:468:79: required from here /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansac.hpp:446:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!bACRansacMode && iter > nIterReserve2) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansac.hpp: In instantiation of ‘std::pair<double, double> openMVG::robust::ACRANSAC(const Kernel&, std::vector&, unsigned int, typename Kernel::Model, double, bool) [with Kernel = openMVG::robust::ACKernelAdaptor<openMVG::fundamental::kernel::SevenPointSolver, openMVG::fundamental::kernel::EpipolarDistanceError, openMVG::UnnormalizerT, Eigen::Matrix<double, 3, 3> >; typename Kernel::Model = Eigen::Matrix<double, 3, 3>]’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/F_ACRobust.hpp:83:15: required from ‘bool openMVG::matching_image_collection::GeometricFilter_FMatrix_AC::Robust_estimation(const openMVG::sfm::SfM_Data, const std::shared_ptr<_Tp1>&, openMVG::Pair, const IndMatches&, openMVG::matching::IndMatches&) [with Regions_or_Features_ProviderT = openMVG::sfm::Regions_Provider; openMVG::Pair = std::pair<unsigned int, unsigned int>; openMVG::matching::IndMatches = std::vector]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/GeometricFilter.hpp:96:7: required from ‘void openMVG::matching_image_collection::ImageCollectionGeometricFilter::Robust_model_estimation(const GeometryFunctor&, const openMVG::matching::PairWiseMatches&, bool, double, C_Progress) [with GeometryFunctor = openMVG::matching_image_collection::GeometricFilter_FMatrix_AC]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:475:78: required from here /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansac.hpp:446:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/F_ACRobust.hpp:22:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:21, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:21, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansacKernelAdaptator.hpp: In instantiation of ‘openMVG::robust::ACKernelAdaptorEssential<SolverArg, ErrorArg, ModelArg>::ACKernelAdaptorEssential(const Mat2X&, const Mat3X&, int, int, const Mat2X&, const Mat3X&, int, int, const Mat3&, const Mat3&) [with SolverArg = openMVG::essential::kernel::FivePointSolver; ErrorArg = openMVG::fundamental::kernel::EpipolarDistanceError; ModelArg = Eigen::Matrix<double, 3, 3>; openMVG::Mat2X = Eigen::Matrix<double, 2, -1>; openMVG::Mat3X = Eigen::Matrix<double, 3, -1>; openMVG::Mat3 = Eigen::Matrix<double, 3, 3>]’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust.hpp:109:43: required from ‘bool openMVG::matching_image_collection::GeometricFilter_EMatrix_AC::Robust_estimation(const openMVG::sfm::SfM_Data, const std::shared_ptr<_Tp1>&, openMVG::Pair, const IndMatches&, openMVG::matching::IndMatches&) [with Regions_or_Features_ProviderT = openMVG::sfm::Regions_Provider; openMVG::Pair = std::pair<unsigned int, unsigned int>; openMVG::matching::IndMatches = std::vector]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/GeometricFilter.hpp:96:7: required from ‘void openMVG::matching_image_collection::ImageCollectionGeometricFilter::Robust_model_estimation(const GeometryFunctor&, const openMVG::matching::PairWiseMatches&, bool, double, C_Progress) [with GeometryFunctor = openMVG::matching_image_collection::GeometricFilter_EMatrix_AC]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:482:78: required from here /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansacKernelAdaptator.hpp:207:50: warning: unused parameter ‘w1’ [-Wunused-parameter] const Mat2X &x1, const Mat3X & bearing1, int w1, int h1, ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansacKernelAdaptator.hpp:207:58: warning: unused parameter ‘h1’ [-Wunused-parameter] const Mat2X &x1, const Mat3X & bearing1, int w1, int h1, ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/F_ACRobust.hpp:21:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:21, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:21, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansac.hpp: In instantiation of ‘std::pair<double, double> openMVG::robust::ACRANSAC(const Kernel&, std::vector&, unsigned int, typename Kernel::Model, double, bool) [with Kernel = openMVG::robust::ACKernelAdaptorEssential<openMVG::essential::kernel::FivePointSolver, openMVG::fundamental::kernel::EpipolarDistanceError, Eigen::Matrix<double, 3, 3> >; typename Kernel::Model = Eigen::Matrix<double, 3, 3>]’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust.hpp:115:32: required from ‘bool openMVG::matching_image_collection::GeometricFilter_EMatrix_AC::Robust_estimation(const openMVG::sfm::SfM_Data, const std::shared_ptr<_Tp1>&, openMVG::Pair, const IndMatches&, openMVG::matching::IndMatches&) [with Regions_or_Features_ProviderT = openMVG::sfm::Regions_Provider; openMVG::Pair = std::pair<unsigned int, unsigned int>; openMVG::matching::IndMatches = std::vector]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/GeometricFilter.hpp:96:7: required from ‘void openMVG::matching_image_collection::ImageCollectionGeometricFilter::Robust_model_estimation(const GeometryFunctor&, const openMVG::matching::PairWiseMatches&, bool, double, C_Progress) [with GeometryFunctor = openMVG::matching_image_collection::GeometricFilter_EMatrix_AC]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:482:78: required from here /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansac.hpp:446:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (!bACRansacMode && iter > nIterReserve2) ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansac.hpp: In instantiation of ‘std::pair<double, double> openMVG::robust::ACRANSAC(const Kernel&, std::vector&, unsigned int, typename Kernel::Model, double, bool) [with Kernel = openMVG::robust::ACKernelAdaptor_AngularRadianError<openMVG::EightPointRelativePoseSolver, openMVG::AngularError, Eigen::Matrix<double, 3, 3> >; typename Kernel::Model = Eigen::Matrix<double, 3, 3>]’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust_Angular.hpp:114:15: required from ‘bool openMVG::matching_image_collection::GeometricFilter_ESphericalMatrix_AC_Angular::Robust_estimation(const openMVG::sfm::SfM_Data, const std::shared_ptr<_Tp1>&, openMVG::Pair, const IndMatches&, openMVG::matching::IndMatches&) [with Regions_or_Features_ProviderT = openMVG::sfm::Regions_Provider; openMVG::Pair = std::pair<unsigned int, unsigned int>; openMVG::matching::IndMatches = std::vector]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/GeometricFilter.hpp:96:7: required from ‘void openMVG::matching_image_collection::ImageCollectionGeometricFilter::Robust_model_estimation(const GeometryFunctor&, const openMVG::matching::PairWiseMatches&, bool, double, C_Progress) [with GeometryFunctor = openMVG::matching_image_collection::GeometricFilter_ESphericalMatrix_AC_Angular]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:507:49: required from here /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansac.hpp:446:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/F_ACRobust.hpp:22:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:21, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:21, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansacKernelAdaptator.hpp: In instantiation of ‘void openMVG::robust::ACKernelAdaptorEssential<SolverArg, ErrorArg, ModelArg>::Unnormalize(openMVG::robust::ACKernelAdaptorEssential<SolverArg, ErrorArg, ModelArg>::Model) const [with SolverArg = openMVG::essential::kernel::FivePointSolver; ErrorArg = openMVG::fundamental::kernel::EpipolarDistanceError; ModelArg = Eigen::Matrix<double, 3, 3>; openMVG::robust::ACKernelAdaptorEssential<SolverArg, ErrorArg, ModelArg>::Model = Eigen::Matrix<double, 3, 3>]’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansac.hpp:482:7: required from ‘std::pair<double, double> openMVG::robust::ACRANSAC(const Kernel&, std::vector&, unsigned int, typename Kernel::Model, double, bool) [with Kernel = openMVG::robust::ACKernelAdaptorEssential<openMVG::essential::kernel::FivePointSolver, openMVG::fundamental::kernel::EpipolarDistanceError, Eigen::Matrix<double, 3, 3> >; typename Kernel::Model = Eigen::Matrix<double, 3, 3>]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust.hpp:115:32: required from ‘bool openMVG::matching_image_collection::GeometricFilter_EMatrix_AC::Robust_estimation(const openMVG::sfm::SfM_Data, const std::shared_ptr<_Tp1>&, openMVG::Pair, const IndMatches&, openMVG::matching::IndMatches&) [with Regions_or_Features_ProviderT = openMVG::sfm::Regions_Provider; openMVG::Pair = std::pair<unsigned int, unsigned int>; openMVG::matching::IndMatches = std::vector]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/GeometricFilter.hpp:96:7: required from ‘void openMVG::matching_image_collection::ImageCollectionGeometricFilter::Robust_model_estimation(const GeometryFunctor&, const openMVG::matching::PairWiseMatches&, bool, double, C_Progress) [with GeometryFunctor = openMVG::matching_image_collection::GeometricFilter_EMatrix_AC]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:482:78: required from here /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansacKernelAdaptator.hpp:254:28: warning: unused parameter ‘model’ [-Wunused-parameter] void Unnormalize(Model model) const {} ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansacKernelAdaptator.hpp: In instantiation of ‘void openMVG::robust::ACKernelAdaptor_AngularRadianError<SolverArg, ErrorArg, ModelArg>::Unnormalize(openMVG::robust::ACKernelAdaptor_AngularRadianError<SolverArg, ErrorArg, ModelArg>::Model) const [with SolverArg = openMVG::EightPointRelativePoseSolver; ErrorArg = openMVG::AngularError; ModelArg = Eigen::Matrix<double, 3, 3>; openMVG::robust::ACKernelAdaptor_AngularRadianError<SolverArg, ErrorArg, ModelArg>::Model = Eigen::Matrix<double, 3, 3>]’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansac.hpp:482:7: required from ‘std::pair<double, double> openMVG::robust::ACRANSAC(const Kernel&, std::vector&, unsigned int, typename Kernel::Model, double, bool) [with Kernel = openMVG::robust::ACKernelAdaptor_AngularRadianError<openMVG::EightPointRelativePoseSolver, openMVG::AngularError, Eigen::Matrix<double, 3, 3> >; typename Kernel::Model = Eigen::Matrix<double, 3, 3>]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/E_ACRobust_Angular.hpp:114:15: required from ‘bool openMVG::matching_image_collection::GeometricFilter_ESphericalMatrix_AC_Angular::Robust_estimation(const openMVG::sfm::SfM_Data, const std::shared_ptr<_Tp1>&, openMVG::Pair, const IndMatches&, openMVG::matching::IndMatches&) [with Regions_or_Features_ProviderT = openMVG::sfm::Regions_Provider; openMVG::Pair = std::pair<unsigned int, unsigned int>; openMVG::matching::IndMatches = std::vector]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/matching_image_collection/GeometricFilter.hpp:96:7: required from ‘void openMVG::matching_image_collection::ImageCollectionGeometricFilter::Robust_model_estimation(const GeometryFunctor&, const openMVG::matching::PairWiseMatches&, bool, double, C_Progress) [with GeometryFunctor = openMVG::matching_image_collection::GeometricFilter_ESphericalMatrix_AC_Angular]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeMatches.h:507:49: required from here /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/robust_estimation/robust_estimator_ACRansacKernelAdaptator.hpp:317:28: warning: unused parameter ‘model’ [-Wunused-parameter] void Unnormalize(Model * model) const { ^ In file included from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/main_ComputeFeatures.h:10:0, from /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/combination/combined_mvg.h:20, from /home/shetty/Desktop/ihds_3d/openMVS-master/apps/Combined/combined.cpp:6: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/archives/json.hpp: In instantiation of ‘void cereal::save(cereal::JSONOutputArchive&, const T&) [with T = unsigned char; typename cereal::traits::detail::EnableIfHelper<std::is_arithmetic<_Tp>::value>::type = (cereal::traits::detail::type)0]’: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:424:34: required from ‘ArchiveType& cereal::OutputArchive<ArchiveType, Flags>::processImpl(const T&) [with T = unsigned char; typename cereal::traits::detail::EnableIfHelper<cereal::traits::has_non_member_save<T, ArchiveType>::value, (! cereal::traits::has_invalid_output_versioning<T, ArchiveType>::value), (cereal::traits::is_output_serializable<T, ArchiveType>::value && (cereal::traits::is_specialized_non_member_save<T, ArchiveType>::value || (! cereal::traits::is_specialized<T, ArchiveType>::value)))>::type = (cereal::traits::detail::type)0; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:347:9: required from ‘void cereal::OutputArchive<ArchiveType, Flags>::process(T&&) [with T = const unsigned char&; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:249:9: required from ‘ArchiveType& cereal::OutputArchive<ArchiveType, Flags>::operator()(Types&& ...) [with Types = {const unsigned char&}; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/archives/json.hpp:906:7: required from ‘void cereal::save(cereal::JSONOutputArchive&, const cereal::NameValuePair&) [with T = unsigned char]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:424:34: required from ‘ArchiveType& cereal::OutputArchive<ArchiveType, Flags>::processImpl(const T&) [with T = cereal::NameValuePair; typename cereal::traits::detail::EnableIfHelper<cereal::traits::has_non_member_save<T, ArchiveType>::value, (! cereal::traits::has_invalid_output_versioning<T, ArchiveType>::value), (cereal::traits::is_output_serializable<T, ArchiveType>::value && (cereal::traits::is_specialized_non_member_save<T, ArchiveType>::value || (! cereal::traits::is_specialized<T, ArchiveType>::value)))>::type = (cereal::traits::detail::type)0; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:347:9: required from ‘void cereal::OutputArchive<ArchiveType, Flags>::process(T&&) [with T = cereal::NameValuePair; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:249:9: required from ‘ArchiveType& cereal::OutputArchive<ArchiveType, Flags>::operator()(Types&& ...) [with Types = {cereal::NameValuePair}; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/types/memory.hpp:356:9: required from ‘void cereal::save(Archive&, const cereal::memory_detail::PtrWrapper<const std::unique_ptr<T, D>&>&) [with Archive = cereal::JSONOutputArchive; T = const openMVG::features::AKAZE_Image_describer_SURF; D = cereal::detail::EmptyDeleter]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:424:34: required from ‘ArchiveType& cereal::OutputArchive<ArchiveType, Flags>::processImpl(const T&) [with T = cereal::memory_detail::PtrWrapper<const std::unique_ptr<const openMVG::features::AKAZE_Image_describer_SURF, cereal::detail::EmptyDeleter >&>; typename cereal::traits::detail::EnableIfHelper<cereal::traits::has_non_member_save<T, ArchiveType>::value, (! cereal::traits::has_invalid_output_versioning<T, ArchiveType>::value), (cereal::traits::is_output_serializable<T, ArchiveType>::value && (cereal::traits::is_specialized_non_member_save<T, ArchiveType>::value || (! cereal::traits::is_specialized<T, ArchiveType>::value)))>::type = (cereal::traits::detail::type)0; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:347:9: required from ‘void cereal::OutputArchive<ArchiveType, Flags>::process(T&&) [with T = const cereal::memory_detail::PtrWrapper<const std::unique_ptr<const openMVG::features::AKAZE_Image_describer_SURF, cereal::detail::EmptyDeleter >&>&; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:249:9: required from ‘ArchiveType& cereal::OutputArchive<ArchiveType, Flags>::operator()(Types&& ...) [with Types = {const cereal::memory_detail::PtrWrapper<const std::unique_ptr<const openMVG::features::AKAZE_Image_describer_SURF, cereal::detail::EmptyDeleter >&>&}; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/archives/json.hpp:906:7: required from ‘void cereal::save(cereal::JSONOutputArchive&, const cereal::NameValuePair&) [with T = cereal::memory_detail::PtrWrapper<const std::unique_ptr<const openMVG::features::AKAZE_Image_describer_SURF, cereal::detail::EmptyDeleter >&>]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:424:34: required from ‘ArchiveType& cereal::OutputArchive<ArchiveType, Flags>::processImpl(const T&) [with T = cereal::NameValuePair<cereal::memory_detail::PtrWrapper<const std::unique_ptr<const openMVG::features::AKAZE_Image_describer_SURF, cereal::detail::EmptyDeleter >&> >; typename cereal::traits::detail::EnableIfHelper<cereal::traits::has_non_member_save<T, ArchiveType>::value, (! cereal::traits::has_invalid_output_versioning<T, ArchiveType>::value), (cereal::traits::is_output_serializable<T, ArchiveType>::value && (cereal::traits::is_specialized_non_member_save<T, ArchiveType>::value || (! cereal::traits::is_specialized<T, ArchiveType>::value)))>::type = (cereal::traits::detail::type)0; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:347:9: required from ‘void cereal::OutputArchive<ArchiveType, Flags>::process(T&&) [with T = cereal::NameValuePair<cereal::memory_detail::PtrWrapper<const std::unique_ptr<const openMVG::features::AKAZE_Image_describer_SURF, cereal::detail::EmptyDeleter >&> >; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/cereal.hpp:249:9: required from ‘ArchiveType& cereal::OutputArchive<ArchiveType, Flags>::operator()(Types&& ...) [with Types = {cereal::NameValuePair<cereal::memory_detail::PtrWrapper<const std::unique_ptr<const openMVG::features::AKAZE_Image_describer_SURF, cereal::detail::EmptyDeleter >&> >}; ArchiveType = cereal::JSONOutputArchive; unsigned int Flags = 0u]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/details/polymorphic_impl.hpp:640:15: required from ‘cereal::detail::OutputBindingCreator<Archive, T>::OutputBindingCreator()::<lambda(void, const void, const std::type_info&)> [with Archive = cereal::JSONOutputArchive; T = openMVG::features::AKAZE_Image_describer_SURF]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/details/polymorphic_impl.hpp:633:13: required from ‘struct cereal::detail::OutputBindingCreator<Archive, T>::OutputBindingCreator() [with Archive = cereal::JSONOutputArchive; T = openMVG::features::AKAZE_Image_describer_SURF]::<lambda(void, const void, const class std::type_info&)>’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/details/polymorphic_impl.hpp:632:32: required from ‘cereal::detail::OutputBindingCreator<Archive, T>::OutputBindingCreator() [with Archive = cereal::JSONOutputArchive; T = openMVG::features::AKAZE_Image_describer_SURF]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/details/static_object.hpp:75:20: required from ‘static T& cereal::detail::StaticObject::create() [with T = cereal::detail::OutputBindingCreator<cereal::JSONOutputArchive, openMVG::features::AKAZE_Image_describer_SURF>]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/details/static_object.hpp:85:24: required from ‘static T& cereal::detail::StaticObject::getInstance() [with T = cereal::detail::OutputBindingCreator<cereal::JSONOutputArchive, openMVG::features::AKAZE_Image_describer_SURF>]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/details/polymorphic_impl.hpp:668:91: required from ‘static const cereal::detail::OutputBindingCreator<Archive, T>& cereal::detail::create_bindings<Archive, T>::save(std::true_type) [with Archive = cereal::JSONOutputArchive; T = openMVG::features::AKAZE_Image_describer_SURF; std::true_type = std::integral_constant<bool, true>]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/details/polymorphic_impl.hpp:704:39: required from ‘static void cereal::detail::polymorphic_serialization_support<Archive, T>::instantiate() [with Archive = cereal::JSONOutputArchive; T = openMVG::features::AKAZE_Image_describer_SURF]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/details/polymorphic_impl.hpp:686:5: required from ‘struct cereal::detail::polymorphic_serialization_support<cereal::JSONOutputArchive, openMVG::features::AKAZE_Image_describer_SURF>’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/archives/json.hpp:976:1: required by substitution of ‘template<class T, class BindingTag> typename cereal::detail::polymorphic_serialization_support<cereal::JSONOutputArchive, T>::type cereal::detail::instantiate_polymorphic_binding(T, cereal::JSONOutputArchive, BindingTag, cereal::detail::adl_tag) [with T = openMVG::features::AKAZE_Image_describer_SURF; BindingTag = cereal::detail::{anonymous}::polymorphic_binding_tag]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/details/polymorphic_impl.hpp:724:40: required from ‘void cereal::detail::bind_to_archives<T, Tag>::bind(std::false_type) const [with T = openMVG::features::AKAZE_Image_describer_SURF; Tag = cereal::detail::{anonymous}::polymorphic_binding_tag; std::false_type = std::integral_constant<bool, false>]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/details/polymorphic_impl.hpp:738:13: required from ‘const cereal::detail::bind_to_archives<T, Tag>& cereal::detail::bind_to_archives<T, Tag>::bind() const [with T = openMVG::features::AKAZE_Image_describer_SURF; Tag = cereal::detail::{anonymous}::polymorphic_binding_tag]’ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/features/image_describer_akaze_io.hpp:35:1: required from here /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/archives/json.hpp:934:5: warning: passing ‘unsigned char’ chooses ‘int’ over ‘unsigned int’ [-Wsign-promo] ar.saveValue( t ); ^ /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG_dependencies/cereal/include/cereal/archives/json.hpp:934:5: warning: in call to ‘void cereal::JSONOutputArchive::saveValue(int)’ [-Wsign-promo] apps/Combined/CMakeFiles/Combined.dir/build.make:62: recipe for target 'apps/Combined/CMakeFiles/Combined.dir/combined.cpp.o' failed make[2]: [apps/Combined/CMakeFiles/Combined.dir/combined.cpp.o] Error 1 CMakeFiles/Makefile2:951: recipe for target 'apps/Combined/CMakeFiles/Combined.dir/all' failed make[1]: [apps/Combined/CMakeFiles/Combined.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2 shetty@shetty-X556UR:~/Desktop/ihds_3d/openMVS-master/openMVSBuild$

cdcseacave commented 6 years ago

as far as I can see the first error is in OpenMVG: /home/shetty/Desktop/ihds_3d/installDir/openmvg/include/openMVG/exif/exif_IO_EasyExif.hpp:314:5: error: ‘easyexif’ does not name a type