I want all your installation file, that you are build success.
I must make sure that I can build it successfully.
I am using the following things:
**1. Windows 10
but there are too many dependencies software version are not match
I have too much bug to solve when build the darknet.sln or others visual studio project
Please, I have been use a month to try to build this project, but the build is always fail.
reinstall any thing and try many times and buy many types of Hardware, but not working.
Can you tell us your software install information about:
**1. Graphic Card Full Version
Also, I need the exactly version that you are using, and the installation order, then give me the exactly download url.
I must complete the project that the company request me to do.
Please, tell me the detail if you are use it without bugs and problem.
If you can help me, Thank you very much!
GPU nVidia GeForce GTX 970 (Maxwell)
Windows 7 x64
nVidia driver version (nvidia-smi): 388.19
MSVS 2015: 14.0.25431.01 Update 3 https://go.microsoft.com/fwlink/?LinkId=532606&clcid=0x409
OpenCV 3.3.0 https://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.3.0/opencv-3.3.0-vc14.exe/download
CUDA 9.0 https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_windows-exe
cuDNN 7.1.3 for CUDA 9.0: https://developer.nvidia.com/compute/machine-learning/cudnn/secure/v7.1.3/prod/9.0_20180414/cudnn-9.0-windows7-x64-v7.1
Can you build darknet_no_gpu.sln successfully?
What error do you get when you build darknet.sln?
I don't know, but googling for the error message msb3721 gives some good hints: https://stackoverflow.com/questions/42600823/msb3721-error-exited-with-code-1
@leekwunfung817
darknet_no_gpu.sln successfully?darknet.sln or did you make your custom sln-file?Also read: https://devtalk.nvidia.com/default/topic/989584/how-to-fix-error-msb3721/
Install Step (by Order):
1. install Visual Studio 2015 Update 3
- [ ] https://download.microsoft.com/download/4/8/f/48f0645f-51b6-4733-b808-63e640cddaec/vs2015.3.exe
[ ] https://nchc.dl.sourceforge.net/project/opencvlibrary/opencv-win/3.4.0/opencv-3.4.0-vc14_vc15.exe
install NVIDIA Cuda 9.1
download NVIDIA CuDNN 7
Complie Step:
put CuDNN to NVIDIA GPU Computing Toolkit
setup the darknet.sln properties
[ ] (cudnn-9.1-windows10-x64-v7\cuda\lib\x64\cudnn.lib) to (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64)
[ ] (cudnn-9.1-windows10-x64-v7\cuda\include\cudnn.h) to (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include)
(Right click darknet project) > (Click Properties)
[ ] D:\opencv_3.4.0\build\include\opencv2
Configuration Properties > Linker > Input > Additional Dependencies
add
[ ] D:\opencv_3.4.0\build\x64\vc14\lib\opencv_world340d.lib
Configuration Properties > CUDA C/C++ > CUDA Toolkit Custom Dir
add
darknet-master\build\darknet\x64\darknet.exe
1. GPU (darknet.sln)
Finally Build Success
But two warnings

2. No GPU (darknet_no_gpu.sln)
156 Errors 1400 Warning
I need this No GPU darknet.exe because sometime I need to use in the CPU only computer.

@leekwunfung817
- GPU (darknet.sln)
Finally Build Success
Good.
- No GPU (darknet_no_gpu.sln)
156 Errors 1400 Warning
Try to build as Release
Try to use OpenCV 3.3.0: https://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.3.0/opencv-3.3.0-vc14.exe/download
There was C API bug in the latest OpenCV-versions.
Install Step (by Order):
1. install Visual Studio 2015 Update 3
- [ ] https://download.microsoft.com/download/4/8/f/48f0645f-51b6-4733-b808-63e640cddaec/vs2015.3.exe
Complie Step:
(Right click darknet_no_gpu project) > (Click Properties)
2. Configuration Properties > C/C++ > Additional include Directories
add
- [ ] D:\opencv_3.3.0\build\include
- [ ] D:\opencv_3.3.0\build\include\opencv
- [ ] D:\opencv_3.3.0\build\include\opencv2
darknet-master\build\darknet\x64\darknet_no_gpu.exe
Build Success

@leekwunfung817
Without GPU
Build Success
Excellent!
I may share the Windows 10 installation step to another people, avoid the other to waste time.
Install Step (by Order):
1. install Visual Studio 2015 Update 3
- [ ] https://download.microsoft.com/download/4/8/f/48f0645f-51b6-4733-b808-63e640cddaec/vs2015.3.exe
[ ] https://nchc.dl.sourceforge.net/project/opencvlibrary/opencv-win/3.4.0/opencv-3.4.0-vc14_vc15.exe
install NVIDIA Cuda 9.1
download NVIDIA CuDNN 7
Complie Step:
put CuDNN to NVIDIA GPU Computing Toolkit
setup the darknet.sln properties
[ ] (cudnn-9.1-windows10-x64-v7\cuda\lib\x64\cudnn.lib) to (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\lib\x64)
[ ] (cudnn-9.1-windows10-x64-v7\cuda\include\cudnn.h) to (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include)

(Right click darknet project) > (Click Properties)
[ ] D:\opencv_3.4.0\build\include\opencv2

Configuration Properties > Linker > Input > Additional Dependencies
add
[ ] D:\opencv_3.4.0\build\x64\vc14\lib\opencv_world340d.lib

Configuration Properties > CUDA C/C++ > CUDA Toolkit Custom Dir
add

Please use in the MS-DOS command
darknet-master\build\darknet\x64\darknet.exe
1. GPU (darknet.sln)
Finally Build Success
But two warnings

Install Step (by Order):
1. install Visual Studio 2015 Update 3
- [ ] https://download.microsoft.com/download/4/8/f/48f0645f-51b6-4733-b808-63e640cddaec/vs2015.3.exe
Complie Step:

(Right click darknet_no_gpu project) > (Click Properties)
2. Configuration Properties > C/C++ > Additional include Directories
add
- [ ] D:\opencv_3.3.0\build\include
- [ ] D:\opencv_3.3.0\build\include\opencv
- [ ] D:\opencv_3.3.0\build\include\opencv2


Please use in the MS-DOS command
darknet-master\build\darknet\x64\darknet_no_gpu.exe
Build Success

Most helpful comment
GPU nVidia GeForce GTX 970 (Maxwell)
Windows 7 x64
nVidia driver version (nvidia-smi): 388.19
MSVS 2015: 14.0.25431.01 Update 3 https://go.microsoft.com/fwlink/?LinkId=532606&clcid=0x409
OpenCV 3.3.0 https://sourceforge.net/projects/opencvlibrary/files/opencv-win/3.3.0/opencv-3.3.0-vc14.exe/download
CUDA 9.0 https://developer.nvidia.com/compute/cuda/9.0/Prod/local_installers/cuda_9.0.176_windows-exe
cuDNN 7.1.3 for CUDA 9.0: https://developer.nvidia.com/compute/machine-learning/cudnn/secure/v7.1.3/prod/9.0_20180414/cudnn-9.0-windows7-x64-v7.1
Can you build
darknet_no_gpu.slnsuccessfully?What error do you get when you build
darknet.sln?