You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CMake Error at cmake/FindDependencies.cmake:125 (message):
You must set CMAKE_CUDA_ARCHITECTURES to e.g. 'native', 'all-major', '70',
etc. More information at
https://cmake.org/cmake/help/latest/prop_tgt/CUDA_ARCHITECTURES.html
Call Stack (most recent call first):
CMakeLists.txt:85 (include)
colmap 셀에서 cmake를 하게 되면 위와 같은 에러가 뜬다. cuda 아키텍쳐 설정을 주어진 것들 중에 있는 걸로 하라는데 native 설정했을 경우 같은 에러 떴음. 찾아보니 70은 V100 GPU에 해당하는 설정 값인데 코랩에 해당 값으로 설정이 안되는거 아닌가 싶음. 코랩 GPU를 너무 조금 줘서 쓰지를 못해가지고 GPU 킨 상태로 확인을 해보지는 못함.
아키텍쳐 설정 명령어는 아래와 같음
!cmake .. -DCMAKE_CUDA_ARCHITECTURES=70
위 아키텍쳐 값을 일단 70으로 해놓고 설치하던 중 발생하는 에러
/content/ceres-solver/build/colmap/src/colmap/image/line.cc: In function ‘std::vector<colmap::LineSegment> colmap::DetectLineSegments(const colmap::Bitmap&, double)’:
/content/ceres-solver/build/colmap/src/colmap/image/line.cc:63:8: error: ‘unique_ptr’ is not a member of ‘std’
63 | std::unique_ptr<double, RawDeleter> segments_data(
| ^~~~~~~~~~
/content/ceres-solver/build/colmap/src/colmap/image/line.cc:36:1: note: ‘std::unique_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
35 | #include "thirdparty/LSD/lsd.h"
+++ |+#include <memory>
36 | }
/content/ceres-solver/build/colmap/src/colmap/image/line.cc:63:19: error: expected primary-expression before ‘double’
63 | std::unique_ptr<double, RawDeleter> segments_data(
| ^~~~~~
/content/ceres-solver/build/colmap/src/colmap/image/line.cc:72:33: error: ‘segments_data’ was not declared in this scope; did you mean ‘segments’?
72 | const Eigen::Vector2d start(segments_data.get()[i * 7],
| ^~~~~~~~~~~~~
| segments
make[2]: *** [src/colmap/image/CMakeFiles/colmap_image.dir/build.make:76: src/colmap/image/CMakeFiles/colmap_image.dir/line.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:759: src/colmap/image/CMakeFiles/colmap_image.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found version "1.74.0") found components: filesystem graph program_options system
-- Found FreeImage
-- Includes : /usr/include
-- Libraries : /usr/lib/x86_64-linux-gnu/libfreeimage.so
-- Found FLANN
-- Includes : /usr/include
-- Libraries : /usr/lib/x86_64-linux-gnu/libflann.so
-- Found LZ4
-- Includes : /usr/include
-- Libraries : /usr/lib/x86_64-linux-gnu/liblz4.so
-- Found Metis
-- Includes : /usr/include
-- Libraries : /usr/lib/x86_64-linux-gnu/libmetis.so
-- Found Glog
-- Target : glog::glog
-- Found Glew
-- Includes : /usr/include
-- Libraries : /usr/lib/x86_64-linux-gnu/libGLEW.so
-- Found METIS: /usr/include (found suitable version "5.1.0", minimum required is "5.1.0")
-- Found AMD headers in: /usr/include/suitesparse
-- Found AMD library: /usr/lib/x86_64-linux-gnu/libamd.so
-- Found CAMD headers in: /usr/include/suitesparse
-- Found CAMD library: /usr/lib/x86_64-linux-gnu/libcamd.so
-- Found CCOLAMD headers in: /usr/include/suitesparse
-- Found CCOLAMD library: /usr/lib/x86_64-linux-gnu/libccolamd.so
-- Found CHOLMOD headers in: /usr/include/suitesparse
-- Found CHOLMOD library: /usr/lib/x86_64-linux-gnu/libcholmod.so
-- Found COLAMD headers in: /usr/include/suitesparse
-- Found COLAMD library: /usr/lib/x86_64-linux-gnu/libcolamd.so
-- Found SPQR headers in: /usr/include/suitesparse
-- Found SPQR library: /usr/lib/x86_64-linux-gnu/libspqr.so
-- Found Config headers in: /usr/include/suitesparse
-- Found Config library: /usr/lib/x86_64-linux-gnu/libsuitesparseconfig.so
-- Found Intel Thread Building Blocks (TBB) library (2021.5 / ) include location: . Assuming SuiteSparseQR was compiled with TBB.
-- Adding librt to SuiteSparse_config libraries (required on Linux & Unix [not OSX] if SuiteSparse is compiled with timing).
-- Found METIS: /usr/include (found version "5.1.0")
-- Found required Ceres dependency: Eigen version 3.4.0 in /usr/share/eigen3/cmake
-- Found required Ceres dependency: glog
-- Found required Ceres dependency: gflags
-- Found Ceres version: 2.2.0 installed in: /usr/local with components: [EigenSparse, SparseLinearAlgebraLibrary, LAPACK, SuiteSparse, SchurSpecializations]
-- Enabling OpenMP support
-- Using header-only CGAL
-- Targetting Unix Makefiles
-- Using /usr/bin/c++ compiler.
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.48")
-- Boost include dirs: /usr/include
-- Boost libraries:
-- Using gcc version 4 or later. Adding -frounding-math
-- Found CGAL
-- Includes : /usr/include
-- Libraries : CGAL
-- Enabling CUDA support (version: 12.2.140, archs: 70)
-- Found Qt
-- Module : /usr/lib/x86_64-linux-gnu/cmake/Qt5Core
-- Module : /usr/lib/x86_64-linux-gnu/cmake/Qt5OpenGL
-- Module : /usr/lib/x86_64-linux-gnu/cmake/Qt5Widgets
-- Enabling GUI support
-- Enabling OpenGL support
-- Enabling GPU support
-- Build type not specified, using Release
-- Enabling SIMD support
-- Disabling interprocedural optimization
-- Disabling ccache support
-- Disabling profiling support
-- Configuring done (0.4s)
CMake Warning at cmake/CMakeHelper.cmake:103 (add_executable):
Cannot generate a safe runtime search path for target colmap_main because
files in some directories may conflict with libraries in implicit
directories:
runtime library [libtbb.so.12] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
/usr/local/lib
Some of these libraries may not be found correctly.
Call Stack (most recent call first):
src/colmap/exe/CMakeLists.txt:67 (COLMAP_ADD_EXECUTABLE)
-- Generating done (0.2s)
-- Build files have been written to: /content/ceres-solver/build/colmap/build
자세한 내용을 확인 못헀는데 라이브러리 충돌이 난다고 설치도중 갑자기 종료됨. 설치가 안되었다 보니 이 상태로 LLFF 돌리면 Dont need to run colmap 뜨면서 실행은 되긴함..
/content/LLFF
Don't need to run COLMAP
Post-colmap
Cameras 5
Images # 50
Points (32464, 3) Visibility (32464, 50)
Depth stats 1.5653046405959157 42.21667241157984 5.813831831221054
Done with imgs2poses
The text was updated successfully, but these errors were encountered:
문제상황
계속 다른 오류가 발생하는 중
CMAKE_CUDA_ARCHITECTURES 에러
colmap 셀에서 cmake를 하게 되면 위와 같은 에러가 뜬다. cuda 아키텍쳐 설정을 주어진 것들 중에 있는 걸로 하라는데 native 설정했을 경우 같은 에러 떴음. 찾아보니 70은 V100 GPU에 해당하는 설정 값인데 코랩에 해당 값으로 설정이 안되는거 아닌가 싶음. 코랩 GPU를 너무 조금 줘서 쓰지를 못해가지고 GPU 킨 상태로 확인을 해보지는 못함.
아키텍쳐 설정 명령어는 아래와 같음
위 아키텍쳐 값을 일단 70으로 해놓고 설치하던 중 발생하는 에러
자세한 내용을 확인 못헀는데 라이브러리 충돌이 난다고 설치도중 갑자기 종료됨. 설치가 안되었다 보니 이 상태로 LLFF 돌리면 Dont need to run colmap 뜨면서 실행은 되긴함..
The text was updated successfully, but these errors were encountered: