Odm: Error in configure.sh

Created on 27 Jun 2016  路  9Comments  路  Source: OpenDroneMap/ODM

On the step bash configure.sh, I get this error.

This is a fresh install of Ubuntu 16.04 64-bit virtual machine, Intel Core i7, 20GB HDD space.

...
[ 29%] Building CXX object io/CMakeFiles/pcl_io.dir/src/vtk_lib_io.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
io/CMakeFiles/pcl_io.dir/build.make:446: recipe for target 'io/CMakeFiles/pcl_io.dir/src/vtk_lib_io.cpp.o' failed
make[5]: *** [io/CMakeFiles/pcl_io.dir/src/vtk_lib_io.cpp.o] Error 4
CMakeFiles/Makefile2:248: recipe for target 'io/CMakeFiles/pcl_io.dir/all' failed
make[4]: *** [io/CMakeFiles/pcl_io.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/pcl.dir/build.make:113: recipe for target 'pcl/stamp/pcl-build' failed
make[2]: *** [pcl/stamp/pcl-build] Error 2
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/pcl.dir/all' failed
make[1]: *** [CMakeFiles/pcl.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Script finished

All 9 comments

This looks like a compiler error, not an ODM error. Have you tried reinstalling the compiler?

Sorry, I'm pretty green about compiling my own code. How would I do that?

I would just do

sudo apt-get remove gcc-5
sudo apt-get install gcc-5

Thanks for replying so quickly, but unfortunately I still get the same result after following your instructions.

What's the output of free -m?

~/OpenDroneMap$ free -m
total used free shared buff/cache available
Mem: 975 534 217 0 223 384
Swap: 1021 567 454

Hey, look at that! Increased memory and HD space for my VM and now I'm past that point. Thanks guys!

Great! you'll want more memory as well (at least 4) to run ODM without crashing

You rock, @dakotabenjamin. Much thanks!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

x-ancin picture x-ancin  路  3Comments

thsant picture thsant  路  5Comments

JCAAUSFRA picture JCAAUSFRA  路  5Comments

nyinyinyanlin picture nyinyinyanlin  路  3Comments

pierotofy picture pierotofy  路  4Comments