Ceres solver & CMake Issue on Ubuntu 18.04


I am trying to install Ceres-solver on UBUNTU 18.04. But always I got following feedback related to CMake.

[100%] Built target bundle_adjuster
^Cexamples/CMakeFiles/nist.dir/build.make:62: recipe for target ‘examples/CMakeFiles/nist.dir/nist.cc.o’ failed
make[2]: *** [examples/CMakeFiles/nist.dir/nist.cc.o] Interrupt
CMakeFiles/Makefile2:7628: recipe for target ‘examples/CMakeFiles/nist.dir/all’ failed
make[1]: *** [examples/CMakeFiles/nist.dir/all] Interrupt
Makefile:140: recipe for target ‘all’ failed
make: *** [all] Interrupt

How to solve?


The “Interrupt” error might come from the compiler trying to use too much RAM and crashing, out of memory. How many cores/CPUs do you have on this machine and how much RAM?


it is a 4GB RAM Raspberry Pi4 with a quadcore Cortex A72 (ARM v8)!SoC a 64 bit a 1.5GHz


I don’t know much about Raspberry Pi, but maybe it doesn’t have enough resources to build Ceres Solver.

You could look into cross-compiling from a desktop computer (x86_64) to ARM v8.

Thanks. I will see for a new PC to support such software.