Open lhj-0715 opened 4 years ago
Hi @lhj-0715, thanks for reporting this issue! Please provide failure logs.
Thanks.
Hi @JackBoosY
I ran into the same basic problem. Do I open a new lssues or upload a log here?
I am not very familiar with the operating principle of Lssues in GIhub
@dswcmp Just upload your log here. Drag the log file to the edit box and waiting for upload.
Hi @JackBoosY Thank you for your win10 vs2017 cmake 3.17.3.0 //Everything else was installed successfully
PS G:\darknetyl\vcpkg> .\vcpkg install darknet[full]:x64-windows
Computing installation plan...
The following packages will be built and installed:
darknet[core,cuda,cudnn,full,opencv-cuda,weights,weights-train]:x64-windows
* opencv[core,cuda,dnn,ffmpeg,jpeg,opengl,png,tiff,webp]:x64-windows
* opencv4[contrib,core,cuda,dnn,ffmpeg,jpeg,opengl,png,tiff,webp]:x64-windows
* pthreads[core]:x64-windows
* stb[core]:x64-windows
Additional packages (*) will be modified to complete this operation.
Starting package 1/5: opencv4:x64-windows
Building package opencv4[contrib,core,cuda,dnn,ffmpeg,jpeg,opengl,png,tiff,webp]:x64-windows...
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-opencv-4.1.1.tar.gz
-- Using source at G:/darknetyl/vcpkg/buildtrees/opencv4/src/4.1.1-fb9e10326a
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/tiny_dnn/adb1c512e09ca2c7a6faef36f9c53e59-v1.0.0a3.tar.gz
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/nvidia_optical_flow/ca5acedee6cb45d0ec610a6732de5c15-79c6cee80a2df9a196f20afd6b598a9810964c32.zip
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-opencv_contrib-4.1.1.tar.gz
-- Using source at G:/darknetyl/vcpkg/buildtrees/opencv4/src/4.1.1-521dd00bd2
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/xfeatures2d/boostdesc/0ea90e7a8f3f7876d450e4149c97c74f-boostdesc_bgm.i
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/xfeatures2d/boostdesc/232c966b13651bd0e46a1497b0852191-boostdesc_bgm_bi.i
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/xfeatures2d/boostdesc/324426a24fa56ad9c5b8e3e0b3e5303e-boostdesc_bgm_hd.i
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/xfeatures2d/boostdesc/202e1b3e9fec871b04da31f7f016679f-boostdesc_binboost_064.i
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/xfeatures2d/boostdesc/98ea99d399965c03d555cef3ea502a0b-boostdesc_binboost_128.i
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/xfeatures2d/boostdesc/e6dcfa9f647779eb1ce446a8d759b6ea-boostdesc_binboost_256.i
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/xfeatures2d/boostdesc/0ae0675534aa318d9668f2a179c2a052-boostdesc_lbgm.i
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/xfeatures2d/vgg/e8d0dcd54d1bcfdc29203d011a797179-vgg_generated_48.i
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/xfeatures2d/vgg/7126a5d9a8884ebca5aea5d63d677225-vgg_generated_64.i
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/xfeatures2d/vgg/7cd47228edec52b6d82f46511af325c5-vgg_generated_80.i
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/xfeatures2d/vgg/151805e03568c9f490a5e3a872777b75-vgg_generated_120.i
-- Using cached G:/darknetyl/vcpkg/downloads/opencv-cache/data/7505c44ca4eb54b4ab1e4777cb96ac05-face_landmark_model.dat
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v
Working Directory: G:/darknetyl/vcpkg/buildtrees/opencv4/x64-windows-dbg
See logs for more information:
G:\darknetyl\vcpkg\buildtrees\opencv4\install-x64-windows-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:91 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/opencv4/portfile.cmake:337 (vcpkg_install_cmake)
scripts/ports.cmake:76 (include)
Error: Building package opencv4:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: opencv4:x64-windows
Vcpkg version: 2020.02.04-nohash
Additionally, attach any relevant sections from the log files above.
install-x64-windows-dbg-out.log Other log files with content config-x64-windows-out.log patch-x64-windows-0-err.log patch-x64-windows-1-err.log patch-x64-windows-2-err.log patch-x64-windows-3-err.log patch-x64-windows-4-err.log stdout-x64-windows.log x64-windows.vcpkg_abi_info.txt
Hi @JackBoosY After I ran into a problem, I went through a lot of relevant solutions, so I compiled many times.I don't know if the log is overwritten or updated to the end every time it is compiled, it looks like the out log file is very large....I don't know if the other files are useful, but they're all uploaded
I hope you have a great computer!
@dswcmp I think this issue is the same as #11802, could you check my comments in #11802?
Thanks.
@JackBoosY Thank you According to your method, I completed the installation of Darknet. Thank you. Could you please tell me what kind of trouble I met?
@dswcmp
libprotobuf.dll
and libprotoc.dll
do not exist in the protoc.exe
directory, it means that vcpkg_copy_tool_dependencies
has a bug.vcruntime.dll
is missing, it means that vcpkg_copy_tool_dependencies
needs to consider adding the feature of copying the system library.I think this is also an upstream design flaw, and I've reported this issue to upstream.
Please note we should wait for fix applocal.ps1
or convert that applocal.ps1
to an executable.
Is this issue resolved/obsolete?
When asking a question please also include where you looked for an answer (so we can update the documentation if needed).