Cannot build COLMAP using Dockerfile #430
Unanswered
marospekarik
asked this question in
Q&A
Replies: 3 comments 2 replies
-
I am also having issue with compiling colmap when using the provided Dockerfile |
Beta Was this translation helpful? Give feedback.
0 replies
-
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
|
Beta Was this translation helpful? Give feedback.
2 replies
-
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. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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
executor failed running [/bin/sh -c echo "Installing COLMAP ver. ${COLMAP_VERSION}..." && cd /opt && git clone https://github.com/colmap/colmap && cd ./colmap && git checkout ${COLMAP_VERSION} && mkdir ./build && cd ./build && cmake ../ && make -j && make install && colmap -h]: exit code: 2`
Beta Was this translation helpful? Give feedback.
All reactions