# Ceres solver & CMake Issue on Ubuntu 18.04

**URL:** <https://discourse.cmake.org/t/ceres-solver-cmake-issue-on-ubuntu-18-04/1980>\
**Category:** Code\
**Tags:** gen:makefiles\
**Created:** [October 8, 2020, 3:03pm UTC](https://discourse.cmake.org/t/ceres-solver-cmake-issue-on-ubuntu-18-04/1980 "2020-10-08T15:03:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ceccand](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/c/71c47a/32.png) [@Ceccand](https://discourse.cmake.org/u/Ceccand)\
**Post date:** [October 8, 2020, 3:03pm UTC](https://discourse.cmake.org/t/ceres-solver-cmake-issue-on-ubuntu-18-04/1980/1 "2020-10-08T15:03:12Z")

</div>

Hello

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?

Thanks.

---

<div class="post-metadata">

**Author:** ![McMartin](https://discourse.cmake.org/user_avatar/discourse.cmake.org/mcmartin/32/150_2.png) [@McMartin](https://discourse.cmake.org/u/McMartin)\
**Post date:** [October 8, 2020, 8:25pm UTC](https://discourse.cmake.org/t/ceres-solver-cmake-issue-on-ubuntu-18-04/1980/2 "2020-10-08T20:25:08Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Ceccand](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/c/71c47a/32.png) [@Ceccand](https://discourse.cmake.org/u/Ceccand)\
**Post date:** [October 8, 2020, 8:33pm UTC](https://discourse.cmake.org/t/ceres-solver-cmake-issue-on-ubuntu-18-04/1980/3 "2020-10-08T20:33:11Z")

</div>

Hello

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

Regards

---

<div class="post-metadata">

**Author:** ![McMartin](https://discourse.cmake.org/user_avatar/discourse.cmake.org/mcmartin/32/150_2.png) [@McMartin](https://discourse.cmake.org/u/McMartin)\
**Post date:** [October 8, 2020, 8:50pm UTC](https://discourse.cmake.org/t/ceres-solver-cmake-issue-on-ubuntu-18-04/1980/4 "2020-10-08T20:50:52Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Ceccand](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/c/71c47a/32.png) [@Ceccand](https://discourse.cmake.org/u/Ceccand)\
**Post date:** [October 9, 2020, 4:39am UTC](https://discourse.cmake.org/t/ceres-solver-cmake-issue-on-ubuntu-18-04/1980/5 "2020-10-09T04:39:34Z")

</div>

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