gocv icon indicating copy to clipboard operation
gocv copied to clipboard

Installation path

Open hajsf opened this issue 2 years ago • 2 comments

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.

hajsf avatar Jun 11 '22 06:06 hajsf

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.

JohnScience avatar Nov 06 '22 09:11 JohnScience

I also met this problem.I only hava a pkg path. So anyone konw how to fix the path?

lvyonghuan avatar Dec 18 '23 02:12 lvyonghuan