Dovyski/setup-opencv-action

Issue on Windows platform

Chaphlagical opened this issue · 6 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.

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

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

Any update on this? Will Windows/MacOS support be added?

I myself was out of time to work on this issue, so the situation is the same as before. If windows/macos support is to be added, it has to come from as a contribution.

I myself was out of time to work on this issue, so the situation is the same as before. If windows/macos support is to be added, it has to come from as a contribution.

@QQxiaoming has workflows for installing it on Windows and MacOS. You can easily take that and insert it into this script, unless that should be done by someone else, too.