add pixi installation method with example #137
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
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
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
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