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

got a error when I run build.ps1 #7135

Open ylzf0000 opened 3 years ago

ylzf0000 commented 3 years ago

(base) PS E:\Github\darknet> .\build.ps1 Found vcpkg in VCPKG_ROOT: D:\vcpkg Setting up environment to use CMake generator: Visual Studio 16 2019

目录: E:\Github\darknet

Mode LastWriteTime Length Name


d----- 2020/12/16 14:54 build_win_release -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042. -- The C compiler identification is MSVC 19.27.29112.0 -- The CXX compiler identification is MSVC 19.27.29112.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for a CUDA compiler -- Looking for a CUDA compiler - C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.2/bin/nvcc.exe -- The CUDA compiler identification is NVIDIA 10.2.89 -- 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 -- works -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1 (found version "10.1") -- Autodetected CUDA architecture(s): 5.2 -- Building with CUDA flags: -gencode;arch=compute_52,code=sm_52 -- Your setup does not supports half precision (it requires CC >= 7.0) -- Looking for pthread.h -- Looking for pthread.h - not found -- Found Threads: TRUE -- Found PThreads4W: optimized;D:/vcpkg/installed/x64-windows/lib/pthreadVC3.lib;debug;D:/vcpkg/installed/x64-windows/debug/lib/pthreadVC3d.lib -- PThreads4W_DLL_DIR: D:/vcpkg/installed/x64-windows/include/../bin -- Found OpenCV: D:/vcpkg/installed/x64-windows (found version "4.3.0") -- Found Stb: D:/vcpkg/installed/x64-windows/include -- Found OpenMP_C: -openmp (found version "2.0") -- Found OpenMP_CXX: -openmp (found version "2.0") -- Found OpenMP: TRUE (found version "2.0") -- Found CUDNN: D:/vcpkg/installed/x64-windows/include (found version "7.6.0") -- CMAKE_CUDA_FLAGS: -gencode arch=compute_52,code=sm_52 -Wno-deprecated-declarations -Xcompiler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV" -D_WINDOWS -Xcompiler="/W3 /GR /EHsc" -- ZED SDK not found -- Configuring done -- Generating done -- Build files have been written to: E:/Github/darknet/build_win_release 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.7.0+b89cb5fde 版权所有(C) Microsoft Corporation。保留所有权利。

Checking Build System Building Custom Rule E:/Github/darknet/CMakeLists.txt Compiling CUDA source file ..\src\activation_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -rdc=true -IE:\Github\darknet\include -IE:\Github\darknet \src -I"D:\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcomp iler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477 ,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CM AKE_INTDIR=\"Release\"" -Ddark_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CMAKE_INTDIR=\"Rele ase\"" -Ddark_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fddark.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o dark.dir\Release\activation_kernels.obj "E:\Github\darknet\src\activation_kernels.cu" E:/Github/darknet/src/activation_kernels.cu(263): warning : variable "MISH_THRESHOLD" was declared but never referenced [E:\Github\darknet\build_win_release\dark.vcxproj]

activation_kernels.cu Compiling CUDA source file ..\src\avgpool_layer_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -rdc=true -IE:\Github\darknet\include -IE:\Github\darknet \src -I"D:\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcomp iler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477 ,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CM AKE_INTDIR=\"Release\"" -Ddark_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CMAKE_INTDIR=\"Rele ase\"" -Ddark_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fddark.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o dark.dir\Release\avgpool_layer_kernels.obj "E:\Github\darknet\src\avgpool_layer_kernels.cu" avgpool_layer_kernels.cu Compiling CUDA source file ..\src\blas_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -rdc=true -IE:\Github\darknet\include -IE:\Github\darknet \src -I"D:\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcomp iler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477 ,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CM AKE_INTDIR=\"Release\"" -Ddark_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CMAKE_INTDIR=\"Rele ase\"" -Ddark_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fddark.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o dark.dir\Release\blas_kernels.obj "E:\Github\darknet\src\blas_kernels.cu" E:/Github/darknet/src/blas_kernels.cu(1086): warning : variable "out_index" was declared but never referenced [E:\Githu b\darknet\build_win_release\dark.vcxproj]

E:/Github/darknet/src/blaskernels.cu(1130): warning : variable "step" was set but never used [E:\Github\darknet\build win_release\dark.vcxproj]

E:/Github/darknet/src/blas_kernels.cu(1736): warning : variable "stage_id" was declared but never referenced [E:\Github \darknet\build_win_release\dark.vcxproj]

blas_kernels.cu Compiling CUDA source file ..\src\col2im_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -rdc=true -IE:\Github\darknet\include -IE:\Github\darknet \src -I"D:\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcomp iler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477 ,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CM AKE_INTDIR=\"Release\"" -Ddark_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CMAKE_INTDIR=\"Rele ase\"" -Ddark_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fddark.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o dark.dir\Release\col2im_kernels.obj "E:\Github\darknet\src\col2im_kernels.cu" col2im_kernels.cu Compiling CUDA source file ..\src\convolutional_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -rdc=true -IE:\Github\darknet\include -IE:\Github\darknet \src -I"D:\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcomp iler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477 ,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CM AKE_INTDIR=\"Release\"" -Ddark_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CMAKE_INTDIR=\"Rele ase\"" -Ddark_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fddark.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o dark.dir\Release\convolutional_kernels.obj "E:\Github\darknet\src\convolutional_kernels.cu" convolutional_kernels.cu Compiling CUDA source file ..\src\crop_layer_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -rdc=true -IE:\Github\darknet\include -IE:\Github\darknet \src -I"D:\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcomp iler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477 ,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CM AKE_INTDIR=\"Release\"" -Ddark_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CMAKE_INTDIR=\"Rele ase\"" -Ddark_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fddark.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o dark.dir\Release\crop_layer_kernels.obj "E:\Github\darknet\src\crop_layer_kernels.cu" crop_layer_kernels.cu Compiling CUDA source file ..\src\deconvolutional_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -rdc=true -IE:\Github\darknet\include -IE:\Github\darknet \src -I"D:\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcomp iler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477 ,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CM AKE_INTDIR=\"Release\"" -Ddark_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CMAKE_INTDIR=\"Rele ase\"" -Ddark_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fddark.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o dark.dir\Release\deconvolutional_kernels.obj "E:\Github\darknet\src\deconvolutional_kernels.cu" deconvolutional_kernels.cu Compiling CUDA source file ..\src\dropout_layer_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -rdc=true -IE:\Github\darknet\include -IE:\Github\darknet \src -I"D:\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcomp iler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477 ,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CM AKE_INTDIR=\"Release\"" -Ddark_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CMAKE_INTDIR=\"Rele ase\"" -Ddark_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fddark.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o dark.dir\Release\dropout_layer_kernels.obj "E:\Github\darknet\src\dropout_layer_kernels.cu" E:/Github/darknet/src/dropout_layer_kernels.cu(140): warning : variable "cur_scale" was declared but never referenced [ E:\Github\darknet\build_win_release\dark.vcxproj]

E:/Github/darknet/src/dropout_layer_kernels.cu(245): warning : variable "cur_scale" was declared but never referenced [ E:\Github\darknet\build_win_release\dark.vcxproj]

E:/Github/darknet/src/dropout_layer_kernels.cu(262): warning : variable "block_prob" was declared but never referenced [E:\Github\darknet\build_win_release\dark.vcxproj]

dropout_layer_kernels.cu Compiling CUDA source file ..\src\im2col_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -rdc=true -IE:\Github\darknet\include -IE:\Github\darknet \src -I"D:\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcomp iler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477 ,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CM AKE_INTDIR=\"Release\"" -Ddark_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CMAKE_INTDIR=\"Rele ase\"" -Ddark_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fddark.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o dark.dir\Release\im2col_kernels.obj "E:\Github\darknet\src\im2col_kernels.cu" im2col_kernels.cu Compiling CUDA source file ..\src\maxpool_layer_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -rdc=true -IE:\Github\darknet\include -IE:\Github\darknet \src -I"D:\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcomp iler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477 ,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CM AKE_INTDIR=\"Release\"" -Ddark_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CMAKE_INTDIR=\"Rele ase\"" -Ddark_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fddark.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o dark.dir\Release\maxpool_layer_kernels.obj "E:\Github\darknet\src\maxpool_layer_kernels.cu" maxpool_layer_kernels.cu Compiling CUDA source file ..\src\network_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -rdc=true -IE:\Github\darknet\include -IE:\Github\darknet \src -I"D:\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcomp iler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477 ,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CM AKE_INTDIR=\"Release\"" -Ddark_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DLIB_EXPORTS=1 -DUSE_CMAKE_LIBS -DTRACK_OPTFLOW=1 -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -D_CRT_SECURE_NO_WARNINGS -DGPU -D"CMAKE_INTDIR=\"Rele ase\"" -Ddark_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /Fddark.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o dark.dir\Release\network_kernels.obj "E:\Github\darknet\src\network_kernels.cu" E:/Github/darknet/src/network_kernels.cu(364): warning : variable "l" was declared but never referenced [E:\Github\dark net\build_win_release\dark.vcxproj]

network_kernels.cu yolo_v2_class.cpp http_stream.cpp image_opencv.cpp 正在生成代码... activation_layer.c activations.c art.c avgpool_layer.c batchnorm_layer.c blas.c box.c captcha.c cifar.c classifier.c coco.c col2im.c compare.c connected_layer.c conv_lstm_layer.c convolutional_layer.c cost_layer.c cpu_gemm.c crnn_layer.c crop_layer.c 正在生成代码... 正在编译... dark_cuda.c data.c deconvolutional_layer.c demo.c detection_layer.c detector.c dice.c dropout_layer.c gaussian_yolo_layer.c gemm.c getopt.c gettimeofday.c go.c gru_layer.c im2col.c image.c layer.c list.c local_layer.c lstm_layer.c 正在生成代码... 正在编译... matrix.c maxpool_layer.c network.c nightmare.c normalization_layer.c option_list.c parser.c region_layer.c reorg_layer.c reorg_old_layer.c rnn.c rnn_layer.c rnn_vid.c route_layer.c sam_layer.c scale_channels_layer.c shortcut_layer.c softmax_layer.c super.c swag.c 正在生成代码... 正在编译... tag.c tree.c upsample_layer.c utils.c voxel.c writing.c yolo.c yolo_layer.c 正在生成代码...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe" -dlink -o dark.dir\Release\darknet.device-link.obj -Xcompiler "/EHsc /W3 /nologo /O2 /Zi /MD /GR" -L"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/lib/x64" -L"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/lib/x64/Release " -L"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\lib\x64" "D:\vcpkg\installed\x64-windows\lib\cudnn.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_stitching.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_aruco.lib" "D:\ vcpkg\installed\x64-windows\lib\opencv_bgsegm.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_bioinspired.lib" "D:\vc pkg\installed\x64-windows\lib\opencv_ccalib.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_cudabgsegm.lib" "D:\vcpkg \installed\x64-windows\lib\opencv_cudafeatures2d.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_cudaobjdetect.lib" " D:\vcpkg\installed\x64-windows\lib\opencv_cudastereo.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_dnn_objdetect.li b" "D:\vcpkg\installed\x64-windows\lib\opencv_dnn_superres.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_dpm.lib" " D:\vcpkg\installed\x64-windows\lib\opencv_face.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_fuzzy.lib" "D:\vcpkg\i nstalled\x64-windows\lib\opencv_hdf.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_hfs.lib" "D:\vcpkg\installed\x64- windows\lib\opencv_img_hash.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_intensity_transform.lib" "D:\vcpkg\instal led\x64-windows\lib\opencv_line_descriptor.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_quality.lib" "D:\vcpkg\ins talled\x64-windows\lib\opencv_rapid.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_reg.lib" "D:\vcpkg\installed\x64- windows\lib\opencv_saliency.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_stereo.lib" "D:\vcpkg\installed\x64-windo ws\lib\opencv_structured_light.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_superres.lib" "D:\vcpkg\installed\x64- windows\lib\opencv_surface_matching.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_tracking.lib" "D:\vcpkg\installed \x64-windows\lib\opencv_videostab.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_xfeatures2d.lib" "D:\vcpkg\installe d\x64-windows\lib\opencv_xobjdetect.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_xphoto.lib" "D:\vcpkg\installed\x 64-windows\lib\opencv_cudaoptflow.lib" "D:\vcpkg\installed\x64-windows\lib\pthreadVC3.lib" wsock32.lib ws2_32.lib cur and.lib cublas.lib cuda.lib "D:\vcpkg\installed\x64-windows\lib\opencv_shape.lib" "D:\vcpkg\installed\x64-windows\lib \opencv_highgui.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_datasets.lib" "D:\vcpkg\installed\x64-windows\lib\ope ncv_plot.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_text.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_dnn.lib " "D:\vcpkg\installed\x64-windows\lib\opencv_ml.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_phase_unwrapping.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_cudacodec.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_videoio.lib" "D :\vcpkg\installed\x64-windows\lib\opencv_cudalegacy.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_cudawarping.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_optflow.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_ximgproc.lib" "D:\ vcpkg\installed\x64-windows\lib\opencv_video.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_imgcodecs.lib" "D:\vcpkg \installed\x64-windows\lib\opencv_objdetect.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_calib3d.lib" "D:\vcpkg\in stalled\x64-windows\lib\opencv_features2d.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_flann.lib" "D:\vcpkg\instal led\x64-windows\lib\opencv_photo.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_cudaimgproc.lib" "D:\vcpkg\installed \x64-windows\lib\opencv_cudafilters.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_imgproc.lib" "D:\vcpkg\installed\ x64-windows\lib\opencv_cudaarithm.lib" "D:\vcpkg\installed\x64-windows\lib\opencv_core.lib" "D:\vcpkg\installed\x64-w indows\lib\opencv_cudev.lib" cudadevrt.lib cudart_static.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.l ib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib -Wno-deprecated-gpu-targets -gencode=arch=compute_52,cod e=sm_52 --machine 64 dark.dir\Release\activation_kernels.obj dark.dir\Release\avgpool_layer_kernels.obj dark.dir\Rel ease\blas_kernels.obj dark.dir\Release\col2im_kernels.obj dark.dir\Release\convolutional_kernels.obj dark.dir\Release \crop_layer_kernels.obj dark.dir\Release\deconvolutional_kernels.obj dark.dir\Release\dropout_layer_kernels.obj dark. dir\Release\im2col_kernels.obj dark.dir\Release\maxpool_layer_kernels.obj dark.dir\Release\network_kernels.obj cudnn.lib opencv_stitching.lib opencv_aruco.lib opencv_bgsegm.lib opencv_bioinspired.lib opencv_ccalib.lib opencv_cudabgsegm.lib opencv_cudafeatures2d.lib opencv_cudaobjdetect.lib opencv_cudastereo.lib opencv_dnn_objdetect.lib opencv_dnn_superres.lib opencv_dpm.lib opencv_face.lib opencv_fuzzy.lib opencv_hdf.lib opencv_hfs.lib opencv_img_hash.lib opencv_intensity_transform.lib opencv_line_descriptor.lib opencv_quality.lib opencv_rapid.lib opencv_reg.lib opencv_saliency.lib opencv_stereo.lib opencv_structured_light.lib opencv_superres.lib opencv_surface_matching.lib opencv_tracking.lib opencv_videostab.lib opencv_xfeatures2d.lib opencv_xobjdetect.lib opencv_xphoto.lib opencv_cudaoptflow.lib pthreadVC3.lib wsock32.lib ws2_32.lib curand.lib cublas.lib cuda.lib opencv_shape.lib opencv_highgui.lib opencv_datasets.lib opencv_plot.lib opencv_text.lib opencv_dnn.lib opencv_ml.lib opencv_phase_unwrapping.lib opencv_cudacodec.lib opencv_videoio.lib opencv_cudalegacy.lib opencv_cudawarping.lib opencv_optflow.lib opencv_ximgproc.lib opencv_video.lib opencv_imgcodecs.lib opencv_objdetect.lib opencv_calib3d.lib opencv_features2d.lib opencv_flann.lib opencv_photo.lib opencv_cudaimgproc.lib opencv_cudafilters.lib opencv_imgproc.lib opencv_cudaarithm.lib opencv_core.lib opencv_cudev.lib cudadevrt.lib cudart_static.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib activation_kernels.obj avgpool_layer_kernels.obj blas_kernels.obj col2im_kernels.obj convolutional_kernels.obj crop_layer_kernels.obj deconvolutional_kernels.obj dropout_layer_kernels.obj im2col_kernels.obj maxpool_layer_kernels.obj network_kernels.obj 正在创建库 E:/Github/darknet/build_win_release/Release/darknet.lib 和对象 E:/Github/darknet/build_win_release/Release/darkn et.exp dark.vcxproj -> E:\Github\darknet\build_win_release\Release\darknet.dll Building Custom Rule E:/Github/darknet/CMakeLists.txt Compiling CUDA source file ..\src\activation_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -IE:\Github\darknet\include -IE:\Github\darknet\src -I"D :\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --kee p-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcompiler="/wd 4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996, /wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_R AND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -DWIN32 -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -D_MBCS -Xcompiler " /EHsc /W3 /nologo /O2 /Fddarknet.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o darknet.dir\Release\activation_kernels.ob j "E:\Github\darknet\src\activation_kernels.cu" E:/Github/darknet/src/activation_kernels.cu(263): warning : variable "MISH_THRESHOLD" was declared but never referenced [E:\Github\darknet\build_win_release\darknet.vcxproj]

activation_kernels.cu Compiling CUDA source file ..\src\avgpool_layer_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -IE:\Github\darknet\include -IE:\Github\darknet\src -I"D :\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --kee p-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcompiler="/wd 4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996, /wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_R AND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -DWIN32 -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -D_MBCS -Xcompiler " /EHsc /W3 /nologo /O2 /Fddarknet.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o darknet.dir\Release\avgpool_layer_kernels .obj "E:\Github\darknet\src\avgpool_layer_kernels.cu" avgpool_layer_kernels.cu Compiling CUDA source file ..\src\blas_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -IE:\Github\darknet\include -IE:\Github\darknet\src -I"D :\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --kee p-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcompiler="/wd 4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996, /wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_R AND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -DWIN32 -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -D_MBCS -Xcompiler " /EHsc /W3 /nologo /O2 /Fddarknet.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o darknet.dir\Release\blas_kernels.obj "E:\ Github\darknet\src\blas_kernels.cu" E:/Github/darknet/src/blas_kernels.cu(1086): warning : variable "out_index" was declared but never referenced [E:\Githu b\darknet\build_win_release\darknet.vcxproj]

E:/Github/darknet/src/blaskernels.cu(1130): warning : variable "step" was set but never used [E:\Github\darknet\build win_release\darknet.vcxproj]

E:/Github/darknet/src/blas_kernels.cu(1736): warning : variable "stage_id" was declared but never referenced [E:\Github \darknet\build_win_release\darknet.vcxproj]

blas_kernels.cu Compiling CUDA source file ..\src\col2im_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -IE:\Github\darknet\include -IE:\Github\darknet\src -I"D :\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --kee p-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcompiler="/wd 4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996, /wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_R AND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -DWIN32 -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -D_MBCS -Xcompiler " /EHsc /W3 /nologo /O2 /Fddarknet.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o darknet.dir\Release\col2im_kernels.obj "E :\Github\darknet\src\col2im_kernels.cu" col2im_kernels.cu Compiling CUDA source file ..\src\convolutional_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -IE:\Github\darknet\include -IE:\Github\darknet\src -I"D :\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --kee p-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcompiler="/wd 4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996, /wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_R AND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -DWIN32 -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -D_MBCS -Xcompiler " /EHsc /W3 /nologo /O2 /Fddarknet.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o darknet.dir\Release\convolutional_kernels .obj "E:\Github\darknet\src\convolutional_kernels.cu" convolutional_kernels.cu Compiling CUDA source file ..\src\crop_layer_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -IE:\Github\darknet\include -IE:\Github\darknet\src -I"D :\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --kee p-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcompiler="/wd 4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996, /wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_R AND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -DWIN32 -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -D_MBCS -Xcompiler " /EHsc /W3 /nologo /O2 /Fddarknet.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o darknet.dir\Release\crop_layer_kernels.ob j "E:\Github\darknet\src\crop_layer_kernels.cu" crop_layer_kernels.cu Compiling CUDA source file ..\src\deconvolutional_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -IE:\Github\darknet\include -IE:\Github\darknet\src -I"D :\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --kee p-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcompiler="/wd 4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996, /wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_R AND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -DWIN32 -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -D_MBCS -Xcompiler " /EHsc /W3 /nologo /O2 /Fddarknet.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o darknet.dir\Release\deconvolutional_kerne ls.obj "E:\Github\darknet\src\deconvolutional_kernels.cu" deconvolutional_kernels.cu Compiling CUDA source file ..\src\dropout_layer_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -IE:\Github\darknet\include -IE:\Github\darknet\src -I"D :\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --kee p-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcompiler="/wd 4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996, /wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_R AND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -DWIN32 -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -D_MBCS -Xcompiler " /EHsc /W3 /nologo /O2 /Fddarknet.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o darknet.dir\Release\dropout_layer_kernels .obj "E:\Github\darknet\src\dropout_layer_kernels.cu" E:/Github/darknet/src/dropout_layer_kernels.cu(140): warning : variable "cur_scale" was declared but never referenced [ E:\Github\darknet\build_win_release\darknet.vcxproj]

E:/Github/darknet/src/dropout_layer_kernels.cu(245): warning : variable "cur_scale" was declared but never referenced [ E:\Github\darknet\build_win_release\darknet.vcxproj]

E:/Github/darknet/src/dropout_layer_kernels.cu(262): warning : variable "block_prob" was declared but never referenced [E:\Github\darknet\build_win_release\darknet.vcxproj]

dropout_layer_kernels.cu Compiling CUDA source file ..\src\im2col_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -IE:\Github\darknet\include -IE:\Github\darknet\src -I"D :\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --kee p-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcompiler="/wd 4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996, /wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_R AND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -DWIN32 -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -D_MBCS -Xcompiler " /EHsc /W3 /nologo /O2 /Fddarknet.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o darknet.dir\Release\im2col_kernels.obj "E :\Github\darknet\src\im2col_kernels.cu" im2col_kernels.cu Compiling CUDA source file ..\src\maxpool_layer_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -IE:\Github\darknet\include -IE:\Github\darknet\src -I"D :\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --kee p-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcompiler="/wd 4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996, /wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_R AND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -DWIN32 -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -D_MBCS -Xcompiler " /EHsc /W3 /nologo /O2 /Fddarknet.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o darknet.dir\Release\maxpool_layer_kernels .obj "E:\Github\darknet\src\maxpool_layer_kernels.cu" maxpool_layer_kernels.cu Compiling CUDA source file ..\src\network_kernels.cu...

E:\Github\darknet\build_win_release>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\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.27.29110\bin\HostX64\x64" -x cu -IE:\Github\darknet\include -IE:\Github\darknet\src -I"D :\vcpkg\installed\x64-windows\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\include" --kee p-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -Wno-deprecated-declarations -Xcompiler="/wd 4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996, /wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV /EHsc -Ob2" -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_R AND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -DWIN32 -D_WINDOWS -DNDEBUG -DUSE_CMAKE_LIBS -DCUDNN -DOPENCV -D_CRT_RAND_S -DNOMINMAX -D_USE_MATH_DEFINES -DGPU -D"CMAKE_INTDIR=\"Release\"" -D_MBCS -Xcompiler " /EHsc /W3 /nologo /O2 /Fddarknet.dir\Release\vc142.pdb /FS /Zi /MD /GR" -o darknet.dir\Release\network_kernels.obj " E:\Github\darknet\src\network_kernels.cu" E:/Github/darknet/src/network_kernels.cu(364): warning : variable "l" was declared but never referenced [E:\Github\dark net\build_win_release\darknet.vcxproj]

network_kernels.cu darknet.c activation_layer.c activations.c art.c avgpool_layer.c batchnorm_layer.c blas.c box.c captcha.c cifar.c classifier.c coco.c col2im.c compare.c connected_layer.c conv_lstm_layer.c convolutional_layer.c cost_layer.c cpu_gemm.c crnn_layer.c 正在生成代码... 正在编译... crop_layer.c dark_cuda.c data.c deconvolutional_layer.c demo.c detection_layer.c detector.c dice.c dropout_layer.c gaussian_yolo_layer.c gemm.c getopt.c gettimeofday.c go.c gru_layer.c im2col.c image.c layer.c list.c local_layer.c 正在生成代码... 正在编译... lstm_layer.c matrix.c maxpool_layer.c network.c nightmare.c normalization_layer.c option_list.c parser.c region_layer.c reorg_layer.c reorg_old_layer.c rnn.c rnn_layer.c rnn_vid.c route_layer.c sam_layer.c scale_channels_layer.c shortcut_layer.c softmax_layer.c super.c 正在生成代码... 正在编译... swag.c tag.c tree.c upsample_layer.c utils.c voxel.c writing.c yolo.c yolo_layer.c 正在生成代码... http_stream.cpp image_opencv.cpp 正在生成代码... 正在创建库 E:/Github/darknet/build_win_release/Release/darknet.lib 和对象 E:/Github/darknet/build_win_release/Release/darkn et.exp darknet.vcxproj -> E:\Github\darknet\build_win_release\Release\darknet.exe Building Custom Rule E:/Github/darknet/CMakeLists.txt yolo_console_dll.cpp *yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 send_json_custom,函数 "public: bool cdecl Detector::send_json_http(clas s std::vector<struct bbox_t,class std::allocator >,class std::vector<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class std::basic_string<char,struct std::char _traits,class std::allocator > > >,int,class std::basic_string<char,struct std::char_traits,class std ::allocator >,int,int)" (?send_json_http@Detector@@QEAA_NV?$vector@Ubbox_t@@V?$allocator@Ubbox_t@@@std@@@std@@V?$ vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std @@V?$allocator@D@2@@std@@@2@@3@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@HH@Z) 中引用了该符号 [E:\Github\dar knet\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: cdecl Detector::Detector(class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::basic_string<char,struct std::char_traits,class s td::allocator >,int)" (??0Detector@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z),函数 m ain 中引用了该符号 [E:\Github\darknet\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: cdecl Detector::~Detector(void)" (??1Detector@@QEAA@XZ),函数 m ain 中引用了该符号 [E:\Github\darknet\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: class std::vector<struct bbox_t,class std::allocator<struct bb ox_t> > __cdecl Detector::detect(struct image_t,float,bool)" (?detect@Detector@@QEAA?AV?$vector@Ubbox_t@@V?$allocator@U bbox_t@@@std@@@std@@Uimage_t@@M_N@Z),函数 "public: void cdecl ::operator()(voi d)const " (??R@@QEBAXXZ) 中引用了该符号 [E:\Github\darknet\build_win_release\uselib.v cxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: static void cdecl Detector::free_image(struct image_t)" (?fr ee_image@Detector@@SAXUimage_t@@@Z),函数 "public: cdecl std::_Temporary_owner_del<struct image_t ,class <lambda_2e9fc3 7c78f127f2606664cac01bc482> >::~_Temporary_owner_del<struct image_t ,class > (void)" (??1?$_Temporary_owner_del@PEAUimage_t@@V@@@std@@QEAA@XZ) 中引用了该符 号 [E:\ Github\darknet\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: int cdecl Detector::get_net_width(void)const " (?get_net_wid th@Detector@@QEBAHXZ),函数 "public: class std::shared_ptr cdecl Detector::mat_to_image_resize(class cv: :Mat)const " (?mat_to_image_resize@Detector@@QEBA?AV?$shared_ptr@Uimage_t@@@std@@VMat@cv@@@Z) 中引用了该符号 [E:\Github\darkne t\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: int cdecl Detector::get_net_height(void)const " (?get_net_he ight@Detector@@QEBAHXZ),函数 "public: class std::shared_ptr cdecl Detector::mat_to_image_resize(class c v::Mat)const " (?mat_to_image_resize@Detector@@QEBA?AV?$shared_ptr@Uimage_t@@@std@@VMat@cv@@@Z) 中引用了该符号 [E:\Github\dark net\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: class std::vector<struct bbox_t,class std::allocator<struct bb ox_t> > cdecl Detector::tracking_id(class std::vector<struct bbox_t,class std::allocator >,bool,int,in t)" (?tracking_id@Detector@@QEAA?AV?$vector@Ubbox_t@@V?$allocator@Ubbox_t@@@std@@@std@@V23@_NHH@Z),函数 "public: void c decl ::operator()(void)const " (??R@@ QEBAXXZ) 中引用了该符号 [E:\Github\darknet\build_win_release\uselib.vcxproj] E:\Github\darknet\build_win_release\Release\uselib.exe : fatal error LNK1120: 8 个无法解析的外部命令 [E:\Github\darknet\build_win _release\uselib.vcxproj] Building Custom Rule E:/Github/darknet/CMakeLists.txt yolo_console_dll.cpp yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 send_json_custom,函数 "public: bool cdecl Detector::send_json_http(clas s std::vector<struct bbox_t,class std::allocator >,class std::vector<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class std::basic_string<char,struct std::char _traits,class std::allocator > > >,int,class std::basic_string<char,struct std::char_traits,class std ::allocator >,int,int)" (?send_json_http@Detector@@QEAA_NV?$vector@Ubbox_t@@V?$allocator@Ubbox_t@@@std@@@std@@V?$ vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std @@V?$allocator@D@2@@std@@@2@@3@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@HH@Z) 中引用了该符号 [E:\Github\dar knet\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl Detector::Detector(class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::basic_string<char,struct std::char_traits,class s td::allocator >,int)" (??0Detector@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z),函数 m ain 中引用了该符号 [E:\Github\darknet\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: cdecl Detector::~Detector(void)" (??1Detector@@QEAA@XZ),函数 m ain 中引用了该符号 [E:\Github\darknet\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: class std::vector<struct bbox_t,class std::allocator<struct bb ox_t> > cdecl Detector::detect(struct image_t,float,bool)" (?detect@Detector@@QEAA?AV?$vector@Ubbox_t@@V?$allocator@U bbox_t@@@std@@@std@@Uimage_t@@M_N@Z),函数 "public: void __cdecl ::operator()(voi d)const " (??R@@QEBAXXZ) 中引用了该符号 [E:\Github\darknet\build_win_release\uselib_t rack.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: static void cdecl Detector::free_image(struct image_t)" (?fr ee_image@Detector@@SAXUimage_t@@@Z),函数 "public: __cdecl std::_Temporary_owner_del<struct image_t ,class <lambda_2e9fc3 7c78f127f2606664cac01bc482> >::~_Temporary_owner_del<struct image_t *,class > (void)" (??1?$_Temporary_owner_del@PEAUimage_t@@V@@@std@@QEAA@XZ) 中引用了该符 号 [E:\ Github\darknet\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: int cdecl Detector::get_net_width(void)const " (?get_net_wid th@Detector@@QEBAHXZ),函数 "public: class std::shared_ptr cdecl Detector::mat_to_image_resize(class cv: :Mat)const " (?mat_to_image_resize@Detector@@QEBA?AV?$shared_ptr@Uimage_t@@@std@@VMat@cv@@@Z) 中引用了该符号 [E:\Github\darkne t\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: int cdecl Detector::get_net_height(void)const " (?get_net_he ight@Detector@@QEBAHXZ),函数 "public: class std::shared_ptr cdecl Detector::mat_to_image_resize(class c v::Mat)const " (?mat_to_image_resize@Detector@@QEBA?AV?$shared_ptr@Uimage_t@@@std@@VMat@cv@@@Z) 中引用了该符号 [E:\Github\dark net\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: class std::vector<struct bbox_t,class std::allocator<struct bb ox_t> > __cdecl Detector::tracking_id(class std::vector<struct bbox_t,class std::allocator >,bool,int,in t)" (?tracking_id@Detector@@QEAA?AV?$vector@Ubbox_t@@V?$allocator@Ubbox_t@@@std@@@std@@V23@_NHH@Z),函数 "public: void __c decl ::operator()(void)const " (??R@@ QEBAXXZ) 中引用了该符号 [E:\Github\darknet\build_win_release\uselib_track.vcxproj] E:\Github\darknet\build_win_release\Release\uselib_track.exe : fatal error LNK1120: 8 个无法解析的外部命令 [E:\Github\darknet\bui ld_win_release\uselib_track.vcxproj]

(base) PS E:\Github\darknet> .\build.ps1 Found vcpkg in VCPKG_ROOT: D:\vcpkg Setting up environment to use CMake generator: Visual Studio 16 2019

目录: E:\Github\darknet

Mode LastWriteTime Length Name


d----- 2020/12/16 14:58 build_win_release -- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.19042. -- Autodetected CUDA architecture(s): 5.2 -- Building with CUDA flags: -gencode;arch=compute_52,code=sm_52 -- Your setup does not supports half precision (it requires CC >= 7.0) -- PThreads4W_DLL_DIR: D:/vcpkg/installed/x64-windows/include/../bin -- Found OpenMP_C: -openmp -- Found OpenMP_CXX: -openmp -- Found OpenMP: TRUE -- CMAKE_CUDA_FLAGS: -gencode arch=compute_52,code=sm_52 -Wno-deprecated-declarations -Xcompiler="/wd4013,/wd4018,/wd4028,/wd4047,/wd4068,/wd4090,/wd4101,/wd4113,/wd4133,/wd4190,/wd4244,/wd4267,/wd4305,/wd4477,/wd4996,/wd4819,/fp:fast,/DGPU,/DCUDNN,/DOPENCV" -D_WINDOWS -Xcompiler="/W3 /GR /EHsc" -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project:

CMAKE_TOOLCHAIN_FILE

-- Build files have been written to: E:/Github/darknet/build_win_release 用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.7.0+b89cb5fde 版权所有(C) Microsoft Corporation。保留所有权利。

Checking Build System Building Custom Rule E:/Github/darknet/CMakeLists.txt dark.vcxproj -> E:\Github\darknet\build_win_release\Release\darknet.dll Building Custom Rule E:/Github/darknet/CMakeLists.txt darknet.vcxproj -> E:\Github\darknet\build_win_release\Release\darknet.exe Building Custom Rule E:/Github/darknet/CMakeLists.txt yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 send_json_custom,函数 "public: bool cdecl Detector::send_json_http(clas s std::vector<struct bbox_t,class std::allocator >,class std::vector<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class std::basic_string<char,struct std::char _traits,class std::allocator > > >,int,class std::basic_string<char,struct std::char_traits,class std ::allocator >,int,int)" (?send_json_http@Detector@@QEAA_NV?$vector@Ubbox_t@@V?$allocator@Ubbox_t@@@std@@@std@@V?$ vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std @@V?$allocator@D@2@@std@@@2@@3@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@HH@Z) 中引用了该符号 [E:\Github\dar knet\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: cdecl Detector::Detector(class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::basic_string<char,struct std::char_traits,class s td::allocator >,int)" (??0Detector@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z),函数 m ain 中引用了该符号 [E:\Github\darknet\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: cdecl Detector::~Detector(void)" (??1Detector@@QEAA@XZ),函数 m ain 中引用了该符号 [E:\Github\darknet\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: class std::vector<struct bbox_t,class std::allocator<struct bb ox_t> > __cdecl Detector::detect(struct image_t,float,bool)" (?detect@Detector@@QEAA?AV?$vector@Ubbox_t@@V?$allocator@U bbox_t@@@std@@@std@@Uimage_t@@M_N@Z),函数 "public: void cdecl ::operator()(voi d)const " (??R@@QEBAXXZ) 中引用了该符号 [E:\Github\darknet\build_win_release\uselib.v cxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: static void cdecl Detector::free_image(struct image_t)" (?fr ee_image@Detector@@SAXUimage_t@@@Z),函数 "public: cdecl std::_Temporary_owner_del<struct image_t ,class <lambda_2e9fc3 7c78f127f2606664cac01bc482> >::~_Temporary_owner_del<struct image_t ,class > (void)" (??1?$_Temporary_owner_del@PEAUimage_t@@V@@@std@@QEAA@XZ) 中引用了该符 号 [E:\ Github\darknet\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: int cdecl Detector::get_net_width(void)const " (?get_net_wid th@Detector@@QEBAHXZ),函数 "public: class std::shared_ptr cdecl Detector::mat_to_image_resize(class cv: :Mat)const " (?mat_to_image_resize@Detector@@QEBA?AV?$shared_ptr@Uimage_t@@@std@@VMat@cv@@@Z) 中引用了该符号 [E:\Github\darkne t\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: int cdecl Detector::get_net_height(void)const " (?get_net_he ight@Detector@@QEBAHXZ),函数 "public: class std::shared_ptr cdecl Detector::mat_to_image_resize(class c v::Mat)const " (?mat_to_image_resize@Detector@@QEBA?AV?$shared_ptr@Uimage_t@@@std@@VMat@cv@@@Z) 中引用了该符号 [E:\Github\dark net\build_win_release\uselib.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: class std::vector<struct bbox_t,class std::allocator<struct bb ox_t> > cdecl Detector::tracking_id(class std::vector<struct bbox_t,class std::allocator >,bool,int,in t)" (?tracking_id@Detector@@QEAA?AV?$vector@Ubbox_t@@V?$allocator@Ubbox_t@@@std@@@std@@V23@_NHH@Z),函数 "public: void c decl ::operator()(void)const " (??R@@ QEBAXXZ) 中引用了该符号 [E:\Github\darknet\build_win_release\uselib.vcxproj] E:\Github\darknet\build_win_release\Release\uselib.exe : fatal error LNK1120: 8 个无法解析的外部命令 [E:\Github\darknet\build_win _release\uselib.vcxproj] Building Custom Rule E:/Github/darknet/CMakeLists.txt yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 send_json_custom,函数 "public: bool cdecl Detector::send_json_http(clas s std::vector<struct bbox_t,class std::allocator >,class std::vector<class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::allocator<class std::basic_string<char,struct std::char _traits,class std::allocator > > >,int,class std::basic_string<char,struct std::char_traits,class std ::allocator >,int,int)" (?send_json_http@Detector@@QEAA_NV?$vector@Ubbox_t@@V?$allocator@Ubbox_t@@@std@@@std@@V?$ vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std @@V?$allocator@D@2@@std@@@2@@3@HV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@HH@Z) 中引用了该符号 [E:\Github\dar knet\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: __cdecl Detector::Detector(class std::basic_string<char,struct std::char_traits,class std::allocator >,class std::basic_string<char,struct std::char_traits,class s td::allocator >,int)" (??0Detector@@QEAA@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0H@Z),函数 m ain 中引用了该符号 [E:\Github\darknet\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: cdecl Detector::~Detector(void)" (??1Detector@@QEAA@XZ),函数 m ain 中引用了该符号 [E:\Github\darknet\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: class std::vector<struct bbox_t,class std::allocator<struct bb ox_t> > cdecl Detector::detect(struct image_t,float,bool)" (?detect@Detector@@QEAA?AV?$vector@Ubbox_t@@V?$allocator@U bbox_t@@@std@@@std@@Uimage_t@@M_N@Z),函数 "public: void __cdecl ::operator()(voi d)const " (??R@@QEBAXXZ) 中引用了该符号 [E:\Github\darknet\build_win_release\uselib_t rack.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: static void cdecl Detector::free_image(struct image_t)" (?fr ee_image@Detector@@SAXUimage_t@@@Z),函数 "public: cdecl std::_Temporary_owner_del<struct image_t ,class <lambda_2e9fc3 7c78f127f2606664cac01bc482> >::~_Temporary_owner_del<struct image_t ,class > (void)" (??1?$_Temporary_owner_del@PEAUimage_t@@V@@@std@@QEAA@XZ) 中引用了该符 号 [E:\ Github\darknet\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: int cdecl Detector::get_net_width(void)const " (?get_net_wid th@Detector@@QEBAHXZ),函数 "public: class std::shared_ptr cdecl Detector::mat_to_image_resize(class cv: :Mat)const " (?mat_to_image_resize@Detector@@QEBA?AV?$shared_ptr@Uimage_t@@@std@@VMat@cv@@@Z) 中引用了该符号 [E:\Github\darkne t\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: int cdecl Detector::get_net_height(void)const " (?get_net_he ight@Detector@@QEBAHXZ),函数 "public: class std::shared_ptr cdecl Detector::mat_to_image_resize(class c v::Mat)const " (?mat_to_image_resize@Detector@@QEBA?AV?$shared_ptr@Uimage_t@@@std@@VMat@cv@@@Z) 中引用了该符号 [E:\Github\dark net\build_win_release\uselib_track.vcxproj] yolo_console_dll.obj : error LNK2019: 无法解析的外部符号 "public: class std::vector<struct bbox_t,class std::allocator<struct bb ox_t> > cdecl Detector::tracking_id(class std::vector<struct bbox_t,class std::allocator >,bool,int,in t)" (?tracking_id@Detector@@QEAA?AV?$vector@Ubbox_t@@V?$allocator@Ubbox_t@@@std@@@std@@V23@_NHH@Z),函数 "public: void __c decl ::operator()(void)const " (??R@@ QEBAXXZ) 中引用了该符号 [E:\Github\darknet\build_win_release\uselib_track.vcxproj] E:\Github\darknet\build_win_release\Release\uselib_track.exe : fatal error LNK1120: 8 个无法解析的外部命令 [E:\Github\darknet\build_win_release\uselib_track.vcxproj]**

Gomam0n commented 3 years ago

Have you resolved this issue?

cenit commented 3 years ago

can you please retry updating darknet first?

cd darknet
git pull
.\build.ps1 -UseVCPKG -EnableOPENCV -EnableCUDA -EnableCUDNN