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

add pixi installation method with example #137

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

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

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.

1 participant