Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for All Windows 10 installation package file #1455

Closed
leekwunfung817 opened this issue Aug 20, 2018 · 8 comments
Closed

Request for All Windows 10 installation package file #1455

leekwunfung817 opened this issue Aug 20, 2018 · 8 comments
Labels
Solved The problem is solved using the correct settings

Comments

@leekwunfung817
Copy link

leekwunfung817 commented Aug 20, 2018

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
2. GeForce GT 710
3. (OpenCV 3.4.0, cuDNN 7, CUDA 9, Visual Studio 2015)

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
2. NVIDIA Driver Full Version (include 8xx.xxx.xxx.xxx)
3. Visual Studio Full Version (include v14.xx.xx.xx)
4. CUDA Full Version (include xxx.xxx.xxx)
5. cuDNN Full Version (include xxx.xxx.xxx)

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!

@leekwunfung817 leekwunfung817 changed the title Request for All installation package file Request for All Windows 10 installation package file Aug 20, 2018
@AlexeyAB
Copy link
Owner


  • Can you build darknet_no_gpu.sln successfully?

  • What error do you get when you build darknet.sln?

@PeterQuinn925
Copy link

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

@AlexeyAB
Copy link
Owner

@leekwunfung817

  • Show the fullscreen screenshot of this error
  • What errors do prior to VS reporting the MSB3721 error?
  • Can you compile any other CUDA applications?
  • Can you build darknet_no_gpu.sln successfully?
  • Do you try to compile default darknet.sln or did you make your custom sln-file?
  • How many MSVS are installed on your computer, and what are installed?

Also read: https://devtalk.nvidia.com/default/topic/989584/how-to-fix-error-msb3721/

@leekwunfung817
Copy link
Author

leekwunfung817 commented Aug 26, 2018

With NVIDIA GPU

  • Windows 10
  • GPU NVIDIA GeForce GT 710

Install Step (by Order):

  1. install Visual Studio 2015 Update 3
  1. download OpenCV 3.4.0
  1. install NVIDIA Cuda 9.1
  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\bin\cudnn64_7.dll) to (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin)

  • (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)

  1. Set project
  • Release
  • x64

(Right click darknet project) > (Click Properties)

  1. Configuration Properties > C/C++ > Additional include Directories
    add
  • D:\opencv_3.4.0\build\include
  • D:\opencv_3.4.0\build\include\opencv
  • D:\opencv_3.4.0\build\include\opencv2
  1. Configuration Properties > Linker > Input > Additional Dependencies
    add
  • D:\opencv_3.4.0\build\x64\vc14\lib\opencv_world340.lib
  • D:\opencv_3.4.0\build\x64\vc14\lib\opencv_world340d.lib
  1. Configuration Properties > CUDA C/C++ > CUDA Toolkit Custom Dir
    add
  • C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA

Please use in the MS-DOS command

darknet-master\build\darknet\x64\darknet.exe

1. GPU (darknet.sln)
Finally Build Success
But two warnings
image

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

@AlexeyAB
Copy link
Owner

@leekwunfung817

  1. GPU (darknet.sln)
    Finally Build Success

Good.

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

@leekwunfung817
Copy link
Author

leekwunfung817 commented Aug 26, 2018

Without GPU

  • Windows 10

Install Step (by Order):

  1. install Visual Studio 2015 Update 3
  1. download OpenCV 3.3.0

Complie Step:

  1. Set project
  • Release
  • x64

(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
  1. Configuration Properties > Linker > Input > Additional Dependencies
    add
  • D:\opencv_3.3.0\build\x64\vc14\lib\opencv_world330.lib
  • D:\opencv_3.3.0\build\x64\vc14\lib\opencv_world330d.lib

Please use in the MS-DOS command

darknet-master\build\darknet\x64\darknet_no_gpu.exe

Build Success
image

@AlexeyAB
Copy link
Owner

@leekwunfung817

Without GPU
Build Success

Excellent!

@AlexeyAB AlexeyAB added Solved The problem is solved using the correct settings and removed help wanted labels Aug 26, 2018
@leekwunfung817
Copy link
Author

I may share the Windows 10 installation step to another people, avoid the other to waste time.

With NVIDIA GPU

  • Windows 10
  • GPU NVIDIA GeForce GT 710

Install Step (by Order):

  1. install Visual Studio 2015 Update 3
  1. download OpenCV 3.4.0
  1. install NVIDIA Cuda 9.1
  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\bin\cudnn64_7.dll) to (C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\bin)

  • (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)

  1. Set project
  • Release
  • x64
    untitled

(Right click darknet project) > (Click Properties)

  1. Configuration Properties > C/C++ > Additional include Directories
    add
  • D:\opencv_3.4.0\build\include
  • D:\opencv_3.4.0\build\include\opencv
  • D:\opencv_3.4.0\build\include\opencv2
    untitled
  1. Configuration Properties > Linker > Input > Additional Dependencies
    add
  • D:\opencv_3.4.0\build\x64\vc14\lib\opencv_world340.lib
  • D:\opencv_3.4.0\build\x64\vc14\lib\opencv_world340d.lib
    untitled
  1. Configuration Properties > CUDA C/C++ > CUDA Toolkit Custom Dir
    add
  • C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA
    untitled

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

1. GPU (darknet.sln)
Finally Build Success
But two warnings
image

Without GPU

  • Windows 10

Install Step (by Order):

  1. install Visual Studio 2015 Update 3
  1. download OpenCV 3.3.0

Complie Step:

  1. Set project
  • Release
  • x64
    untitled

(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
    untitled
  1. Configuration Properties > Linker > Input > Additional Dependencies
    add
  • D:\opencv_3.3.0\build\x64\vc14\lib\opencv_world330.lib
  • D:\opencv_3.3.0\build\x64\vc14\lib\opencv_world330d.lib
    untitled

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

Build Success
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Solved The problem is solved using the correct settings
Projects
None yet
Development

No branches or pull requests

4 participants