Hi, there are many challenges on Windows 11 x64 with AMD Radeon RX 6900 XT. The last few months from time to time I started to try to build on Windows 10 x64 first and later I updated to Windows 11 x64. There are the following open issues I faced:
1) Time spent on detection is much longer and 10 times more counts than on GNU/Linux or macOS.
2) Detections are wrong with both ‘-nogpu’ switch and when I try to use OpenCL for example like below.
3) I do not know how to properly build clBLAS I improved on Windows 11 x64, trying but failed on this one.
Many more that I am not sure or have not yet found out. Now, you are probably wonder what is the build procedure? See below step by step essentials guide. You may copy and use, happy C hacking! ;-).
Build on Windows 10 or 11 x64 Make all the artefacts by yourself and figured out more!! First got from the Internet: 01) Clone recursive by command: git clone --recursive https://github.com/sowson/darknet 02) Install MSVC++ from: https://aka.ms/vs/16/release/vc_redist.x64.exe 03) Install Windows 10 or 11 SDK from: https://developer.microsoft.com/en-us/windows/downloads/sdk-archive 04) Install Visual Studio 2019 with C/C++ support (optional but useful) If you want to rebuild things from 3rdparty folder on your own: 06) Clone / Download and Build from: https://github.com/BrianGladman/pthreads 07) Clone / Download and Build from: https://github.com/robinrowe/libunistd 08) Clone / Download and Use from: https://github.com/nothings/stb This is an open issue, I do not know how to build this one: 09) Clone / Download and Build clBLAS from: https://github.com/sowson/clBLAS Needed by some build scripts as an interpreters for scripts: 10) Install Python from: https://www.python.org/downloads/windows 11) Install CMake for Windows from: https://cmake.org/download Build process on Windows 10 can be done in CLion or Visual Studio 2019 Please do not blame me... it is still experimental on Windows 10 x64 ;-) To build as example in the darknet directory in the Git Command Line: mkdir build cd build cmake -S ../ -B ./ cmake --build ./ --config Release --target darknet cp Release/darknet.exe ../darknet.exe cp ../3rdparty/clBLAS/clBLAS.dll .. cp ../3rdparty/pthreads/pthreads.dll .. cd .. than try: ./darknet.exe # ;-).