-
First of all: alicevision/meshroom is really cool software,thanks guys! I noticed that cbentejac recently uploaded alicevision/alicevision-deps:2025.05.15-ubuntu22.04-cuda12.1.1 (thanks!!) and with that I could manually (typos/version number in the scripts and wrong variable name) build the alicevision container with docker build --build-arg UBUNTU_VERSION="22.04" --build-arg CUDA_VERSION="12.1.1" --build-arg AV_DEPS_VERSION="2025.05.15" --build-arg NPROC=8 --tag alicevision:ubuntu22.04-cuda12.1.1 -f docker/Dockerfile_ubuntu . However, I wonder how to build the dependencies (Dockerfile)? And meshroom (qt issues) for that matter? Wouldn't it make sense to version pin (dependencies and cmake) for major ubuntu versions? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Now, with the comit cmake=3.22.x from the standard repo, build-ubuntu.sh now builds both Furthermore, the meshroom dependencies builds, too! However, the meshroom container can not not be build as the meshroom CMakeList.txt file seems buggy: |
Beta Was this translation helpful? Give feedback.
-
Well, there is a flurry of activity on the alicevision/meshroom repo: a thank you to the core dev team! I followed up on the QT6 issue above. It turned out to be more convoluted than anticipated, however, with a number of changes I can compile and build the meshroom container with Qt6 instead of Qt5 which is the way to go. The changes I had to make to compile/build the meshroom ubuntu container are: 1.) in Meshroom/CMakeLists.txt add the line 2.) in Meshroom/docker/build-ubuntu.sh < test -z "$AV_VERSION" && echo "AliceVision version not specified, set AV_VERSION in the environment" && exit 1 to
The Qt company changed the installer. The following lines can be ditched
The new installer can be downloaded by replacing the line with Alternatively, the installer can be downloaded from this site, too. 2.) In the file docker/Dockerfile_ubuntu_deps
The Qt dependencies from Qt5 to Qt6 have changed. So, the following lines can be deleted < flex and replaced with the Qt6 dependencies
Frankly speaking, I am not 100% that this is the minium set of dependencies ... but the above works and I wanted to move on. The Qt company changed the installer and it now has a new interface and has to be executed with a new command line. Replace the line < RUN ./qt.run --verbose --email ${QT_CI_LOGIN} --password ${QT_CI_P} --accept-obligations --accept-licenses with the new command line
The alicevision account credentials ${QT_CI_LOGIN} ${QT_CI_P} still work. 3.) Change the file Meshroom/docker/Dockerfile_ubuntu as follows: Again, obviously, change
The lines cmake seems to have a bug where it sometimes can not find Qt6 packages within the < RUN cmake "${MESHROOM_DEV}" -DALICEVISION_ROOT="${AV_INSTALL}" -DCMAKE_INSTALL_PREFIX="${MESHROOM_BUNDLE}/qtPlugins"
Now, with these changes it is now possible to build the meshroom container for ubuntu. Some paths still have to be sorted out, e.g. the pipeline files *.mg are not where they are supposed to be during runtime.
|
Beta Was this translation helpful? Give feedback.
Well, there is a flurry of activity on the alicevision/meshroom repo: a thank you to the core dev team!
I followed up on the QT6 issue above. It turned out to be more convoluted than anticipated, however, with a number of changes I can compile and build the meshroom container with Qt6 instead of Qt5 which is the way to go.
The changes I had to make to compile/build the meshroom ubuntu container are:
1.) in Meshroom/CMakeLists.txt add the line
find_package(Qt6 6.9.1 REQUIRED COMPONENTS Core)
2.) in Meshroom/docker/build-ubuntu.sh
change from
< test -z "$AV_VERSION" && echo "AliceVision version not specified, set AV_VERSION in the environment" && exit 1
< test -z "$CUDA_VERSION" && CUDA_VER…