Dovyski / setup-opencv-action

Github Action to download and setup OpenCV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue on Windows platform

Chaphlagical opened this issue · comments

opencv_error

workflow

I try to use it in my project, but I got some issues. Is Windows not supported?

Thanks for reporting this problem! Indeed Windows is not supported at the moment (the scripts I used to install opencv are Linux only). If you have a tutorial (or link to equivalent) that shows how to properly install opencv on Windows, I would be glad do integrate that.

commented

I found a better way to install opencv for all platform. for github ci. you can use the vcpkg instead of your custome scripts. It's my example:install opencv ci

commented

Thanks for reporting this problem! Indeed Windows is not supported at the moment (the scripts I used to install opencv are Linux only). If you have a tutorial (or link to equivalent) that shows how to properly install opencv on Windows, I would be glad do integrate that.

In one of my cross-platform projects, I used your action to install opencv in the linux environment, while in windows and macos, I wrote the installation script process myself. It may not be perfect, but you can refer to it.
install opencv ci for linux
install opencv ci for windows
install opencv ci for macos