jonmendenhall / jetson-uav

Adds YOLOv3 person detection to a Pixhawk UAV with a Jetson Nano, and custom GCS code to display detection results on a map
https://www.hackster.io/jonmendenhall/jetson-nano-search-and-rescue-ai-uav-9ca547
50 stars 18 forks source link

"make" is not completing #2

Closed Mony24 closed 2 years ago

Mony24 commented 2 years ago

My Jetson nano with following details:

Linux xxxx-nvidia 4.9.253-tegra #1 SMP PREEMPT Mon Jul 26 12:13:06 PDT 2021 aarch64 aarch64 aarch64 GNU/Linux

$ nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2021 NVIDIA Corporation Built on Sun_Feb_28_22:34:44_PST_2021 Cuda compilation tools, release 10.2, V10.2.300 Build cuda_10.2_r440.TC440_70.29663091_0

Getting following error: ./src/convolutional_layer.c:148:5: warning: implicit declaration of function ‘cudnnGetConvolutionForwardAlgorithm’; did you mean ‘cudnnGetConvolutionForwardAlgorithm_v7’? [-Wimplicit-function-declaration] cudnnGetConvolutionForwardAlgorithm(cudnn_handle(), ^~~~~~~~~~~ cudnnGetConvolutionForwardAlgorithm_v7 ./src/convolutional_layer.c:153:13: error: ‘CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT’ undeclared (first use in this function); did you mean ‘CUDNN_CONVOLUTION_FWD_ALGO_DIRECT’? CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT, ^~~~~~~~~~~~~ compilation terminated due to -Wfatal-errors. Makefile:89: recipe for target 'obj/convolutional_layer.o' failed make: *** [obj/convolutional_layer.o] Error 1

Please suggest how to solve.

Mony24 commented 2 years ago

Please suggest to overcome above error.

jonmendenhall commented 2 years ago

Maybe it’s related to a specific version of the libraries / toolkits used. You’ll have to find a solution somewhere else as I don’t support this project actively. It was just for the hackster project.