From b11af9e93b4ec225450b0dd73bdd7aaa1f2912b8 Mon Sep 17 00:00:00 2001 From: Alexey Date: Tue, 5 Jan 2021 16:48:02 +0300 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index eaea54df..93539ffa 100644 --- a/README.md +++ b/README.md @@ -333,6 +333,28 @@ To run Darknet on Linux use examples from this article, just use `./darknet` ins ### How to compile on Windows (using `CMake`) +Requires: +* MSVS: https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community +* Cmake GUI: `Windows win64-x64 Installer`https://cmake.org/download/ +* Download Darknet zip-archive with the latest commit and uncompress it: [master.zip](https://github.com/AlexeyAB/darknet/archive/master.zip) + +In the Windows: + + +* Start (button) -> All programms -> Cmake -> Cmake (gui) -> + +* [look at image](https://habrastorage.org/webt/pz/s1/uu/pzs1uu4heb7vflfcjqn-lxy-aqu.jpeg) In Cmake: Enter input path to the darknet Source, and output path to the Binaries -> Configure (button) -> Optional platform for generator: `x64` -> Finish -> Generate -> Open Project -> + +* in MS Visual Studio: Select: x64 and Release -> Build -> Build solution + +* find the executable file `darknet.exe` in the output path to the binaries you specified + +![x64 and Release](https://habrastorage.org/webt/ay/ty/f-/aytyf-8bufe7q-16yoecommlwys.jpeg) + + + +### How to compile on Windows (using `vcpkg`) + This is the recommended approach to build Darknet on Windows. 1. Install Visual Studio 2017 or 2019. In case you need to download it, please go here: [Visual Studio Community](http://visualstudio.com)