Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building PhotoSLAM issue #17

Open
shashankyld opened this issue Jun 18, 2024 · 2 comments
Open

Building PhotoSLAM issue #17

shashankyld opened this issue Jun 18, 2024 · 2 comments

Comments

@shashankyld
Copy link

Hello. I have issue while building PhotoSLAM. Everything up to PhotoSLAM (i.e. DBoW, g2o, Sophus, ORB-SLAM3) builds correctly, but when it comes to PhotoSLAM part I get this error:

Building Photo-SLAM ...
-- The CXX compiler identification is GNU 8.4.0
-- The CUDA compiler identification is unknown
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting CUDA compiler ABI info
CMake Error in /home/shashank/Documents/UniBonn/Sem4/ThesisPrep/Photo-SLAM/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
  CUDA_ARCHITECTURES is empty for target "cmTC_33549".


CMake Error in /home/shashank/Documents/UniBonn/Sem4/ThesisPrep/Photo-SLAM/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
  CUDA_ARCHITECTURES is empty for target "cmTC_33549".


CMake Error at /opt/cmake-3.22.0/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake:49 (try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  /opt/cmake-3.22.0/share/cmake-3.22/Modules/CMakeTestCUDACompiler.cmake:19 (CMAKE_DETERMINE_COMPILER_ABI)
  CMakeLists.txt:2 (project)


-- Configuring incomplete, errors occurred!
See also "/home/shashank/Documents/UniBonn/Sem4/ThesisPrep/Photo-SLAM/build/CMakeFiles/CMakeOutput.log".
See also "/home/shashank/Documents/UniBonn/Sem4/ThesisPrep/Photo-SLAM/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.

My PC is:
Ubuntu 20.04
nvcc version: 11.8 (I installed it in conda environment)
gcc version: 13.2
cmake version: 3.22

Please if you know what is the issue. I am using conda environment just to keep in mind (nvcc is there and other cuda things)

@HuajianUP
Copy link
Owner

Hi, what kind of GPU are you using? And is the Pytorch version compatible?

@666zachary
Copy link

I also encountered the same problem, have you solved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants