darknet
darknet copied to clipboard
error : download and make
./src/network.c: In function ‘resize_network’: ./src/network.c:660:42: error: passing argument 1 of ‘cudaHostAlloc’ from incompatible pointer type [-Wincompatible-pointer-types] 660 | if (cudaSuccess == cudaHostAlloc(&net->input_pinned_cpu, size * sizeof(float), cudaHostRegisterMapped)) | ^~~~~~~~~~~~~~~~~~~~~~ | | | float ** compilation terminated due to -Wfatal-errors.
normal $make
GPU=1 CUDNN=0 CUDNN_HALF=0 OPENCV=0 AVX=0 OPENMP=0 LIBSO=0 ZED_CAMERA=0 ZED_CAMERA_v2_8=0