Open "darknet.sln" in Visual Studio, then build it. Pthreads: https://sourceware.org/pub/pthreads-win32/dll-latest/