Package Details: openmvg-git 1.3.r91.g4c7367cd-1

Git Clone URL: (read-only)
Package Base: openmvg-git
Description: open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.
Upstream URL:
Licenses: MPL
Submitter: brookskd
Maintainer: brookskd (bartus)
Last Packager: bartus
Votes: 5
Popularity: 0.602332
First Submitted: 2016-05-01 04:29
Last Updated: 2018-06-12 21:29

Latest Comments

wdna commented on 2018-05-12 13:57

@bartus that worked =) good catch on that gcc8 issue.

==> Finished making: openmvg-git 1.3.r78.g4f94981a-8

bartus commented on 2018-05-11 13:27

@wdna This is a gcc-8 hickup, just rolling back to gcc6 for now. Tell me if it's working now.

wdna commented on 2018-05-11 07:40

Hey, I'm getting the following error both on manual build and this package:

[ 67%] Building CXX object openMVG_Samples/multiview_robust_essential_ba/CMakeFiles/openMVG_sample_multiview_robustEssential_ba.dir/robust_essential_ba.cpp.o
In file included from /usr/include/c++/8.1.0/map:60,
                 from /usr/include/eigen3/Eigen/SparseCore:16,
                 from /var/cache/pacman/pkg/openmvg-git19815/openmvg-git/src/openMVG/src/openMVG/numeric/eigen_alias_definition.hpp:18,
                 from /var/cache/pacman/pkg/openmvg-git19815/openmvg-git/src/openMVG/src/openMVG/multiview/projection.hpp:32,
                 from /var/cache/pacman/pkg/openmvg-git19815/openmvg-git/src/openMVG/src/openMVG/geometry/pose3.hpp:12,
                 from /var/cache/pacman/pkg/openmvg-git19815/openmvg-git/src/openMVG/src/openMVG/cameras/Camera_Intrinsics.hpp:15,
                 from /var/cache/pacman/pkg/openmvg-git19815/openmvg-git/src/openMVG/src/openMVG/sfm/sfm_data.hpp:14,
                 from /var/cache/pacman/pkg/openmvg-git19815/openmvg-git/src/openMVG/src/software/SfM/main_evalQuality.cpp:9:
/usr/include/c++/8.1.0/bits/stl_tree.h: In instantiation of ‘class std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, Eigen::Matrix<double, 3, 3> >, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, Eigen::Matrix<double, 3, 3> > >, Eigen::aligned_allocator<Eigen::Matrix<double, 3, 3> >, std::allocator<std::pair<const std::__cxx11::basic_string<char>, Eigen::Matrix<double, 3, 3> > > >’:
/usr/include/c++/8.1.0/bits/stl_map.h:151:17:   required from ‘class std::map<std::__cxx11::basic_string<char>, Eigen::Matrix<double, 3, 3>, Eigen::aligned_allocator<Eigen::Matrix<double, 3, 3> > >’
/var/cache/pacman/pkg/openmvg-git19815/openmvg-git/src/openMVG/src/software/SfM/io_readGT.hpp:144:65:   required from here
/usr/include/c++/8.1.0/bits/stl_tree.h:452:21: error: static assertion failed: comparison object must be invocable with two arguments of key type
       static_assert(__is_invocable<_Compare&, const _Key&, const _Key&>{},
make[2]: *** [software/SfM/CMakeFiles/openMVG_main_evalQuality.dir/build.make:63: software/SfM/CMakeFiles/openMVG_main_evalQuality.dir/main_evalQuality.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3124: software/SfM/CMakeFiles/openMVG_main_evalQuality.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 67%] Linking CXX executable ../../Linux-x86_64-RELEASE/openMVG_main_ChangeLocalOrigin
[ 67%] Built target openMVG_main_ChangeLocalOrigin
[ 67%] Linking CXX executable ../../Linux-x86_64-RELEASE/openMVG_main_SfMInit_ImageListing
[ 67%] Built target openMVG_main_SfMInit_ImageListing
[ 67%] Linking CXX executable ../../Linux-x86_64-RELEASE/openMVG_sample_multiview_robustEssential
[ 67%] Built target openMVG_sample_multiview_robustEssential
[ 67%] Linking CXX executable ../../Linux-x86_64-RELEASE/openMVG_sample_multiview_robustEssential_ba
[ 67%] Built target openMVG_sample_multiview_robustEssential_ba
[ 68%] Linking CXX executable ../../Linux-x86_64-RELEASE/openMVG_sample_multiview_robustEssential_spherical
[ 68%] Built target openMVG_sample_multiview_robustEssential_spherical
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().

What's missing here?

bartus commented on 2018-04-09 05:46

@nicolasvilla: ~No it shouldn't. The issue was related to openmvg FindFlann.cmake not utilizing flanns pkg-config script which exports libraries that needs to be linked alongside flann(external) (mainly flann_cpp,lz4, see /usr/lib/pkgconfig/flann.pc#Libs). Check CMakeCache.txt if lz4 flag is in openMVG_matching_LIB_DEPENDS variable (this is sourced from PC_FLANN_LIBRARIES:INTERNAL=flann;flann_cpp;lz4).~

Edit: find the issue in flann package, have it fixed on my os for a long time and forgot to report to the maintainer, I made some temporary changes till flann gets patched...

NicolasV commented on 2018-04-06 21:19

Hi. I still cannot compile OpenMVG on my machine. OpenMVG build is still using FLANN: 1.9.1 (external) Does it requires an additional patch regarding the undefined LZ4.... messages?

bartus commented on 2018-04-06 06:34

@Harvie: * lz4: problem lays in FindFlann.cmake {flann.patch} see this issue: I made a pull-req addressing this issue, think I can include it as a patch since pull-req gets through.

Harvie commented on 2018-04-04 12:38

Author of OpenMVE suggests us to use the internal version of FLANN. You can force to use the internal one by removing the flann from your depends array and remove the DFLANN_INCLUDE_DIR_HINTS.

Harvie commented on 2018-04-02 05:21

Cmake says "** Build OpenCV+OpenMVG samples programs: OFF". Is it possibly reason, why openMVG/src/software/ isn't built? I've posted this question to upstream

Harvie commented on 2018-04-01 02:49

Please build and include scripts from openMVG/src/software/ directory of git.

Especially these two are super important to build and include in package:

openMVG/src/software/SfM/ openMVG/src/software/SfM/

Harvie commented on 2018-04-01 02:32

Had to add -llz4 to LDFLAGS in order to build.

All comments