I want to downgrade
to specific version of opencv 4.5.5
in vcpkg
. As I understand I should checkout
a specific version and then reset
. so I use:
git checkout 401578455faece3db28615775420fb0f22f9bd07
git reset
I checked opencv version using:
vcpkg search opencv
It was 4.5.5 as I expected. when I tried to install opencv, I got this error:
error: building opencv4:x64-windows failed with: BUILD_FAILED
error: Please ensure you're using the latest port files withgit pull
andvcpkg update
. Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+opencv4
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[opencv4]+Build+error
Include '[opencv4] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-09-20-522aa94e9d261c7d7b2f079bf2591ca62df5c714
vcpkg-scripts version: 401578455 2022-02-23 (8 months ago)
I prefer
to use git for downgrade
, However any alternative solution such as changing .json
files (vcpkg versioning) will be appreciated.