Build Jetson TensorRT OSS Plugin error No CMAKE_CUDA_COMPILER could be found

Jetson nano 4GB developer kit
jetpack 4.5.1

following this instructions

when executing

$HOME/install/bin/cmake .. -DGPU_ARCHS="53 62 72"  -DTRT_LIB_DIR=/usr/lib/aarch64-linux-gnu/ -DCMAKE_C_COMPILER=/usr/bin/gcc -DTRT_BIN_DIR=`pwd`/out

i get following error

how to resolve?

1 Like

i added following line to the above command

-DCMAKE_CUDA_COMPILER=/usr/local/cuda/bin/nvcc

it works

1 Like

Glad to know issue resolved, thanks for the update.