gocv
gocv copied to clipboard
Installation path
Hi, I'm installing gocv at Windows 11 x64, trying to follow the installation guide to get:
chdir %GOPATH%\src\gocv.io\x\gocv
But actually I could not find this path, instead I found it at:
chdir %GOPATH%\pkg\mod\gocv.io\x\[email protected]
Same applicable for the last line at:
win_build_opencv.cmd
Which is pointing to the same path which is not existing, and required to be replaced by the new path.
Note:
I've my GOPATH
as "D:/gopath` I do not think it matters, just thought to mention it in case.
My win_build_opencv.cmd
was at %GOPATH%/go/pkg/mod/gocv.io/x/gocv@<version>/win_build_opencv.cmd
which is the same as "C:\Users\demen\go\pkg\mod\gocv.io\x\[email protected]\win_build_opencv.cmd"
.
As I can see here, there's some hard-coding going on, so I assume that it can take a while for me to figure out how to fix it.
I also met this problem.I only hava a pkg path. So anyone konw how to fix the path?