Hi,
I am not super familiar with the software stack / tools which are used with AliceVision and I have been trying to set myself up to be able to modify AliceVision code and be able to run it from my Meshroom installation. I would be really grateful for some pointers/help on how to do things (I have an impression that what I have done so far is way more complex than what should be done).
Background:
I have been trying to start using Meshroom/Alicevision for reconstructing some simple scenes.
I have managed with some settings (e.g. depthmaps scaled down 4x), but with most images / settings I constantly experience crashes in the pipeline. Inspecting Alicevision logs does not show anything hinting at the source of problems.
I would like to be able to debug/extend the crashing AliceVision binary to show me more insights into what has happened, so I am trying to build a developer setup.
What I have tried so far:
* I have tried to compile on my local machine with Ubuntu 2020.4 -> I gave up after struggling with dependencies (Either Ubuntu did not have them / had wrong versions or their compilation failed and I was starting to shave a yak spending hours on dependensies of dependencies of the problem I initially wanted to solve).
* I have build Docker image with Alicevision: I have managed to compile it and (after tweaking LD_LIBRARY_PATH inside the container), AliceVision runs (inside the docker image).
Questions:
* What is the intended developer workflow using those docker images ?
* Am I expected to run AliceVision inside a docker image or copy out binaries to my system? I have tried the later, but it failed because my Ubuntu has different versions of some of the dependent libraries. At the same time I have not managed to make Meshroom run binaries in a docker (for example over ssh)
* Am I expected to compile inside Docker / always rebuild the docker image to compile AliceVision/Have source code in a docker image?
* What are the intended usage alicevision-deps image ? I can see that it contains compiled libraries in the /opt directory and AliceVision_git (this directory has only a singe file inside ?!). Am I expected to run this image, clone the AliceVision repository inside and compile code there ? I have a feeling that this is not what is the intended workflow, but I cannot find any resources.
* Is it possible to run local Meshroom with AliceVision running inside a Docker ? I can see that Meshroom requires local binaries. Unfortunately (as mentioned before), those do not work when binaries are copied out of docker image (alicevision/alicevision:develop-e84e64c5e-ubuntu20.04-cuda11.0) and resolving all conflicts seems to never end.
I would be grateful for some tips,
Piotr