Skip to content

execute"cmake -DCUDA_INCLUDE_DIRS=/usr/local/cuda-10.2/include .. ", error was reported . #28

@hujikang1600

Description

@hujikang1600

I am running on ubuntu on Jetson nano, so I modified the GPU_ ARCHS=53, when I execute ”cmake -DCUDA_INCLUDE_DIRS=/usr/local/cuda-10.2/include .. “,The following error was reported.
Also, my TensorRT version is 8.2.1.8, is it related to this? If it's relevant, how can I make the project support TensorRT8? I hope you can reply to me. Thank you very much!

error:
--The cuDA compiler identification is unknown
CMake Error at /usr/local/share/cmake-3.26/Modules /CMakeDetermineCUDACompiler.cmake:603 (message):
Failed to detect a default CUDA architecture.
Compiler output:
all stack (most recent call first):
src/perception/common/onnx models/onnx-tensorrt/CMakeLists.txt:30 (project)
--Configuring incomplete, errors occurred!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions