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

MAKE_CUDA_ARCHITECTURES must be non-empty if set. #54

Open
Buddies-as-you-know opened this issue Jul 29, 2023 · 1 comment
Open

MAKE_CUDA_ARCHITECTURES must be non-empty if set. #54

Buddies-as-you-know opened this issue Jul 29, 2023 · 1 comment

Comments

@Buddies-as-you-know
Copy link

Getting this error when trying to compile it on Ubuntu. Cuda is installed ( v 11.7), did everything according to the readme. What might be wrong?

cmake ./thirdparty/instant-ngp -B build_ngp

Full error text:

CMake Error at /usr/share/cmake-3.27/Modules/CMakeDetermineCUDACompiler.cmake:277 (message):
CMAKE_CUDA_ARCHITECTURES must be non-empty if set.
Call Stack (most recent call first):
CMakeLists.txt:11 (project)

-- Configuring incomplete, errors occurred!

@LyndzP
Copy link

LyndzP commented Aug 1, 2023

set CMakeLists.txt to this lines:

set(CMAKE_CUDA_ARCHITECTURES 60 61 62 70 72 75 86)
set(CMAKE_CUDA_COMPILER /usr/local/cuda-11.7/bin/nvcc)

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

2 participants