Closed CeNiEi closed 5 months ago
I haven't tried using vcpg in macOS personally, but as far as I can see the vcpkg
probe fails:
=== Can't probe using: vcpkg, continuing with other methods because: Could not find library in Vcpkg tree package opencv4 is not installed for vcpkg triplet arm64-osx, Could not find library in Vcpkg tree package opencv3 is not installed for vcpkg triplet arm64-osx
So you can double-check if the triplet matches and if it does make sure that necessary config for vcpkg is done (like environment variables and such). As a test you can try using https://crates.io/crates/vcpkg in a separate test project to see if it can find OpenCV package.
I have added macOS + vcpkg build to the CI and it works. Please check the installation here: https://github.com/twistedfall/opencv-rust/blob/master/ci/install-macos-vcpkg.sh and the env setup here: https://github.com/twistedfall/opencv-rust/blob/master/ci/script.sh#L25-L28 after that the build should just work.
here is the
vcpkg
metadata