pjreddie / darknet

Convolutional Neural Networks
http://pjreddie.com/darknet/
Other
25.73k stars 21.33k forks source link

How to modify the Makefile to ensure to find cuda_runtime.h,error when I set "GPU=1" in Makefile #2604

Open TSeminent opened 1 year ago

TSeminent commented 1 year ago

I set GPU=1 in Makefile,but I don't know how to set other place in Makefile,maybe like this piceture below? image But I don't know what does "-I" in "-DGPU -I" and "-L" in "LDFLAGS+= -L" mean, how to change the default address below to my personal install address.And my cuda dosen't have a package named lib64. this is what in Makefile:

image

this is what my PC display,the install address of CUDA image

this is what lib includes,doesn't have a repo named lib64 image

TSeminent commented 1 year ago

Could someone tell me how to change the address to my install address and modify other place in Makefile to solve the error? the error is below: image