Closed javi99 closed 3 years ago
To give a little bit more of context, I am trying to build darknet in windows. To do so, I have followed this guide: https://medium.com/analytics-vidhya/installing-darknet-on-windows-462d84840e5a , and it crashes when trying to install opencv with vcpkg (as you can see). I have also tried to install darknet using cmake with this guide https://www.youtube.com/watch?v=y5txWv7MVag , but I have the same problem when it starts building the opencv package.
error in cmake: vcpkg-manifest-install.log
CMake Error at D:/TFG/vcpkg-master/scripts/buildsystems/vcpkg.cmake:898 (message): vcpkg install failed. See logs for more information: D:\TFG\darknet\build_win64\vcpkg-manifest-install.log
Then in the log the error is:
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: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e
vcpkg-manifest-install.log
Inside the log the following log is also commented:
@javi99 ,Thanks for posting this issue,There is an issue here that is the same as yours. You can refer to the solutions given to try. If you have any problems, you can contact me
[243/540] cmd.exe /C "cd /D D:\TFG\vcpkg-master\buildtrees\opencv4\x64-windows-dbg\modules\dnn && D:\TFG\vcpkg-master\installed\x64-windows\tools\protobuf\protoc.exe --cpp_out D:/TFG/vcpkg-master/buildtrees/opencv4/x64-windows-dbg/modules/dnn -I D:/TFG/vcpkg-master/buildtrees/opencv4/src/4.5.1-e92f755db3.clean/modules/dnn/src/caffe -I D:/TFG/vcpkg-master/buildtrees/opencv4/src/4.5.1-e92f755db3.clean/modules/dnn/src/onnx -I D:/TFG/vcpkg-master/buildtrees/opencv4/src/4.5.1-e92f755db3.clean/modules/dnn/src/tensorflow D:/TFG/vcpkg-master/buildtrees/opencv4/src/4.5.1-e92f755db3.clean/modules/dnn/src/caffe/opencv-caffe.proto"
FAILED: modules/dnn/opencv-caffe.pb.h modules/dnn/opencv-caffe.pb.cc
Please track issue https://github.com/microsoft/vcpkg/issues/12849.
Host Environment
To Reproduce Steps to reproduce the behavior:
.\vcpkg install pthreads opencv[ffmpeg]
Failure logs
Logs: install-x64-windows-dbg-out.log
Additional context Add any other context about the problem here, such as what you have already tried to resolve the issue.