Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with installing Glomap #159

Open
sselgrad23 opened this issue Jan 13, 2025 · 1 comment
Open

Issues with installing Glomap #159

sselgrad23 opened this issue Jan 13, 2025 · 1 comment

Comments

@sselgrad23
Copy link

Hi,

I recently tried to install Glomap, but I have been facing some issues regarding some of the dependencies.
I managed to install Colmap, using the instructions on https://colmap.github.io/install.html:

sudo apt-get install
git
cmake
ninja-build
build-essential
libboost-program-options-dev
libboost-graph-dev
libboost-system-dev
libeigen3-dev
libflann-dev
libfreeimage-dev
libmetis-dev
libgoogle-glog-dev
libgtest-dev
libgmock-dev
libsqlite3-dev
libglew-dev
qtbase5-dev
libqt5opengl5-dev
libcgal-dev
libceres-dev

git clone https://github.com/colmap/colmap.git
cd colmap
mkdir build
cd build
cmake .. -GNinja
ninja
sudo ninja install

I then followed the following instructions to install Glomap:

git clone https://github.com/colmap/glomap.git
mkdir build
cd build
cmake .. -GNinja

At this point I begin receiving errors. The first error I received was:

CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
CMake 3.28 or higher is required. You are running version 3.16.3

So I then manually installed Cmake version 3.31.3.

After this, the second error I received was:

CMake Error at cmake/FindDependencies.cmake:3 (find_package):
“Could not find a configuration file for package "Eigen3" that is compatible
with requested version "3.4".

The following configuration files were considered but not accepted:

/usr/lib/cmake/eigen3/Eigen3Config.cmake, version: 3.3.7
/lib/cmake/eigen3/Eigen3Config.cmake, version: 3.3.7

Call Stack (most recent call first):
CMakeLists.txt:16 (include)”

It appears the dependencies downloaded using sudo apt-get install command above are outdated by glomap’s standards. A similar error is received for ceres.

Please let me know if you have any insights or solutions to these issues.

@lpanaf
Copy link
Collaborator

lpanaf commented Jan 23, 2025

Hi @sselgrad23, for GLOMAP, we require the version of Eigen package to at least 3.4. In your case, it is 3.3.7. I would suggest you to try to upgrade the Eigen library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants