Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build OpencvSharp for Windows with Gstreamer #1662

Open
JuanDYB opened this issue Apr 9, 2024 · 0 comments
Open

How to build OpencvSharp for Windows with Gstreamer #1662

JuanDYB opened this issue Apr 9, 2024 · 0 comments

Comments

@JuanDYB
Copy link

JuanDYB commented Apr 9, 2024

I'm trying to build OpenCvSharp opencv_files for windows with Gstreamer backend.

I tryed to follow instructions but I'm having problems with vcpkg.
I don't know why it's neccesary to install vcpkg but I'm having the followinfg errors.

  1. I have cloned vcpkg to C:\Cmake\vcpkg
  2. Execute .\vcpkg\bootstrap-vcpkg.bat
  3. Execute .\vcpkg.exe install tesseract:x64-windows-static

The progress start and install dependencies but stops here.

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
 
      Failed to download file with error: 1
      If you are using a proxy, please check your proxy setting. Possible causes are:
 
      1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
         to `https://address:port`. This is not correct, because `https://` prefix
         claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
         , etc..) is an HTTP proxy. Try setting `http://address:port` to both
         HTTP_PROXY and HTTPS_PROXY instead.
 
      2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
         set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
         The value set by your proxy might be wrong, or have same `https://` prefix issue.
 
      3. Your proxy's remote server is out of service.
 
      If you've tried directly download the link, and believe this is not a temporary
      download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
      to report this upstream download server failure.
 
 
Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail)
  scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
  ports/liblzma/portfile.cmake:1 (vcpkg_from_github)
  scripts/ports.cmake:175 (include)
 
 
error: building liblzma:x64-windows-static failed with: BUILD_FAILED
Elapsed time to handle liblzma:x64-windows-static: 447 ms
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+liblzma
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[liblzma]+Build+error+on+x64-windows-static&body=Copy+issue+body+from+C%3A%2FCMake%2Fvcpkg%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant