Closed marospekarik closed 2 years ago
I am also having issue with compiling colmap when using the provided Dockerfile
I also have issues with the Dockerfile, but in my case it crashes on the ceres solver:
[ 98%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/partitioned_matrix_view_2_3_4.cc.o
[ 99%] Building CXX object internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_3_4.cc.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
internal/ceres/CMakeFiles/ceres.dir/build.make:1965: recipe for target 'internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_4_3.cc.o' failed
make[2]: *** [internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_4_3.cc.o] Error 4
make[2]: *** Waiting for unfinished jobs....
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
internal/ceres/CMakeFiles/ceres.dir/build.make:1993: recipe for target 'internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_4_6.cc.o' failed
make[2]: *** [internal/ceres/CMakeFiles/ceres.dir/generated/schur_eliminator_2_4_6.cc.o] Error 4
CMakeFiles/Makefile2:124: recipe for target 'internal/ceres/CMakeFiles/ceres.dir/all' failed
make[1]: *** [internal/ceres/CMakeFiles/ceres.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: Service 'instant-ngp' failed to build : The command '/bin/sh -c echo "Installing Ceres Solver ver. ${CERES_SOLVER_VERSION}..." && cd /opt && git clone https://github.com/ceres-solver/ceres-solver && cd ./ceres-solver && git checkout ${CERES_SOLVER_VERSION} && mkdir ./build && cd ./build && cmake ../ -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF && make -j && make install' returned a non-zero code: 2
Internal compiler errors sound fishy. I recommend trying to reproduce the problem in isolation (i.e. only building COLMAP without all the other steps of the Dockerfile) and reporting the bug over at the COLMAP GitHub repo.
Hi,
I have difficulties building the docker image on Win10.
After executing:
docker build -t ngp -f .devcontainer/Dockerfile .
I get this log:
` => ERROR [7/7] RUN echo "Installing COLMAP ver. 3.7..." && cd /opt && git clone https://github.com/colmap/colmap && cd ./c 375.3s