AlexeyAB / darknet

YOLOv4 / Scaled-YOLOv4 / YOLO - Neural Networks for Object Detection (Windows and Linux version of Darknet )
http://pjreddie.com/darknet/
Other
21.8k stars 7.97k forks source link

cmake build failing with CUDA not found error (I have CUDA-11.2 with VS Integration installed) #7836

Open sg12056 opened 3 years ago

sg12056 commented 3 years ago
  1. screenshots of your issue image

EDIT 1 : I updated my CUDA to 11.3 as I thought 11.2 could have some issue, it still showed the same error message. Then I added set(CMAKE_CUDA_COMPILER "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.3/bin/nvcc.exe") to the CMakeLists.txt file , now the error changed to CUDA_ARCHITECTURES is empty for target "cmTC_062f0".

image

EDIT - 2 : my issue is same as https://github.com/AlexeyAB/darknet/issues/7795 but the solution is not working for me. Here are my environment variables :

image

EDIT - 3 : added set(CMAKE_CUDA_ARCHITECTURES "70") to CMakeLists.txt to set the architecture, Now the error coming is

-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CUDA compiler identification is unknown
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - failed
-- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.3/bin/nvcc.exe
-- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.3/bin/nvcc.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeTestCUDACompiler.cmake:52 (message):
  The CUDA compiler

    "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.3/bin/nvcc.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: D:/projects/darknet/build_release/CMakeFiles/CMakeTmp

    Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_53e31.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.10.2+857e5a733 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.

      Compiling CUDA source file main.cu...

      D:\projects\darknet\build_release\CMakeFiles\CMakeTmp>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\bin\nvcc.exe" -gencode=arch=compute_52,code=\"sm_52,compute_52\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64" -x cu    -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\include"     --keep-dir x64\Debug  -maxrregcount=0  --machine 64 --compile -cudart none  -g  -D"CMAKE_INTDIR=\"Debug\"" -D"CMAKE_INTDIR=\"Debug\"" -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /FdcmTC_53e31.dir\Debug\vc142.pdb /FS /Zi  /MD " -o cmTC_53e31.dir\Debug\main.obj "D:\projects\darknet\build_release\CMakeFiles\CMakeTmp\main.cu"
      main.cu
    CUDACOMPILE : nvcc error : 'cudafe++' died with status 0xC0000005 (ACCESS_VIOLATION) [D:\projects\darknet\build_release\CMakeFiles\CMakeTmp\cmTC_53e31.vcxproj]
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 11.3.targets(785,9): error MSB3722: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\bin\nvcc.exe" -gencode=arch=compute_52,code=\"sm_52,compute_52\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64" -x cu    -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\include"     --keep-dir x64\Debug  -maxrregcount=0  --machine 64 --compile -cudart none  -g  -D"CMAKE_INTDIR=\"Debug\"" -D"CMAKE_INTDIR=\"Debug\"" -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /FdcmTC_53e31.dir\Debug\vc142.pdb /FS /Zi  /MD " -o cmTC_53e31.dir\Debug\main.obj "D:\projects\darknet\build_release\CMakeFiles\CMakeTmp\main.cu"" exited with code 5. Please verify that you have sufficient rights to run this command. [D:\projects\darknet\build_release\CMakeFiles\CMakeTmp\cmTC_53e31.vcxproj]

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:152 (enable_language)

-- Configuring incomplete, errors occurred!
See also "D:/projects/darknet/build_release/CMakeFiles/CMakeOutput.log".
See also "D:/projects/darknet/build_release/CMakeFiles/CMakeError.log".
Config failed! Exited with error code 1.
Press any key to continue...

Tried this https://github.com/tensorflow/tensorflow/issues/27706 which is also not working.. Any help would be great, I can't figure out what's wrong here

EDIT - 4 : Updated CUDA to 11.4 , still same error . Here's complete build log

PS D:\projects\darknet> .\build.ps1 -EnableCUDA -EnableCUDNN -EnableOPENCV -UseVCPKG -ForceVCPKGCacheRemoval
Transcript started, output file is D:\projects\darknet/build.log
Darknet build script version 0.9.6
PowerShell version:
Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      19041  1023
vcpkg bootstrap script: bootstrap-vcpkg.bat
CUDA is enabled
CUDNN is enabled
OPENCV is enabled
OPENCV with CUDA extension is not enabled, you can enable it passing -EnableOPENCV_CUDA
VCPKG is enabled
VCPKG will be updated to latest version if found
VisualStudio integration is enabled, please pass -DoNotSetupVS to the script to disable
Yolo C# wrapper integration is disabled, please pass -EnableCSharpWrapper to the script to enable. You must be on Windows!
Ninja is enabled, please pass -DoNotUseNinja to the script to disable
ForceCPP build mode is disabled, please pass -ForceCPP to the script to enable
Using git from C:\Program Files\Git\cmd\git.exe
Darknet has been cloned with git and supports self-updating mechanism
Darknet will self-update sources, please pass -DoNotUpdateDARKNET to the script to disable
Already up to date.
Using CMake from C:\Program Files\CMake\bin\cmake.exe
cmake version 3.20.5

CMake suite maintained and supported by Kitware (kitware.com/cmake).
Using Ninja from D:\projects\darknet/ninja\ninja.exe
Ninja version 1.10.2
Found vcpkg in VCPKG_ROOT: D:\projects\darknet/vcpkg
Already up to date.
Downloading https://github.com/microsoft/vcpkg-tool/releases/download/2021-06-29/vcpkg.exe -> D:\projects\darknet\vcpkg\vcpkg.exe
Done.

Removing local vcpkg binary cache from C:\Users\MaDmAn\AppData\Local/vcpkg/archive
Setting up environment to use CMake generator: Ninja
Removing folder ./build_release
Configuring CMake project
CMake args: -G "Ninja"  -DCMAKE_BUILD_TYPE=Release -DENABLE_VCPKG_INTEGRATION:BOOL=ON -DVCPKG_BUILD_OPENCV_WITH_CUDA:BOOL=OFF -S ..
Darknet_VERSION: 0.2.5.4
-- VCPKG found: D:\projects\darknet/vcpkg
-- Using VCPKG integration
-- VCPKG_MANIFEST_FEATURES: cuda;cudnn;opencv-base
-- Running vcpkg install
Detecting compiler hash for triplet x64-windows...
The following packages will be built and installed:
    bzip2[core]:x64-windows -> 1.0.8#2
    cuda[core]:x64-windows -> 10.1#7
    cudnn[core]:x64-windows -> 7.6.5#4
    ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,postproc,swresample,swscale]:x64-windows -> 4.4#6
    giflib[core]:x64-windows -> 5.1.4-6
    hdf5[core,szip,zlib]:x64-windows -> 1.12.0#3
    leptonica[core]:x64-windows -> 1.80.0#2
    libarchive[bzip2,core,libxml2,lz4,lzma,openssl,zstd]:x64-windows -> 3.4.3#6
    libiconv[core]:x64-windows -> 1.16#8
    libjpeg-turbo[core]:x64-windows -> 2.0.6
    liblzma[core]:x64-windows -> 5.2.5#2
    libpng[core]:x64-windows -> 1.6.37#15
    libwebp[core,nearlossless,simd,unicode]:x64-windows -> 1.1.0#3
    libxml2[core]:x64-windows -> 2.9.10#8
    lz4[core]:x64-windows -> 1.9.3
    opencv[contrib,core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows -> 4.5.2
    opencv4[contrib,core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows -> 4.5.2
    openjpeg[core]:x64-windows -> 2.3.1#4
    openssl[core]:x64-windows -> 1.1.1k#6
    protobuf[core]:x64-windows -> 3.15.8#3
    pthreads[core]:x64-windows -> 3.0.0#10
    quirc[core]:x64-windows -> 1.1#2
    stb[core]:x64-windows -> 2020-09-14
    szip[core]:x64-windows -> 2.1.1#7
    tesseract[core]:x64-windows -> 4.1.1#8
    tiff[core,jpeg,lzma,zip]:x64-windows -> 4.3.0
    vcpkg-cmake[core]:x64-windows -> 2021-06-25#4
    vcpkg-cmake-config[core]:x64-windows -> 2021-05-22
    vcpkg-pkgconfig-get-modules[core]:x64-windows -> 2021-04-02#1
    xxhash[core]:x64-windows -> 0.8.0#1
    zlib[core]:x64-windows -> 1.2.11#10
    zstd[core]:x64-windows -> 1.4.9
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\fc\fc25a5813fbc35a7176ca1ad9ca6f324af03f46de29dffd8a38f9d3717887069.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\48\48326b0d68faa527dab5a33f401ee8b67c0a1a3fb1a21e60449aaedd3ed60804.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\0b\0bfc87721b90e3155dea10d4ae2c9aff47a05d95abb8d123fbbba5235a4aca86.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\2d\2d2c0ece607e9b8d59adc5ccc40f5caf78d56ca5d8630810c7287c7efd917a8e.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\cf\cf0955baef61f905547d7640d84a6524b2cf410b0cb62a7e389c982542598ffe.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\7e\7efd8215439be5921c093461d20ae3c36f443203489c0be2aa852a1a122f6067.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\e8\e876ac8b47c6ce0fb34c343d918c4c36d079fee85a59a60424ed8c90b618c22f.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\a4\a4e572ea2f8e8a8657947a70c56ce82b61cffec8b41f601df7f12ded47ca9e3f.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\90\906adaf5ca3f2925a7bdfb9305eb64f3e6ac5d8b44314475abcc0e08d5d96f4f.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\94\941c5d8e9b42f9dce3922af9073c003409802af20793221a772eb9e278ce2bb4.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\9a\9a166b8c42fe5de19095dc154e6f44f493a1462b99629b2cc62af7334f367653.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\25\2593e9f8c4ec3f6fd44c147904830c261cfdd00b5c57995b3938e2bad3133065.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\5d\5d4365866a93c584f183d9f72e5af6c573c1dda2a02871e5d7e24f5173c81f14.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\5e\5e5618784a0353be3fcb521e1d080a79ecd58b830a3c17d0c01f33fcf0662eb7.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\a4\a46040a5e7a682e960ff5495000716500acd743d177e17f68d2abf28cfefa170.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\e7\e70d5f2cf9f83bbab2ed2cc6d723eaa8357cf5f53630a44cf1f564288b454e13.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\66\663b54632942e9dcd7ae3514dc3285da82f641b7c1229aefd19c3401f1de1e53.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\87\87e245071aba216690a2963f273508815634fa763125ea2fabb708d67ac0d6d2.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\57\575e42a46d481cc237a5c9309d12113d1d0cb63966f946faea02417ab3622a41.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\36\36977b22878612c54eba2913c0e9158bff3a4d1d54250893498b944c2d965e97.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\cb\cb81e537e4ebd18eef1db078306382d454cf2bdd4cfe8d5464c4268786fa8537.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\07\0746706a362fddce153c05b870c003b9d63c17653320695c198f5727517217ee.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\89\89f9b14324e1ed66d2030fca9ef3d501ed4d3d68abd4010b176a0463765ad465.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\ef\ef8eb18fae5b8396cebe969a3afc1b6fa875ee4fa20caeb3f4f6244a7713ad80.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\78\78044d54139cbf6fe07bbf54f2672f221db4bd8e5adfd7e05964a99d2533f163.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\61\6130cff35ea616b0511584cee951b7bc3cc285ac0444a2e162cb47343b39cc37.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\73\73915230a4e72e848b7496e5d0c7a1440dc28ea5b3696f85527e2e9876799f96.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\28\2874972dd969e18626e94fcfa67d5c1122d67d899f4d7c8a5beb728ed25b45c3.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\ea\ea5412911c0938e46d11b77e2d163f79aef680fd830ac9a058c5093c94e18b1b.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\83\83976456c7c66e551be387184dfb9b6b61d5f27dbc22db6d41097cbc9e74ca69.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\c7\c75c25f8e4d08866fc804ee3ec46411de70d1a24db3d2273e04f2da895fff926.zip
Could not locate cached archive: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\e5\e58ebabf9ce8856d943f3e2634cc760d21f4c0b02bb6a6c4aa4cda91136165ff.zip
Starting package 1/32: pthreads:x64-windows
Building package pthreads[core]:x64-windows...
-- Downloading https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=cfhcable;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=pilotfiber;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=gigenet;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=versaweb;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=ayera;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=netactuate;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=phoenixnap;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=astuteinternet;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=freefr;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=netcologne;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=deac-riga;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=excellmedia;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=iweb;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=jaist;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=jztkft;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=managedway;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=nchc;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=netix;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=ufpr;https://sourceforge.net/projects/pthreads4w//files/pthreads4w-code-v3.0.0.zip/download?use_mirror=tenet -> pthreads4w-code-v3.0.0.zip...
-- Extracting source D:/projects/darknet/vcpkg/downloads/pthreads4w-code-v3.0.0.zip
-- Applying patch fix-arm-macro.patch
-- Applying patch use-md.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/pthreads/src/49e541b66c-53502e357c.clean
-- Building x64-windows-rel
-- Building x64-windows-rel done
-- Building x64-windows-dbg
-- Building x64-windows-dbg done
-- Installing: D:/projects/darknet/vcpkg/packages/pthreads_x64-windows/share/pthreads/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\fc\fc25a5813fbc35a7176ca1ad9ca6f324af03f46de29dffd8a38f9d3717887069.zip
Building package pthreads[core]:x64-windows... done
Installing package pthreads[core]:x64-windows...
Installing package pthreads[core]:x64-windows... done
Elapsed time for package pthreads:x64-windows: 47.59 s
Starting package 2/32: stb:x64-windows
Building package stb[core]:x64-windows...
-- Downloading https://github.com/nothings/stb/archive/b42009b3b9d4ca35bc703f5310eedc74f584be58.tar.gz -> nothings-stb-b42009b3b9d4ca35bc703f5310eedc74f584be58.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/nothings-stb-b42009b3b9d4ca35bc703f5310eedc74f584be58.tar.gz
-- Using source at D:/projects/darknet/vcpkg/buildtrees/stb/src/74f584be58-c6ba25f408.clean
-- Installing: D:/projects/darknet/vcpkg/packages/stb_x64-windows/share/stb/copyright
-- Installing: D:/projects/darknet/vcpkg/packages/stb_x64-windows/share/stb/FindStb.cmake
-- Installing: D:/projects/darknet/vcpkg/packages/stb_x64-windows/share/stb/vcpkg-cmake-wrapper.cmake
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\48\48326b0d68faa527dab5a33f401ee8b67c0a1a3fb1a21e60449aaedd3ed60804.zip
Building package stb[core]:x64-windows... done
Installing package stb[core]:x64-windows...
Installing package stb[core]:x64-windows... done
Elapsed time for package stb:x64-windows: 6.063 s
Starting package 3/32: cuda:x64-windows
Building package cuda[core]:x64-windows...
-- Found CUDA V11.4.48
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\0b\0bfc87721b90e3155dea10d4ae2c9aff47a05d95abb8d123fbbba5235a4aca86.zip
Building package cuda[core]:x64-windows... done
Installing package cuda[core]:x64-windows...
Installing package cuda[core]:x64-windows... done
Elapsed time for package cuda:x64-windows: 100.6 ms
Starting package 4/32: cudnn:x64-windows
Building package cudnn[core]:x64-windows...
-- Found CUDA V11.4.48
-- CUDNN_INCLUDE_DIR: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.4/include
-- CUDNN_LIBRARY: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.4/lib/x64/cudnn.lib
-- Found CUDNN 8.2.0 located on system: (include C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.4/include lib: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.4/lib/x64/cudnn.lib)
-- Installing: D:/projects/darknet/vcpkg/packages/cudnn_x64-windows/share/cudnn/FindCUDNN.cmake
-- Installing: D:/projects/darknet/vcpkg/packages/cudnn_x64-windows/share/cudnn/usage
-- Installing: D:/projects/darknet/vcpkg/packages/cudnn_x64-windows/share/cudnn/vcpkg-cmake-wrapper.cmake
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\2d\2d2c0ece607e9b8d59adc5ccc40f5caf78d56ca5d8630810c7287c7efd917a8e.zip
Building package cudnn[core]:x64-windows... done
Installing package cudnn[core]:x64-windows...
Installing package cudnn[core]:x64-windows... done
Elapsed time for package cudnn:x64-windows: 160 ms
Starting package 5/32: libwebp:x64-windows
Building package libwebp[core,nearlossless,simd,unicode]:x64-windows...
-- Downloading https://github.com/webmproject/libwebp/archive/d7844e9762b61c9638c263657bd49e1690184832.tar.gz -> webmproject-libwebp-d7844e9762b61c9638c263657bd49e1690184832.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/webmproject-libwebp-d7844e9762b61c9638c263657bd49e1690184832.tar.gz
-- Applying patch 0001-build.patch
-- Applying patch 0002-cmake-config-add-backwards-compatibility.patch
-- Applying patch 0003-always-mux.patch
-- Applying patch 0004-add-missing-linked-library.patch
-- Applying patch 0006-fix-dependecies-platform.patch
-- Applying patch 0007-fix-arm-build.patch
-- Applying patch 0008-sdl.patch
-- Applying patch 0009-glut.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/libwebp/src/1690184832-82bbc619db.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libwebp_x64-windows/lib/pkgconfig/libwebp.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libwebp_x64-windows/lib/pkgconfig/libwebpdecoder.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libwebp_x64-windows/lib/pkgconfig/libwebpdemux.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libwebp_x64-windows/lib/pkgconfig/libwebpmux.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libwebp_x64-windows/debug/lib/pkgconfig/libwebp.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libwebp_x64-windows/debug/lib/pkgconfig/libwebpdecoder.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libwebp_x64-windows/debug/lib/pkgconfig/libwebpdemux.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libwebp_x64-windows/debug/lib/pkgconfig/libwebpmux.pc
-- Installing: D:/projects/darknet/vcpkg/packages/libwebp_x64-windows/share/libwebp/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\cf\cf0955baef61f905547d7640d84a6524b2cf410b0cb62a7e389c982542598ffe.zip
Building package libwebp[core,nearlossless,simd,unicode]:x64-windows... done
Installing package libwebp[core,nearlossless,simd,unicode]:x64-windows...
Installing package libwebp[core,nearlossless,simd,unicode]:x64-windows... done
Elapsed time for package libwebp:x64-windows: 32.93 s
Starting package 6/32: zlib:x64-windows
Building package zlib[core]:x64-windows...
-- Downloading http://www.zlib.net/zlib-1.2.11.tar.gz;https://downloads.sourceforge.net/project/libpng/zlib/1.2.11/zlib-1.2.11.tar.gz -> zlib1211.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/zlib1211.tar.gz
-- Applying patch cmake_dont_build_more_than_needed.patch
-- Applying patch 0001-Prevent-invalid-inclusions-when-HAVE_-is-set-to-0.patch
-- Applying patch add_debug_postfix_on_mingw.patch
-- Applying patch 0002-android-build-mingw.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/zlib/src/1.2.11-e9a093319e.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/zlib_x64-windows/lib/pkgconfig/zlib.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/zlib_x64-windows/debug/lib/pkgconfig/zlib.pc
-- Installing: D:/projects/darknet/vcpkg/packages/zlib_x64-windows/share/zlib/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\7e\7efd8215439be5921c093461d20ae3c36f443203489c0be2aa852a1a122f6067.zip
Building package zlib[core]:x64-windows... done
Installing package zlib[core]:x64-windows...
Installing package zlib[core]:x64-windows... done
Elapsed time for package zlib:x64-windows: 8.216 s
Starting package 7/32: liblzma:x64-windows
Building package liblzma[core]:x64-windows...
-- Downloading https://github.com/xz-mirror/xz/archive/v5.2.5.tar.gz -> xz-mirror-xz-v5.2.5.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/xz-mirror-xz-v5.2.5.tar.gz
-- Applying patch enable-uwp-builds.patch
-- Applying patch fix_config_include.patch
-- Applying patch win_output_name.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/liblzma/src/v5.2.5-77236e0e89.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/liblzma_x64-windows/lib/pkgconfig/liblzma.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/liblzma_x64-windows/debug/lib/pkgconfig/liblzma.pc
-- Installing: D:/projects/darknet/vcpkg/packages/liblzma_x64-windows/share/liblzma/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\e8\e876ac8b47c6ce0fb34c343d918c4c36d079fee85a59a60424ed8c90b618c22f.zip
Building package liblzma[core]:x64-windows... done
Installing package liblzma[core]:x64-windows...
Installing package liblzma[core]:x64-windows... done
Elapsed time for package liblzma:x64-windows: 15.33 s
Starting package 8/32: libjpeg-turbo:x64-windows
Building package libjpeg-turbo[core]:x64-windows...
-- Downloading https://github.com/libjpeg-turbo/libjpeg-turbo/archive/10ba6ed3365615ed5c2995fe2d240cb2d5000173.tar.gz -> libjpeg-turbo-libjpeg-turbo-10ba6ed3365615ed5c2995fe2d240cb2d5000173.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/libjpeg-turbo-libjpeg-turbo-10ba6ed3365615ed5c2995fe2d240cb2d5000173.tar.gz
-- Applying patch add-options-for-exes-docs-headers.patch
-- Applying patch workaround_cmake_system_processor.patch
-- Applying patch fix-incompatibility-for-c11-c17.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/libjpeg-turbo/src/b2d5000173-96baffe5bc.clean
-- Downloading https://www.nasm.us/pub/nasm/releasebuilds/2.15.05/win32/nasm-2.15.05-win32.zip;https://fossies.org/windows/misc/nasm-2.15.05-win32.zip -> nasm-2.15.05-win32.zip...
CMake Deprecation Warning at scripts/cmake/vcpkg_check_features.cmake:182 (message):
  calling `vcpkg_check_features` without the `FEATURES` keyword has been
  deprecated.

      Please add the `FEATURES` keyword to the call.
Call Stack (most recent call first):
  ports/libjpeg-turbo/portfile.cmake:35 (vcpkg_check_features)
  scripts/ports.cmake:139 (include)

-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libjpeg-turbo_x64-windows/lib/pkgconfig/libjpeg.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libjpeg-turbo_x64-windows/lib/pkgconfig/libturbojpeg.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libjpeg-turbo_x64-windows/debug/lib/pkgconfig/libjpeg.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libjpeg-turbo_x64-windows/debug/lib/pkgconfig/libturbojpeg.pc
-- Installing: D:/projects/darknet/vcpkg/packages/libjpeg-turbo_x64-windows/share/libjpeg-turbo/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\a4\a4e572ea2f8e8a8657947a70c56ce82b61cffec8b41f601df7f12ded47ca9e3f.zip
Building package libjpeg-turbo[core]:x64-windows... done
Installing package libjpeg-turbo[core]:x64-windows...
Installing package libjpeg-turbo[core]:x64-windows... done
Elapsed time for package libjpeg-turbo:x64-windows: 25.13 s
Starting package 9/32: vcpkg-cmake:x64-windows
Building package vcpkg-cmake[core]:x64-windows...
-- Installing: D:/projects/darknet/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake
-- Installing: D:/projects/darknet/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake
-- Installing: D:/projects/darknet/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake
-- Installing: D:/projects/darknet/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/vcpkg-port-config.cmake
-- Installing: D:/projects/darknet/vcpkg/packages/vcpkg-cmake_x64-windows/share/vcpkg-cmake/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\90\906adaf5ca3f2925a7bdfb9305eb64f3e6ac5d8b44314475abcc0e08d5d96f4f.zip
Building package vcpkg-cmake[core]:x64-windows... done
Installing package vcpkg-cmake[core]:x64-windows...
Installing package vcpkg-cmake[core]:x64-windows... done
Elapsed time for package vcpkg-cmake:x64-windows: 104.1 ms
Starting package 10/32: tiff:x64-windows
Building package tiff[core,jpeg,lzma,zip]:x64-windows...
-- Downloading https://download.osgeo.org/libtiff/tiff-4.3.0.tar.gz -> tiff-4.3.0.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/tiff-4.3.0.tar.gz
-- Applying patch cmakelists.patch
-- Applying patch fix-pkgconfig.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/tiff/src/4.3.0-a2c25e37d6.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/tiff_x64-windows/lib/pkgconfig/libtiff-4.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/tiff_x64-windows/debug/lib/pkgconfig/libtiff-4.pc
-- Installing: D:/projects/darknet/vcpkg/packages/tiff_x64-windows/share/tiff/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\94\941c5d8e9b42f9dce3922af9073c003409802af20793221a772eb9e278ce2bb4.zip
Building package tiff[core,jpeg,lzma,zip]:x64-windows... done
Installing package tiff[core,jpeg,lzma,zip]:x64-windows...
Installing package tiff[core,jpeg,lzma,zip]:x64-windows... done
Elapsed time for package tiff:x64-windows: 36.03 s
Starting package 11/32: quirc:x64-windows
Building package quirc[core]:x64-windows...
-- Note: quirc only supports static library linkage. Building static library.
-- Downloading https://github.com/dlbeer/quirc/archive/7e7ab596e4d0988faf1c12ae89c354b114181c40.tar.gz -> dlbeer-quirc-7e7ab596e4d0988faf1c12ae89c354b114181c40.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/dlbeer-quirc-7e7ab596e4d0988faf1c12ae89c354b114181c40.tar.gz
-- Using source at D:/projects/darknet/vcpkg/buildtrees/quirc/src/b114181c40-f1e71e0d5b.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/projects/darknet/vcpkg/packages/quirc_x64-windows/share/quirc/copyright/LICENSE
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\9a\9a166b8c42fe5de19095dc154e6f44f493a1462b99629b2cc62af7334f367653.zip
Building package quirc[core]:x64-windows... done
Installing package quirc[core]:x64-windows...
Installing package quirc[core]:x64-windows... done
Elapsed time for package quirc:x64-windows: 3.743 s
Starting package 12/32: vcpkg-cmake-config:x64-windows
Building package vcpkg-cmake-config[core]:x64-windows...
-- Installing: D:/projects/darknet/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg_cmake_config_fixup.cmake
-- Installing: D:/projects/darknet/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/vcpkg-port-config.cmake
-- Installing: D:/projects/darknet/vcpkg/packages/vcpkg-cmake-config_x64-windows/share/vcpkg-cmake-config/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\25\2593e9f8c4ec3f6fd44c147904830c261cfdd00b5c57995b3938e2bad3133065.zip
Building package vcpkg-cmake-config[core]:x64-windows... done
Installing package vcpkg-cmake-config[core]:x64-windows...
Installing package vcpkg-cmake-config[core]:x64-windows... done
Elapsed time for package vcpkg-cmake-config:x64-windows: 98.95 ms
Starting package 13/32: libpng:x64-windows
Building package libpng[core]:x64-windows...
-- Downloading https://github.com/glennrp/libpng/archive/v1.6.37.tar.gz -> glennrp-libpng-v1.6.37.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/glennrp-libpng-v1.6.37.tar.gz
-- Applying patch use_abort.patch
-- Applying patch cmake.patch
-- Applying patch pkgconfig.patch
-- Applying patch pkgconfig.2.patch
-- Applying patch fix-export-targets.patch
-- Applying patch macos-arch-fix.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/libpng/src/v1.6.37-05658d6f1a.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libpng_x64-windows/lib/pkgconfig/libpng.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libpng_x64-windows/lib/pkgconfig/libpng16.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libpng_x64-windows/debug/lib/pkgconfig/libpng.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libpng_x64-windows/debug/lib/pkgconfig/libpng16.pc
-- Installing: D:/projects/darknet/vcpkg/packages/libpng_x64-windows/share/libpng/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\5d\5d4365866a93c584f183d9f72e5af6c573c1dda2a02871e5d7e24f5173c81f14.zip
Building package libpng[core]:x64-windows... done
Installing package libpng[core]:x64-windows...
Installing package libpng[core]:x64-windows... done
Elapsed time for package libpng:x64-windows: 10.7 s
Starting package 14/32: vcpkg-pkgconfig-get-modules:x64-windows
Building package vcpkg-pkgconfig-get-modules[core]:x64-windows...
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\5e\5e5618784a0353be3fcb521e1d080a79ecd58b830a3c17d0c01f33fcf0662eb7.zip
Building package vcpkg-pkgconfig-get-modules[core]:x64-windows... done
Installing package vcpkg-pkgconfig-get-modules[core]:x64-windows...
Installing package vcpkg-pkgconfig-get-modules[core]:x64-windows... done
Elapsed time for package vcpkg-pkgconfig-get-modules:x64-windows: 133.6 ms
Starting package 15/32: ffmpeg:x64-windows
Building package ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,postproc,swresample,swscale]:x64-windows...
-- Downloading https://github.com/ffmpeg/ffmpeg/archive/n4.4.tar.gz -> ffmpeg-ffmpeg-n4.4.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/ffmpeg-ffmpeg-n4.4.tar.gz
-- Applying patch 0001-create-lib-libraries.patch
-- Applying patch 0003-fix-windowsinclude.patch
-- Applying patch 0004-fix-debug-build.patch
-- Applying patch 0006-fix-StaticFeatures.patch
-- Applying patch 0007-fix-lib-naming.patch
-- Applying patch 0009-Fix-fdk-detection.patch
-- Applying patch 0010-Fix-x264-detection.patch
-- Applying patch 0011-Fix-x265-detection.patch
-- Applying patch 0012-Fix-ssl-110-detection.patch
-- Applying patch 0013-define-WINVER.patch
-- Applying patch 0014-avfilter-dependency-fix.patch
-- Applying patch 0015-Fix-xml2-detection.patch
-- Applying patch 0016-configure-dnn-needs-avformat.patch
-- Applying patch 0017-Patch-for-ticket-9019-CUDA-Compile-Broken-Using-MSVC.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/ffmpeg/src/n4.4-5002d86a54.clean
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aaafe87dcead272e
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building Options: --toolchain=msvc --enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --enable-asm --enable-x86asm --enable-gpl --disable-ffmpeg --disable-ffplay --disable-ffprobe --enable-avcodec --enable-avdevice --enable-avformat --enable-avfilter --enable-postproc --enable-swresample --enable-swscale --disable-libass --disable-avisynth --disable-bzlib --disable-libdav1d --disable-libfdk-aac --disable-libfontconfig --disable-libfreetype --disable-libfribidi --disable-iconv --disable-libilbc --disable-lzma --disable-libmp3lame --disable-libmodplug --disable-cuda --disable-nvenc --disable-nvdec  --disable-cuvid --disable-ffnvcodec --disable-opencl --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-openssl --disable-libopus --disable-sdl2 --disable-libsnappy --disable-libsoxr --disable-libspeex --disable-libssh --disable-libtensorflow --disable-libtesseract --disable-libtheora --disable-libvorbis --disable-libvpx --disable-libwebp --disable-libx264 --disable-libx265 --disable-libxml2 --disable-zlib  --disable-static --enable-shared --extra-cflags=-DHAVE_UNISTD_H=0
-- Building Release Options:  --extra-cflags=-MD --extra-cxxflags=-MD
-- Building ffmpeg for Release
-- Building Debug Options: --debug --extra-cflags=-MDd --extra-cxxflags=-MDd
-- Building ffmpeg for Debug
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\debug\lib\avcodec.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\debug\lib\avdevice.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\debug\lib\avfilter.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\debug\lib\avformat.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\debug\lib\avutil.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\debug\lib\postproc.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\debug\lib\swresample.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\debug\lib\swscale.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\lib\avcodec.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\lib\avdevice.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\lib\avfilter.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\lib\avformat.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\lib\avutil.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\lib\postproc.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\lib\swresample.lib
-- Generating D:\projects\darknet\vcpkg\packages\ffmpeg_x64-windows\lib\swscale.lib
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/lib/pkgconfig/libavcodec.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/lib/pkgconfig/libavdevice.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/lib/pkgconfig/libavfilter.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/lib/pkgconfig/libavformat.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/lib/pkgconfig/libavutil.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/lib/pkgconfig/libpostproc.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/lib/pkgconfig/libswresample.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/lib/pkgconfig/libswscale.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/debug/lib/pkgconfig/libavcodec.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/debug/lib/pkgconfig/libavdevice.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/debug/lib/pkgconfig/libavfilter.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/debug/lib/pkgconfig/libavformat.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/debug/lib/pkgconfig/libavutil.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/debug/lib/pkgconfig/libpostproc.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/debug/lib/pkgconfig/libswresample.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/debug/lib/pkgconfig/libswscale.pc
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
Dependencies (release):
Dependencies (debug):
-- Installing: D:/projects/darknet/vcpkg/packages/ffmpeg_x64-windows/share/ffmpeg/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\a4\a46040a5e7a682e960ff5495000716500acd743d177e17f68d2abf28cfefa170.zip
Building package ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,postproc,swresample,swscale]:x64-windows... done
Installing package ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,postproc,swresample,swscale]:x64-windows...
Installing package ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,postproc,swresample,swscale]:x64-windows... done
Elapsed time for package ffmpeg:x64-windows: 14.27 min
Starting package 16/32: protobuf:x64-windows
Building package protobuf[core]:x64-windows...
-- Downloading https://github.com/protocolbuffers/protobuf/archive/436bd7880e458532901c58f4d9d1ea23fa7edd52.tar.gz -> protocolbuffers-protobuf-436bd7880e458532901c58f4d9d1ea23fa7edd52.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/protocolbuffers-protobuf-436bd7880e458532901c58f4d9d1ea23fa7edd52.tar.gz
-- Applying patch fix-static-build.patch
-- Applying patch fix-default-proto-file-path.patch
-- Applying patch port_def.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/protobuf/src/23fa7edd52-d12711f482.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/protobuf_x64-windows/lib/pkgconfig/protobuf-lite.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/protobuf_x64-windows/lib/pkgconfig/protobuf.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/protobuf_x64-windows/debug/lib/pkgconfig/protobuf-lite.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/protobuf_x64-windows/debug/lib/pkgconfig/protobuf.pc
-- Installing: D:/projects/darknet/vcpkg/packages/protobuf_x64-windows/share/protobuf/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\e7\e70d5f2cf9f83bbab2ed2cc6d723eaa8357cf5f53630a44cf1f564288b454e13.zip
Building package protobuf[core]:x64-windows... done
Installing package protobuf[core]:x64-windows...
Installing package protobuf[core]:x64-windows... done
Elapsed time for package protobuf:x64-windows: 2.05 min
Starting package 17/32: zstd:x64-windows
Building package zstd[core]:x64-windows...
-- Downloading https://github.com/facebook/zstd/archive/v1.4.9.tar.gz -> facebook-zstd-v1.4.9.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/facebook-zstd-v1.4.9.tar.gz
-- Applying patch install_pkgpc.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/zstd/src/v1.4.9-c68dd30ff7.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/zstd_x64-windows/lib/pkgconfig/libzstd.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/zstd_x64-windows/debug/lib/pkgconfig/libzstd.pc
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\66\663b54632942e9dcd7ae3514dc3285da82f641b7c1229aefd19c3401f1de1e53.zip
Building package zstd[core]:x64-windows... done
Installing package zstd[core]:x64-windows...
Installing package zstd[core]:x64-windows... done
Elapsed time for package zstd:x64-windows: 20.23 s
Starting package 18/32: openssl:x64-windows
Building package openssl[core]:x64-windows...
-- Downloading https://www.openssl.org/source/openssl-1.1.1k.tar.gz;https://www.openssl.org/source/old/1.1.1/openssl-1.1.1k.tar.gz -> openssl-1.1.1k.tar.gz...
-- Downloading https://strawberryperl.com/download/5.30.0.1/strawberry-perl-5.30.0.1-32bit.zip -> strawberry-perl-5.30.0.1-32bit.zip...
-- Extracting source D:/projects/darknet/vcpkg/downloads/openssl-1.1.1k.tar.gz
-- Using source at D:/projects/darknet/vcpkg/buildtrees/openssl/src/openssl-1-a1ae8b796e.clean
-- Downloading https://download.qt.io/official_releases/jom/jom_1_1_3.zip;https://mirrors.ocf.berkeley.edu/qt/official_releases/jom/jom_1_1_3.zip -> jom_1_1_3.zip...
-- Copying openssl release source files...
-- Copying openssl release source files... done
-- Configure x64-windows-rel
-- Configure x64-windows-rel done
-- Build x64-windows-rel
-- Build x64-windows-rel done
-- Copying openssl debug source files...
-- Copying openssl debug source files... done
-- Configure x64-windows-dbg
-- Configure x64-windows-dbg done
-- Build x64-windows-dbg
-- Build x64-windows-dbg done
-- Installing: D:/projects/darknet/vcpkg/packages/openssl_x64-windows/share/openssl/copyright
-- Installing: D:/projects/darknet/vcpkg/packages/openssl_x64-windows/share/openssl/vcpkg-cmake-wrapper.cmake
-- Installing: D:/projects/darknet/vcpkg/packages/openssl_x64-windows/share/openssl/usage
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\87\87e245071aba216690a2963f273508815634fa763125ea2fabb708d67ac0d6d2.zip
Building package openssl[core]:x64-windows... done
Installing package openssl[core]:x64-windows...
Installing package openssl[core]:x64-windows... done
Elapsed time for package openssl:x64-windows: 6.117 min
Starting package 19/32: xxhash:x64-windows
Building package xxhash[core]:x64-windows...
-- Downloading https://github.com/Cyan4973/xxHash/archive/94e5f23e736f2bb67ebdf90727353e65344f9fc0.tar.gz -> Cyan4973-xxHash-94e5f23e736f2bb67ebdf90727353e65344f9fc0.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/Cyan4973-xxHash-94e5f23e736f2bb67ebdf90727353e65344f9fc0.tar.gz
-- Using source at D:/projects/darknet/vcpkg/buildtrees/xxhash/src/65344f9fc0-10f42fcb8c.clean
CMake Deprecation Warning at scripts/cmake/vcpkg_check_features.cmake:182 (message):
  calling `vcpkg_check_features` without the `FEATURES` keyword has been
  deprecated.

      Please add the `FEATURES` keyword to the call.
Call Stack (most recent call first):
  ports/xxhash/portfile.cmake:9 (vcpkg_check_features)
  scripts/ports.cmake:139 (include)

-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/projects/darknet/vcpkg/packages/xxhash_x64-windows/share/xxhash/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\57\575e42a46d481cc237a5c9309d12113d1d0cb63966f946faea02417ab3622a41.zip
Building package xxhash[core]:x64-windows... done
Installing package xxhash[core]:x64-windows...
Installing package xxhash[core]:x64-windows... done
Elapsed time for package xxhash:x64-windows: 6.585 s
Starting package 20/32: lz4:x64-windows
Building package lz4[core]:x64-windows...
-- Downloading https://github.com/lz4/lz4/archive/v1.9.3.tar.gz -> lz4-lz4-v1.9.3.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/lz4-lz4-v1.9.3.tar.gz
-- Using source at D:/projects/darknet/vcpkg/buildtrees/lz4/src/v1.9.3-4743bd4e50.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/projects/darknet/vcpkg/packages/lz4_x64-windows/share/lz4/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\36\36977b22878612c54eba2913c0e9158bff3a4d1d54250893498b944c2d965e97.zip
Building package lz4[core]:x64-windows... done
Installing package lz4[core]:x64-windows...
Installing package lz4[core]:x64-windows... done
Elapsed time for package lz4:x64-windows: 9.609 s
Starting package 21/32: libiconv:x64-windows
Building package libiconv[core]:x64-windows...
-- Downloading https://ftp.gnu.org/gnu/libiconv/libiconv-1.16.tar.gz;https://www.mirrorservice.org/sites/ftp.gnu.org/gnu/libiconv/libiconv-1.16.tar.gz -> libiconv-1.16.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/libiconv-1.16.tar.gz
-- Applying patch 0002-Config-for-MSVC.patch
-- Applying patch 0003-Add-export.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/libiconv/src/1.16-de9101a181.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/703e5aa15d402568
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aaafe87dcead272e
-- Building x64-windows-dbg
-- Installing x64-windows-dbg
-- Building x64-windows-rel
-- Installing x64-windows-rel
CMake Warning at scripts/cmake/vcpkg_copy_pdbs.cmake:69 (message):
  Could not find a matching pdb file
  for:D:/projects/darknet/vcpkg/packages/libiconv_x64-windows/bin/charset-1.dll

      D:/projects/darknet/vcpkg/packages/libiconv_x64-windows/bin/iconv-2.dll
      D:/projects/darknet/vcpkg/packages/libiconv_x64-windows/debug/bin/charset-1.dll
      D:/projects/darknet/vcpkg/packages/libiconv_x64-windows/debug/bin/iconv-2.dll

Call Stack (most recent call first):
  ports/libiconv/portfile.cmake:39 (vcpkg_copy_pdbs)
  scripts/ports.cmake:139 (include)

-- Installing: D:/projects/darknet/vcpkg/packages/libiconv_x64-windows/share/libiconv/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\cb\cb81e537e4ebd18eef1db078306382d454cf2bdd4cfe8d5464c4268786fa8537.zip
Building package libiconv[core]:x64-windows... done
Installing package libiconv[core]:x64-windows...
Installing package libiconv[core]:x64-windows... done
Elapsed time for package libiconv:x64-windows: 7.667 min
Starting package 22/32: libxml2:x64-windows
Building package libxml2[core]:x64-windows...
-- Downloading https://github.com/GNOME/libxml2/archive/v2.9.10.tar.gz -> GNOME-libxml2-v2.9.10.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/GNOME-libxml2-v2.9.10.tar.gz
-- Using source at D:/projects/darknet/vcpkg/buildtrees/libxml2/src/v2.9.10-5659b01dbd.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libxml2_x64-windows/lib/pkgconfig/libxml-2.0.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/libxml2_x64-windows/debug/lib/pkgconfig/libxml-2.0.pc
-- Installing: D:/projects/darknet/vcpkg/packages/libxml2_x64-windows/share/libxml2/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\07\0746706a362fddce153c05b870c003b9d63c17653320695c198f5727517217ee.zip
Building package libxml2[core]:x64-windows... done
Installing package libxml2[core]:x64-windows...
Installing package libxml2[core]:x64-windows... done
Elapsed time for package libxml2:x64-windows: 40.05 s
Starting package 23/32: bzip2:x64-windows
Building package bzip2[core]:x64-windows...
-- Downloading https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz -> bzip2-1.0.8.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/bzip2-1.0.8.tar.gz
-- Applying patch fix-import-export-macros.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/bzip2/src/bzip2-1-336d4794a3.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/bzip2_x64-windows/lib/pkgconfig/bzip2.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/bzip2_x64-windows/debug/lib/pkgconfig/bzip2.pc
-- Installing: D:/projects/darknet/vcpkg/packages/bzip2_x64-windows/share/bzip2/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\89\89f9b14324e1ed66d2030fca9ef3d501ed4d3d68abd4010b176a0463765ad465.zip
Building package bzip2[core]:x64-windows... done
Installing package bzip2[core]:x64-windows...
Installing package bzip2[core]:x64-windows... done
Elapsed time for package bzip2:x64-windows: 19.46 s
Starting package 24/32: libarchive:x64-windows
Building package libarchive[bzip2,core,libxml2,lz4,lzma,openssl,zstd]:x64-windows...
-- Downloading https://github.com/libarchive/libarchive/archive/fc6563f5130d8a7ee1fc27c0e55baef35119f26c.tar.gz -> libarchive-libarchive-fc6563f5130d8a7ee1fc27c0e55baef35119f26c.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/libarchive-libarchive-fc6563f5130d8a7ee1fc27c0e55baef35119f26c.tar.gz
-- Applying patch fix-buildsystem.patch
-- Applying patch fix-dependencies.patch
-- Applying patch fix-cpu-set.patch
-- Applying patch disable-warnings.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/libarchive/src/f35119f26c-47ee5b4a48.clean
CMake Deprecation Warning at scripts/cmake/vcpkg_check_features.cmake:182 (message):
  calling `vcpkg_check_features` without the `FEATURES` keyword has been
  deprecated.

      Please add the `FEATURES` keyword to the call.
Call Stack (most recent call first):
  ports/libarchive/portfile.cmake:16 (vcpkg_check_features)
  scripts/ports.cmake:139 (include)

-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/projects/darknet/vcpkg/packages/libarchive_x64-windows/share/libarchive/usage
-- Installing: D:/projects/darknet/vcpkg/packages/libarchive_x64-windows/share/libarchive/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\ef\ef8eb18fae5b8396cebe969a3afc1b6fa875ee4fa20caeb3f4f6244a7713ad80.zip
Building package libarchive[bzip2,core,libxml2,lz4,lzma,openssl,zstd]:x64-windows... done
Installing package libarchive[bzip2,core,libxml2,lz4,lzma,openssl,zstd]:x64-windows...
Installing package libarchive[bzip2,core,libxml2,lz4,lzma,openssl,zstd]:x64-windows... done
Elapsed time for package libarchive:x64-windows: 2.053 min
Starting package 25/32: openjpeg:x64-windows
Building package openjpeg[core]:x64-windows...
-- Downloading https://github.com/uclouvain/openjpeg/archive/v2.3.1.tar.gz -> uclouvain-openjpeg-v2.3.1.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/uclouvain-openjpeg-v2.3.1.tar.gz
-- Applying patch dll.location.patch
-- Applying patch fix-lrintf-to-opj_lrintf.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/openjpeg/src/v2.3.1-a84fe2a121.clean
CMake Deprecation Warning at scripts/cmake/vcpkg_check_features.cmake:182 (message):
  calling `vcpkg_check_features` without the `FEATURES` keyword has been
  deprecated.

      Please add the `FEATURES` keyword to the call.
Call Stack (most recent call first):
  ports/openjpeg/portfile.cmake:20 (vcpkg_check_features)
  scripts/ports.cmake:139 (include)

-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/openjpeg_x64-windows/lib/pkgconfig/libopenjp2.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/openjpeg_x64-windows/debug/lib/pkgconfig/libopenjp2.pc
-- Installing: D:/projects/darknet/vcpkg/packages/openjpeg_x64-windows/share/openjpeg/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\78\78044d54139cbf6fe07bbf54f2672f221db4bd8e5adfd7e05964a99d2533f163.zip
Building package openjpeg[core]:x64-windows... done
Installing package openjpeg[core]:x64-windows...
Installing package openjpeg[core]:x64-windows... done
Elapsed time for package openjpeg:x64-windows: 24.3 s
Starting package 26/32: giflib:x64-windows
Building package giflib[core]:x64-windows...
-- Note: giflib only supports static library linkage. Building static library.
-- Downloading https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=cfhcable;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=pilotfiber;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=gigenet;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=versaweb;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=ayera;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=netactuate;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=phoenixnap;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=astuteinternet;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=freefr;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=netcologne;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=deac-riga;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=excellmedia;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=iweb;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=jaist;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=jztkft;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=managedway;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=nchc;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=netix;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=ufpr;https://sourceforge.net/projects/giflib//files/giflib-5.1.4.tar.bz2/download?use_mirror=tenet -> giflib-5.1.4.tar.bz2...
-- Extracting source D:/projects/darknet/vcpkg/downloads/giflib-5.1.4.tar.bz2
-- Applying patch msvc-guard-unistd-h.patch
-- Applying patch fix-compile-error.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/giflib/src/32b5e34205-8e625bd21e.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/projects/darknet/vcpkg/packages/giflib_x64-windows/share/giflib/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\61\6130cff35ea616b0511584cee951b7bc3cc285ac0444a2e162cb47343b39cc37.zip
Building package giflib[core]:x64-windows... done
Installing package giflib[core]:x64-windows...
Installing package giflib[core]:x64-windows... done
Elapsed time for package giflib:x64-windows: 1.459 min
Starting package 27/32: leptonica:x64-windows
Building package leptonica[core]:x64-windows...
-- Downloading https://github.com/DanBloomberg/leptonica/archive/1ac72c93fef1a5eb76b76d6723d2aee843dd6e51.tar.gz -> DanBloomberg-leptonica-1ac72c93fef1a5eb76b76d6723d2aee843dd6e51.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/DanBloomberg-leptonica-1ac72c93fef1a5eb76b76d6723d2aee843dd6e51.tar.gz
-- Applying patch fix-cmakelists.patch
-- Applying patch find-dependency.patch
-- Applying patch fix-find-libwebp.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/leptonica/src/e843dd6e51-1f43a55ff8.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/projects/darknet/vcpkg/packages/leptonica_x64-windows/share/leptonica/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\73\73915230a4e72e848b7496e5d0c7a1440dc28ea5b3696f85527e2e9876799f96.zip
Building package leptonica[core]:x64-windows... done
Installing package leptonica[core]:x64-windows...
Installing package leptonica[core]:x64-windows... done
Elapsed time for package leptonica:x64-windows: 42.03 s
Starting package 28/32: tesseract:x64-windows
Building package tesseract[core]:x64-windows...
-- Downloading https://github.com/tesseract-ocr/tesseract/archive/4.1.1.tar.gz -> tesseract-ocr-tesseract-4.1.1.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/tesseract-ocr-tesseract-4.1.1.tar.gz
-- Applying patch fix-tiff-linkage.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/tesseract/src/4.1.1-81819c4317.clean
CMake Deprecation Warning at scripts/cmake/vcpkg_check_features.cmake:182 (message):
  calling `vcpkg_check_features` without the `FEATURES` keyword has been
  deprecated.

      Please add the `FEATURES` keyword to the call.
Call Stack (most recent call first):
  ports/tesseract/portfile.cmake:15 (vcpkg_check_features)
  scripts/ports.cmake:139 (include)

-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/tesseract_x64-windows/lib/pkgconfig/tesseract.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/tesseract_x64-windows/debug/lib/pkgconfig/tesseract.pc
-- Installing: D:/projects/darknet/vcpkg/packages/tesseract_x64-windows/share/tesseract/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\28\2874972dd969e18626e94fcfa67d5c1122d67d899f4d7c8a5beb728ed25b45c3.zip
Building package tesseract[core]:x64-windows... done
Installing package tesseract[core]:x64-windows...
Installing package tesseract[core]:x64-windows... done
Elapsed time for package tesseract:x64-windows: 1.381 min
Starting package 29/32: szip:x64-windows
Building package szip[core]:x64-windows...
-- Downloading https://support.hdfgroup.org/ftp/lib-external/szip/2.1.1/src/szip-2.1.1.tar.gz -> szip-2.1.1.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/szip-2.1.1.tar.gz
-- Applying patch fix-linkage-config.patch
-- Applying patch mingw-lib-names.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/szip/src/szip-2.1.1-15a12784d5.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/szip_x64-windows/lib/pkgconfig/szip.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/szip_x64-windows/debug/lib/pkgconfig/szip.pc
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\ea\ea5412911c0938e46d11b77e2d163f79aef680fd830ac9a058c5093c94e18b1b.zip
Building package szip[core]:x64-windows... done
Installing package szip[core]:x64-windows...
Installing package szip[core]:x64-windows... done
Elapsed time for package szip:x64-windows: 55.02 s
Starting package 30/32: hdf5:x64-windows
Building package hdf5[core,szip,zlib]:x64-windows...
-- Downloading https://github.com/HDFGroup/hdf5/archive/hdf5-1_12_0.tar.gz -> HDFGroup-hdf5-hdf5-1_12_0.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/HDFGroup-hdf5-hdf5-1_12_0.tar.gz
-- Applying patch hdf5_config.patch
-- Applying patch szip.patch
-- Applying patch mingw-import-libs.patch
-- Applying patch pkgconfig-requires.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/hdf5/src/df5-1_12_0-1df77f2dd9.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows-dbg
-- Configuring x64-windows-rel
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/projects/darknet/vcpkg/downloads/tools/msys2/aa5af7b2aa7e90e8
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/hdf5_x64-windows/lib/pkgconfig/hdf5.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/hdf5_x64-windows/lib/pkgconfig/hdf5_hl.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/hdf5_x64-windows/debug/lib/pkgconfig/hdf5.pc
-- Fixing pkgconfig file: D:/projects/darknet/vcpkg/packages/hdf5_x64-windows/debug/lib/pkgconfig/hdf5_hl.pc
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\83\83976456c7c66e551be387184dfb9b6b61d5f27dbc22db6d41097cbc9e74ca69.zip
Building package hdf5[core,szip,zlib]:x64-windows... done
Installing package hdf5[core,szip,zlib]:x64-windows...
Installing package hdf5[core,szip,zlib]:x64-windows... done
Elapsed time for package hdf5:x64-windows: 2.426 min
Starting package 31/32: opencv4:x64-windows
Building package opencv4[contrib,core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows...
-- Downloading https://github.com/opencv/opencv/archive/4.5.2.tar.gz -> opencv-opencv-4.5.2.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/opencv-opencv-4.5.2.tar.gz
-- Applying patch 0001-disable-downloading.patch
-- Applying patch 0002-install-options.patch
-- Applying patch 0003-force-package-requirements.patch
-- Applying patch 0004-fix-policy-CMP0057.patch
-- Applying patch 0005-fix-eigen.patch
-- Applying patch 0006-fix-uwp.patch
-- Applying patch 0008-devendor-quirc.patch
-- Applying patch 0009-fix-qt-integration.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/opencv4/src/4.5.2-755f235ba0.clean
-- Downloading https://github.com/tiny-dnn/tiny-dnn/archive/v1.0.0a3.tar.gz -> opencv-cache/tiny_dnn/adb1c512e09ca2c7a6faef36f9c53e59-v1.0.0a3.tar.gz...
-- Downloading https://github.com/opencv/opencv_contrib/archive/4.5.2.tar.gz -> opencv-opencv_contrib-4.5.2.tar.gz...
-- Extracting source D:/projects/darknet/vcpkg/downloads/opencv-opencv_contrib-4.5.2.tar.gz
-- Applying patch 0007-fix-hdf5.patch
-- Using source at D:/projects/darknet/vcpkg/buildtrees/opencv4/src/4.5.2-58c4f07550.clean
-- Downloading https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/a8b69ccc738421293254aec5ddb38bd523503252/detect.caffemodel -> opencv-cache/wechat_qrcode/238e2b2d6f3c18d6c3a30de0c31e23cf-detect.caffemodel...
-- Downloading https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/a8b69ccc738421293254aec5ddb38bd523503252/sr.caffemodel -> opencv-cache/wechat_qrcode/cbfcd60361a73beb8c583eea7e8e6664-sr.caffemodel...
-- Downloading https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/a8b69ccc738421293254aec5ddb38bd523503252/detect.prototxt -> opencv-cache/wechat_qrcode/6fb4976b32695f9f5c6305c19f12537d-detect.prototxt...
-- Downloading https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/a8b69ccc738421293254aec5ddb38bd523503252/sr.prototxt -> opencv-cache/wechat_qrcode/69db99927a70df953b471daaba03fbef-sr.prototxt...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_bgm.i -> opencv-cache/xfeatures2d/boostdesc/0ea90e7a8f3f7876d450e4149c97c74f-boostdesc_bgm.i...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_bgm_bi.i -> opencv-cache/xfeatures2d/boostdesc/232c966b13651bd0e46a1497b0852191-boostdesc_bgm_bi.i...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_bgm_hd.i -> opencv-cache/xfeatures2d/boostdesc/324426a24fa56ad9c5b8e3e0b3e5303e-boostdesc_bgm_hd.i...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_binboost_064.i -> opencv-cache/xfeatures2d/boostdesc/202e1b3e9fec871b04da31f7f016679f-boostdesc_binboost_064.i...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_binboost_128.i -> opencv-cache/xfeatures2d/boostdesc/98ea99d399965c03d555cef3ea502a0b-boostdesc_binboost_128.i...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_binboost_256.i -> opencv-cache/xfeatures2d/boostdesc/e6dcfa9f647779eb1ce446a8d759b6ea-boostdesc_binboost_256.i...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_lbgm.i -> opencv-cache/xfeatures2d/boostdesc/0ae0675534aa318d9668f2a179c2a052-boostdesc_lbgm.i...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_48.i -> opencv-cache/xfeatures2d/vgg/e8d0dcd54d1bcfdc29203d011a797179-vgg_generated_48.i...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_64.i -> opencv-cache/xfeatures2d/vgg/7126a5d9a8884ebca5aea5d63d677225-vgg_generated_64.i...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_80.i -> opencv-cache/xfeatures2d/vgg/7cd47228edec52b6d82f46511af325c5-vgg_generated_80.i...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_120.i -> opencv-cache/xfeatures2d/vgg/151805e03568c9f490a5e3a872777b75-vgg_generated_120.i...
-- Downloading https://raw.githubusercontent.com/opencv/opencv_3rdparty/8afa57abc8229d611c4937165d20e2a2d9fc5a12/face_landmark_model.dat -> opencv-cache/data/7505c44ca4eb54b4ab1e4777cb96ac05-face_landmark_model.dat...
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Installing: D:/projects/darknet/vcpkg/packages/opencv4_x64-windows/share/opencv4/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\c7\c75c25f8e4d08866fc804ee3ec46411de70d1a24db3d2273e04f2da895fff926.zip
Building package opencv4[contrib,core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows... done
Installing package opencv4[contrib,core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows...
Installing package opencv4[contrib,core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows... done
Elapsed time for package opencv4:x64-windows: 16.33 min
Starting package 32/32: opencv:x64-windows
Building package opencv[contrib,core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows...
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\MaDmAn\AppData\Local\vcpkg\archives\e5\e58ebabf9ce8856d943f3e2634cc760d21f4c0b02bb6a6c4aa4cda91136165ff.zip
Building package opencv[contrib,core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows... done
Installing package opencv[contrib,core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows...
Installing package opencv[contrib,core,dnn,ffmpeg,jpeg,png,quirc,tiff,webp]:x64-windows... done
Elapsed time for package opencv:x64-windows: 160.6 ms

Total elapsed time: 1.008 h

-- Running vcpkg install - done
-- The C compiler identification is MSVC 19.29.30038.1
-- The CXX compiler identification is MSVC 19.29.30038.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at C:/Program Files/CMake/share/cmake-3.20/Modules/CMakeDetermineCompilerId.cmake:676 (message):
  Compiling the CUDA compiler identification source file
  "CMakeCUDACompilerId.cu" failed.

  Compiler: C:/Program Files/NVIDIA GPU Computing
  Toolkit/CUDA/v11.4/bin/nvcc.exe

  Build flags:

  Id flags: --keep;--keep-dir;tmp;-gencode=arch=compute_61,code=sm_61 -v

  The output was:

  5

  D:\projects\darknet\build_release\CMakeFiles\3.20.5\CompilerIdCUDA>call
  "C:/Program Files (x86)/Microsoft Visual
  Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat"

  **********************************************************************

  ** Visual Studio 2019 Developer Command Prompt v16.10.3

  ** Copyright (c) 2021 Microsoft Corporation

  **********************************************************************

  [vcvarsall.bat] Environment initialized for: 'x64'

  #$ C:/Program Files (x86)/Microsoft Visual
  Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat

  #$ ALLUSERSPROFILE=C:\ProgramData

  #$ AMDRMSDKPATH=C:\Program Files\AMD\RyzenMasterSDK\

  #$ APPDATA=C:\Users\MaDmAn\AppData\Roaming

  #$ CC=C:/Program Files (x86)/Microsoft Visual
  Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe

  #$ CommandPromptType=Native

  #$ CommonProgramFiles=C:\Program Files\Common Files

  #$ CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files

  #$ CommonProgramW6432=C:\Program Files\Common Files

  #$ COMPUTERNAME=MADMAN

  #$ ComSpec=C:\windows\system32\cmd.exe

  #$ CONDA_BAT=C:\ProgramData\Miniconda3\condabin\conda.bat

  #$ CONDA_EXE=C:\ProgramData\Miniconda3\Scripts\conda.exe

  #$ CONDA_SHLVL=0

  #$ CUDA_PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4

  #$ CUDA_PATH_V11_4=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4

  #$ CUDA_SDK_ROOT_PATH=C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.4

  #$ CUDA_TOOLKIT_PATH=C:\Program Files\NVIDIA GPU Computing
  Toolkit\CUDA\v11.4\bin

  #$ CUDA_TOOLKIT_ROOT_DIR=C:\Program Files\NVIDIA GPU Computing
  Toolkit\CUDA\v11.4\lib\x64

  #$ CUDACXX=C:\Program Files\NVIDIA GPU Computing
  Toolkit\CUDA\v11.4\bin\nvcc.exe

  #$ CXX=C:/Program Files (x86)/Microsoft Visual
  Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe

  #$ DevEnvDir=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\

  #$ DriverData=C:\Windows\System32\Drivers\DriverData

  #$ ExtensionSdkDir=C:\Program Files (x86)\Microsoft SDKs\Windows
  Kits\10\ExtensionSDKs

  #$ Framework40Version=v4.0

  #$ FrameworkDir=C:\Windows\Microsoft.NET\Framework64\

  #$ FrameworkDir64=C:\Windows\Microsoft.NET\Framework64\

  #$ FrameworkVersion=v4.0.30319

  #$ FrameworkVersion64=v4.0.30319

  #$ HOMEDRIVE=C:

  #$ HOMEPATH=\Users\MaDmAn

  #$ INCLUDE=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\include;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include;C:\Program Files
  (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files
  (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files
  (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files
  (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files
  (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\include;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\include;C:\Program Files
  (x86)\Windows Kits\10\include\10.0.19041.0\ucrt;C:\Program Files
  (x86)\Windows Kits\10\include\10.0.19041.0\shared;C:\Program Files
  (x86)\Windows Kits\10\include\10.0.19041.0\um;C:\Program Files
  (x86)\Windows Kits\10\include\10.0.19041.0\winrt;C:\Program Files
  (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt

  #$ LIB=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\lib\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\lib\x64;C:\Program Files
  (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64;C:\Program Files
  (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\lib\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\lib\x64;C:\Program Files
  (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64;C:\Program Files
  (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64

  #$ LIBPATH=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\lib\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\lib\x64;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\lib\x86\store\references;C:\Program
  Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files
  (x86)\Windows
  Kits\10\References\10.0.19041.0;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\ATLMFC\lib\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\lib\x64;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\lib\x86\store\references;C:\Program
  Files (x86)\Windows Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files
  (x86)\Windows
  Kits\10\References\10.0.19041.0;C:\Windows\Microsoft.NET\Framework64\v4.0.30319

  #$ LOCALAPPDATA=C:\Users\MaDmAn\AppData\Local

  #$ LOGONSERVER=\\MADMAN

  #$ NUMBER_OF_PROCESSORS=12

  #$ NVCUDASAMPLES11_4_ROOT=C:\ProgramData\NVIDIA Corporation\CUDA
  Samples\v11.4

  #$ NVCUDASAMPLES_ROOT=C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.4

  #$ NVTOOLSEXT_PATH=C:\Program Files\NVIDIA Corporation\NvToolsExt\

  #$ OneDrive=C:\Users\MaDmAn\OneDrive

  #$ OneDriveConsumer=C:\Users\MaDmAn\OneDrive

  #$ OnlineServices=Online Services

  #$ OpenCV_DIR=D:\Setups\opencv\build

  #$ OS=Windows_NT

  #$ Path=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\VC\VCPackages;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team
  Explorer;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\MSBuild\Current\bin\Roslyn;C:\Program Files
  (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance
  Tools\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\Team Tools\Performance Tools;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\\x64;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\devinit;C:\Program Files (x86)\Windows
  Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows
  Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program
  Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\;C:\Program Files (x86)\Microsoft
  Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\VC\VCPackages;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team
  Explorer;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\MSBuild\Current\bin\Roslyn;C:\Program Files
  (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance
  Tools\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\Team Tools\Performance Tools;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\\x64;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\devinit;C:\Program Files (x86)\Windows
  Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows
  Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program
  Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\;C:\ProgramData\Miniconda3\condabin;C:\Program
  Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin;C:\Program Files\NVIDIA
  GPU Computing Toolkit\CUDA\v11.4\libnvvp;C:\Program Files (x86)\Common
  Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program
  Files (x86)\NVIDIA
  Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program
  Files\Git\cmd;C:\Program Files\MATLAB\R2018b\runtime\win64;C:\Program
  Files\MATLAB\R2018b\bin;C:\Program
  Files\nodejs\;C:\Users\MaDmAn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Scripts;C:\Program
  Files
  (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;C:\Users\MaDmAn\AppData\Roaming\Python\Python38\Scripts;C:\Program
  Files\NVIDIA Corporation\Nsight Compute 2020.3.0\;C:\Program Files\NVIDIA
  Corporation\NVIDIA NvDLISR;C:\Program
  Files\CMake\bin;C:\Users\MaDmAn\AppData\Local\Microsoft\WindowsApps;C:\Users\MaDmAn\AppData\Local\Programs\Microsoft
  VS
  Code\bin;C:\Users\MaDmAn\AppData\Roaming\npm;D:\projects\darknet/ninja;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja

  #$ PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL

  #$ Platform=x64

  #$ platformcode=KV

  #$ PROCESSOR_ARCHITECTURE=AMD64

  #$ PROCESSOR_IDENTIFIER=AMD64 Family 23 Model 96 Stepping 1, AuthenticAMD

  #$ PROCESSOR_LEVEL=23

  #$ PROCESSOR_REVISION=6001

  #$ ProgramData=C:\ProgramData

  #$ ProgramFiles=C:\Program Files

  #$ ProgramFiles(x86)=C:\Program Files (x86)

  #$ ProgramW6432=C:\Program Files

  #$ PROMPT=$P$G

  #$
  PSModulePath=C:\Users\MaDmAn\OneDrive\Documents\WindowsPowerShell\Modules;C:\Program
  Files\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules

  #$ PUBLIC=C:\Users\Public

  #$ RC=C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x64/rc.exe

  #$ RegionCode=APJ

  #$ SystemDrive=C:

  #$ SystemRoot=C:\windows

  #$ UCRTVersion=10.0.19041.0

  #$ UniversalCRTSdkDir=C:\Program Files (x86)\Windows Kits\10\

  #$ USERDOMAIN=MADMAN

  #$ USERDOMAIN_ROAMINGPROFILE=MADMAN

  #$ USERNAME=MaDmAn

  #$ USERPROFILE=C:\Users\MaDmAn

  #$ VCIDEInstallDir=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\VC\

  #$ VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\

  #$ VCPKG_DEFAULT_TRIPLET=x64-windows

  #$ VCPKG_ROOT=D:\projects\darknet/vcpkg

  #$ VCToolsInstallDir=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\

  #$ VCToolsRedistDir=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Redist\MSVC\14.29.30036\

  #$ VCToolsVersion=14.29.30037

  #$ VisualStudioVersion=16.0

  #$ VS160COMNTOOLS=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\

  #$ VSCMD_ARG_app_plat=Desktop

  #$ VSCMD_ARG_HOST_ARCH=x64

  #$ VSCMD_ARG_TGT_ARCH=x64

  #$ VSCMD_VER=16.10.3

  #$ vsconsoleoutput=1

  #$ VSINSTALLDIR=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\

  #$ windir=C:\windows

  #$ WindowsLibPath=C:\Program Files (x86)\Windows
  Kits\10\UnionMetadata\10.0.19041.0;C:\Program Files (x86)\Windows
  Kits\10\References\10.0.19041.0

  #$ WindowsSdkBinPath=C:\Program Files (x86)\Windows Kits\10\bin\

  #$ WindowsSdkDir=C:\Program Files (x86)\Windows Kits\10\

  #$ WindowsSDKLibVersion=10.0.19041.0\

  #$ WindowsSdkVerBinPath=C:\Program Files (x86)\Windows
  Kits\10\bin\10.0.19041.0\

  #$ WindowsSDKVersion=10.0.19041.0\

  #$ WSLENV=WT_SESSION::WT_PROFILE_ID

  #$ WT_PROFILE_ID={61c54bbd-c2c6-5271-96e7-009a87ff44bf}

  #$ WT_SESSION=4a24b3b9-586b-442f-9267-0f72b99871c0

  #$ __devinit_path=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\devinit\devinit.exe

  #$ __DOTNET_ADD_64BIT=1

  #$ __DOTNET_PREFERRED_BITNESS=64

  #$ __VSCMD_PREINIT_PATH=C:\ProgramData\Miniconda3\condabin;C:\Program
  Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin;C:\Program Files\NVIDIA
  GPU Computing Toolkit\CUDA\v11.4\libnvvp;C:\Program Files (x86)\Common
  Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program
  Files (x86)\NVIDIA
  Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program
  Files\Git\cmd;C:\Program Files\MATLAB\R2018b\runtime\win64;C:\Program
  Files\MATLAB\R2018b\bin;C:\Program
  Files\nodejs\;C:\Users\MaDmAn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Scripts;C:\Program
  Files
  (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;C:\Users\MaDmAn\AppData\Roaming\Python\Python38\Scripts;C:\Program
  Files\NVIDIA Corporation\Nsight Compute 2020.3.0\;C:\Program Files\NVIDIA
  Corporation\NVIDIA NvDLISR;C:\Program
  Files\CMake\bin;C:\Users\MaDmAn\AppData\Local\Microsoft\WindowsApps;C:\Users\MaDmAn\AppData\Local\Programs\Microsoft
  VS Code\bin;C:\Users\MaDmAn\AppData\Roaming\npm;D:\projects\darknet/ninja

  #$ __VSCMD_PREINIT_VCToolsVersion=14.29.30037

  #$ __VSCMD_PREINIT_VS160COMNTOOLS=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\

  #$ PATH=C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\VC\VCPackages;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team
  Explorer;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\MSBuild\Current\bin\Roslyn;C:\Program Files
  (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance
  Tools\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\Team Tools\Performance Tools;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\\x64;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\devinit;C:\Program Files (x86)\Windows
  Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows
  Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program
  Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\;C:\Program Files (x86)\Microsoft
  Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\VC\VCPackages;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team
  Explorer;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\MSBuild\Current\bin\Roslyn;C:\Program Files
  (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance
  Tools\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\Team Tools\Performance Tools;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\\x64;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\devinit;C:\Program Files (x86)\Windows
  Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows
  Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program
  Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\;C:\ProgramData\Miniconda3\condabin;C:\Program
  Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin;C:\Program Files\NVIDIA
  GPU Computing Toolkit\CUDA\v11.4\libnvvp;C:\Program Files (x86)\Common
  Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program
  Files (x86)\NVIDIA
  Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program
  Files\Git\cmd;C:\Program Files\MATLAB\R2018b\runtime\win64;C:\Program
  Files\MATLAB\R2018b\bin;C:\Program
  Files\nodejs\;C:\Users\MaDmAn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Scripts;C:\Program
  Files
  (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;C:\Users\MaDmAn\AppData\Roaming\Python\Python38\Scripts;C:\Program
  Files\NVIDIA Corporation\Nsight Compute 2020.3.0\;C:\Program Files\NVIDIA
  Corporation\NVIDIA NvDLISR;C:\Program
  Files\CMake\bin;C:\Users\MaDmAn\AppData\Local\Microsoft\WindowsApps;C:\Users\MaDmAn\AppData\Local\Programs\Microsoft
  VS
  Code\bin;C:\Users\MaDmAn\AppData\Roaming\npm;D:\projects\darknet/ninja;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja

  #$ _NVVM_BRANCH_=nvvm

  #$ _SPACE_=

  #$ _CUDART_=cudart

  #$ _HERE_=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.4/bin

  #$ _THERE_=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.4/bin

  #$ _TARGET_SIZE_=

  #$ _TARGET_DIR_=

  #$ _TARGET_SIZE_=64

  #$ _WIN_PLATFORM_=x64

  #$ TOP=C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.4/bin/..

  #$ NVVMIR_LIBRARY_DIR=C:/Program Files/NVIDIA GPU Computing
  Toolkit/CUDA/v11.4/bin/../nvvm/libdevice

  #$ PATH=C:/Program Files/NVIDIA GPU Computing
  Toolkit/CUDA/v11.4/bin/../nvvm/bin;C:/Program Files/NVIDIA GPU Computing
  Toolkit/CUDA/v11.4/bin;C:/Program Files/NVIDIA GPU Computing
  Toolkit/CUDA/v11.4/bin/../lib;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\VC\VCPackages;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team
  Explorer;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\MSBuild\Current\bin\Roslyn;C:\Program Files
  (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance
  Tools\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\Team Tools\Performance Tools;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\\x64;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\devinit;C:\Program Files (x86)\Windows
  Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows
  Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program
  Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\;C:\Program Files (x86)\Microsoft
  Visual
  Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\VC\VCPackages;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team
  Explorer;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\MSBuild\Current\bin\Roslyn;C:\Program Files
  (x86)\Microsoft Visual Studio\2019\Community\Team Tools\Performance
  Tools\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\Team Tools\Performance Tools;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\\x64;C:\Program Files
  (x86)\Microsoft Visual
  Studio\Shared\Common\VSPerfCollectionTools\vs2019\;C:\Program Files
  (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\devinit;C:\Program Files (x86)\Windows
  Kits\10\bin\10.0.19041.0\x64;C:\Program Files (x86)\Windows
  Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual
  Studio\2019\Community\\MSBuild\Current\Bin;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program
  Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\Tools\;C:\ProgramData\Miniconda3\condabin;C:\Program
  Files\NVIDIA GPU Computing Toolkit\CUDA\v11.4\bin;C:\Program Files\NVIDIA
  GPU Computing Toolkit\CUDA\v11.4\libnvvp;C:\Program Files (x86)\Common
  Files\Oracle\Java\javapath;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\windows\System32\OpenSSH\;C:\Program
  Files (x86)\NVIDIA
  Corporation\PhysX\Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program
  Files\Git\cmd;C:\Program Files\MATLAB\R2018b\runtime\win64;C:\Program
  Files\MATLAB\R2018b\bin;C:\Program
  Files\nodejs\;C:\Users\MaDmAn\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\Scripts;C:\Program
  Files
  (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;C:\Users\MaDmAn\AppData\Roaming\Python\Python38\Scripts;C:\Program
  Files\NVIDIA Corporation\Nsight Compute 2020.3.0\;C:\Program Files\NVIDIA
  Corporation\NVIDIA NvDLISR;C:\Program
  Files\CMake\bin;C:\Users\MaDmAn\AppData\Local\Microsoft\WindowsApps;C:\Users\MaDmAn\AppData\Local\Programs\Microsoft
  VS
  Code\bin;C:\Users\MaDmAn\AppData\Roaming\npm;D:\projects\darknet/ninja;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program
  Files (x86)\Microsoft Visual
  Studio\2019\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja

  #$ INCLUDES="-IC:/Program Files/NVIDIA GPU Computing
  Toolkit/CUDA/v11.4/bin/../include"

  #$ LIBRARIES= "/LIBPATH:C:/Program Files/NVIDIA GPU Computing
  Toolkit/CUDA/v11.4/bin/../lib/x64"

  #$ CUDAFE_FLAGS=

  #$ PTXAS_FLAGS=

  #$ erase tmp/a_dlink.reg.c

  cmakecudacompilerid.cu

  #$ cl.exe @"tmp/cmakecudacompilerid.cpp1.ii.res" >
  "tmp/cmakecudacompilerid.cpp1.ii"

  cmakecudacompilerid.cu

  #$ cicc --microsoft_version=1929 --msvc_target_version=1929
  --compiler_bindir "C:/Program Files (x86)/Microsoft Visual
  Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/HostX64/x64/../../../../../../.."
  --sdk_dir "C:/Program Files (x86)/Windows Kits/10/" --orig_src_file_name
  "cmakecudacompilerid.cu" --allow_managed -arch compute_61 -m64
  --no-version-ident -ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1
  --include_file_name "cmakecudacompilerid.fatbin.c" -tused
  --gen_module_id_file --module_id_file_name
  "tmp/cmakecudacompilerid.module_id" --gen_c_file_name
  "tmp/cmakecudacompilerid.cudafe1.c" --stub_file_name
  "tmp/cmakecudacompilerid.cudafe1.stub.c" --gen_device_file_name
  "tmp/cmakecudacompilerid.cudafe1.gpu" "tmp/cmakecudacompilerid.cpp1.ii" -o
  "tmp/cmakecudacompilerid.ptx"

  #$ ptxas -arch=sm_61 -m64 "tmp/cmakecudacompilerid.ptx" -o
  "tmp/cmakecudacompilerid.cubin"

  #$ fatbinary --create="tmp/cmakecudacompilerid.fatbin" -64
  --cicc-cmdline="-ftz=0 -prec_div=1 -prec_sqrt=1 -fmad=1 "
  "--image3=kind=elf,sm=61,file=tmp/cmakecudacompilerid.cubin"
  --embedded-fatbin="tmp/cmakecudacompilerid.fatbin.c"

  #$ cl.exe @"tmp/cmakecudacompilerid.cpp4.ii.res" >
  "tmp/cmakecudacompilerid.cpp4.ii"

  cmakecudacompilerid.cu

  #$ cudafe++ --microsoft_version=1929 --msvc_target_version=1929
  --compiler_bindir "C:/Program Files (x86)/Microsoft Visual
  Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/HostX64/x64/../../../../../../.."
  --sdk_dir "C:/Program Files (x86)/Windows Kits/10/" --orig_src_file_name
  "cmakecudacompilerid.cu" --allow_managed --m64 --parse_templates
  --gen_c_file_name "tmp/cmakecudacompilerid.cudafe1.cpp" --stub_file_name
  "cmakecudacompilerid.cudafe1.stub.c" --module_id_file_name
  "tmp/cmakecudacompilerid.module_id" "tmp/cmakecudacompilerid.cpp4.ii"

  nvcc error : 'cudafe++' died with status 0xC0000005 (ACCESS_VIOLATION)

  # --error 0xc0000005 --

Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.20/Modules/CMakeDetermineCompilerId.cmake:6 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
  C:/Program Files/CMake/share/cmake-3.20/Modules/CMakeDetermineCompilerId.cmake:48 (__determine_compiler_id_test)
  C:/Program Files/CMake/share/cmake-3.20/Modules/CMakeDetermineCUDACompiler.cmake:278 (CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt:152 (enable_language)

-- Configuring incomplete, errors occurred!
See also "D:/projects/darknet/build_release/CMakeFiles/CMakeOutput.log".
See also "D:/projects/darknet/build_release/CMakeFiles/CMakeError.log".
Config failed! Exited with error code 1.
Press any key to continue...
yuhe0925 commented 3 years ago

I think you have to use CUDA 10.2

sg12056 commented 3 years ago

@yuhe0925 I'll try that, but the documentation says CUDA >= 10.2 should work.

EDIT : CUDA 10.2 is also giving the same error -

-- Running vcpkg install - done
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
-- The C compiler identification is MSVC 19.29.30038.1
-- The CXX compiler identification is MSVC 19.29.30038.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The CUDA compiler identification is unknown
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - failed
-- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/bin/nvcc.exe
-- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/bin/nvcc.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.18/Modules/CMakeTestCUDACompiler.cmake:52 (message):
  The CUDA compiler

    "C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/bin/nvcc.exe"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: D:/projects/darknet/build_release/CMakeFiles/CMakeTmp

    Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/MSBuild/Current/Bin/MSBuild.exe cmTC_92adc.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=16.0 /v:m && Microsoft (R) Build Engine version 16.10.2+857e5a733 for .NET Framework
    Copyright (C) Microsoft Corporation. All rights reserved.

      Compiling CUDA source file main.cu...

      D:\projects\darknet\build_release\CMakeFiles\CMakeTmp>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64" -x cu   -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include"     --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart none  -g   -D"CMAKE_INTDIR=\"Debug\"" -D"CMAKE_INTDIR=\"Debug\"" -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /FdcmTC_92adc.dir\Debug\vc142.pdb /FS /Zi  /MD " -o cmTC_92adc.dir\Debug\main.obj "D:\projects\darknet\build_release\CMakeFiles\CMakeTmp\main.cu"
      main.cu
    CUDACOMPILE : nvcc error : 'cudafe++' died with status 0xC0000005 (ACCESS_VIOLATION) [D:\projects\darknet\build_release\CMakeFiles\CMakeTmp\cmTC_92adc.vcxproj]
    C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\BuildCustomizations\CUDA 10.2.targets(764,9): error MSB3722: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" -gencode=arch=compute_30,code=\"sm_30,compute_30\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30037\bin\HostX64\x64" -x cu   -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include"     --keep-dir x64\Debug -maxrregcount=0  --machine 64 --compile -cudart none  -g   -D"CMAKE_INTDIR=\"Debug\"" -D"CMAKE_INTDIR=\"Debug\"" -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /FdcmTC_92adc.dir\Debug\vc142.pdb /FS /Zi  /MD " -o cmTC_92adc.dir\Debug\main.obj "D:\projects\darknet\build_release\CMakeFiles\CMakeTmp\main.cu"" exited with code 5. Please verify that you have sufficient rights to run this command. [D:\projects\darknet\build_release\CMakeFiles\CMakeTmp\cmTC_92adc.vcxproj]

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:152 (enable_language)

-- Configuring incomplete, errors occurred!
See also "D:/projects/darknet/build_release/CMakeFiles/CMakeOutput.log".
See also "D:/projects/darknet/build_release/CMakeFiles/CMakeError.log".
Config failed! Exited with error code 1.
Press any key to continue...
stephanecharette commented 3 years ago

@yuhe0925 I'll try that, but the documentation says CUDA >= 10.2 should work.

EDIT : CUDA 10.2 is also giving the same error -

Correct, Darknet requires 10.2 or later. It definitely does not require 10.2 exactly.

HosseinMohammadii commented 3 years ago

Hello. Could you solve your problem? I face the same