I also started with the installation of colmap on my Jetson Nano.
I used the “jetson-nano-sd-r32.2-2019-07-16.img” image and followed the official installation guide form here https://colmap.github.io/install.html#linux.
I followed each step as described in the colmap guide.
But now after executing the “cmake …” command I got the following error and I am not sure what to do right now.
nano@nano:~/colmap/build$ cmake ..
CMake Error at CMakeLists.txt:87 (find_package):
By not providing "FindCeres.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Ceres", but
CMake did not find one.
Could not find a package configuration file provided by "Ceres" with any of
the following names:
Add the installation prefix of "Ceres" to CMAKE_PREFIX_PATH or set
"Ceres_DIR" to a directory containing one of the above files. If "Ceres"
provides a separate development package or SDK, be sure it has been
-- Configuring incomplete, errors occurred!
See also "/home/nano/colmap/build/CMakeFiles/CMakeOutput.log".
Maybe somebody has a hint for me how to execute the cmake … command or how to edit the “CMAKE_MODULE_PATH”…
This are the commands I executed to install everything as described.
START with the base image:
sudo apt-get update
sudo apt-get install -y git cmake build-essential libboost-program-options-dev libboost-filesystem-dev libboost-graph-dev libboost-regex-dev libboost-system-dev libboost-test-dev libeigen3-dev libsuitesparse-dev libfreeimage-dev libgoogle-glog-dev libgflags-dev libglew-dev qtbase5-dev libqt5opengl5-dev libcgal-dev
sudo apt-get install libcgal-qt5-dev
sudo apt-get install libatlas-base-dev libsuitesparse-dev
git clone https://ceres-solver.googlesource.com/ceres-solver
git checkout $(git describe --tags) # Checkout the latest release
cmake … -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF
sudo make install
git clone https://github.com/colmap/colmap.git
git checkout dev