Building on Ubuntu 16.04


#1

Hi,

I’m trying to compile OpenDroneMap with SLAM support in a fresh Ubuntu 16.04 but I get the following error compiling in SuperBuild

[  7%] Built target opencv
[ 14%] Built target pangolin
[ 15%] Performing uncompress_vocabulary step for 'orb_slam2'
[ 15%] Performing configure_DBoW2 step for 'orb_slam2'
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lucadelu/OpenDroneMap/SuperBuild/build/DBoW2
[ 16%] Performing build_DBoW2 step for 'orb_slam2'
[100%] Built target DBoW2
[ 17%] Performing configure_g2o step for 'orb_slam2'
-- BUILD TYPE:Release
-- Compiling on Unix
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lucadelu/OpenDroneMap/SuperBuild/build/g2o
[ 18%] Performing build_g2o step for 'orb_slam2'
[100%] Built target g2o
[ 19%] Performing configure step for 'orb_slam2'
Build type: Release
-- Using flag -std=c++11.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/lucadelu/OpenDroneMap/SuperBuild/build/orb_slam2
[ 20%] Performing build step for 'orb_slam2'
[ 71%] Built target ORB_SLAM2
[ 78%] Built target rgbd_tum
[ 85%] Built target stereo_kitti
[ 92%] Built target mono_kitti
[100%] Built target mono_tum
[ 21%] No install step for 'orb_slam2'
[ 22%] Completed 'orb_slam2'
[ 25%] Built target orb_slam2
[ 25%] Performing build step for 'mvstexturing'
[ 13%] Built target ext_mapmap
[ 27%] Built target ext_eigen
[ 40%] Built target ext_rayint
[ 54%] Built target ext_mve
[ 55%] Building CXX object libs/tex/CMakeFiles/tex.dir/build_adjacency_graph.cpp.o
In file included from /home/lucadelu/OpenDroneMap/SuperBuild/src/mvstexturing/libs/tex/build_adjacency_graph.cpp:10:0:
/home/lucadelu/OpenDroneMap/SuperBuild/src/mvstexturing/libs/tex/texturing.h:15:22: fatal error: mve/mesh.h: No such file or directory
compilation terminated.
libs/tex/CMakeFiles/tex.dir/build.make:62: recipe for target 'libs/tex/CMakeFiles/tex.dir/build_adjacency_graph.cpp.o' failed
make[5]: *** [libs/tex/CMakeFiles/tex.dir/build_adjacency_graph.cpp.o] Error 1
CMakeFiles/Makefile2:278: recipe for target 'libs/tex/CMakeFiles/tex.dir/all' failed
make[4]: *** [libs/tex/CMakeFiles/tex.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/mvstexturing.dir/build.make:113: recipe for target 'mvstexturing/stamp/mvstexturing-build' failed
make[2]: *** [mvstexturing/stamp/mvstexturing-build] Error 2
CMakeFiles/Makefile2:142: recipe for target 'CMakeFiles/mvstexturing.dir/all' failed
make[1]: *** [CMakeFiles/mvstexturing.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Any hints to fix it?
I downloaded and compiled mve but now I don’t understand where to copy it…


#2

Hi,

this might or might not cause you more confusion but, there are some tips.

http://community.opendronemap.org/t/building-running-odm-on-ubuntu-16-04-not-working/382/8


#3

So, the only good idea that I find in the post is to checkout MVE from https://github.com/simonfuhrmann/mve and copy it to SuperBuild/download. I will try later

Thanks