Skip to content

Conversation

@pablovela5620
Copy link

I was having some issues getting glomap installed from source, so I optionally added the pixi installation method.

This is basically like a conda environment but with better reproducibility and a pretty powerful task system. For example, with how it's setup, just doing

pixi run example

complies and installs glomap to the pixi environment (and does not clash with other system packages since its in its own isolated environment like when creating a conda env) downloads and example dataset and runs the glomap mapper.

If one just wants to use glomap, running

pixi shell

activates the environment with glomap correctly installed from source.

I had to slightly modify the Finddependencies.cmake to avoid some cuda + glog errors I was getting when trying to get colmap from fetchcontent. If I didn't modify I would get the following error. Let me know if I'm missing something or if there's some other better way to fix this

/home/pablo/0Dev/repos/glomap/build/_deps/colmap-src/src/colmap/util/logging.h:151:3: note:   candidate expects 2 arguments, 3 provided
ninja: build stopped: subcommand failed

Let me know if this is interesting to you all and if you'd be willing to get this merged! I'm sure it would make getting glomap installed a lot easier for many

@ichsan2895
Copy link

ichsan2895 commented Mar 25, 2025

Hey, @pablovela5620 the latest glomap has GPU version. For making it works, I use this version:

  1. CuDSS 0.4.0
  2. Libcublas 12 (I installed it via sudo apt-get install libcublas-12-0)
  3. Eigen 3.4.0
  4. Boost 1.85.0 (I have tested Boost 1.87.0 but it didn't work)
  5. abseil lts_2025_01_27
  6. ceres-solver 2.3.0 (commit: 46b4b3b)

When building ceres-solver and Glomap, make sure to add -Dcudss_DIR='path/to/downloaded-tar/of/cudss-040/lib/cmake/cudss/

@pablovela5620
Copy link
Author

Very cool, I'll see if I can update to make it work with this!

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

Successfully merging this pull request may close these issues.

2 participants