opencv-rust icon indicating copy to clipboard operation
opencv-rust copied to clipboard

vcpkg install of dependencies takes >100gigs for me

Open anandijain opened this issue 4 months ago • 2 comments

this isn't so much of a problem with the repo as it is with vcpkg, but i wanted to notify that in my case (win11), trying to vcpkg the dependencies (opencv4 and llvm) ended up failing and eating my disk until empty.

so i would recommend against that method, i am going to try chocolatey instead.

image

thank you for the bindings

anandijain avatar Apr 24 '24 22:04 anandijain

just realized choco needs llvm too, any way to install the dependencies that takes less space?

anandijain avatar Apr 24 '24 22:04 anandijain

In CI I install llvm from choco even when testing OpenCV from vcpkg. Also I only build release libs. That cuts down the compilation time and size considerably. There is also a cleanup step that frees up space (at the cost of increasing compilation time for reinstalls). You can check that in the CI installation script: https://github.com/twistedfall/opencv-rust/blob/master/ci/install-windows-vcpkg.sh

twistedfall avatar Apr 25 '24 06:04 twistedfall

I hope that helped! I'm going to close this issue as there is nothing actionable from my side.

twistedfall avatar May 08 '24 06:05 twistedfall