darknet icon indicating copy to clipboard operation
darknet copied to clipboard

error : download and make

Open si-open opened this issue 3 months ago • 2 comments

./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

si-open avatar Oct 06 '25 18:10 si-open