We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Gopls (on vscode) fails to compile and autocomplete when using gocv.io/x/gocv as a dependency in your program.
gocv.io/x/gocv
To reproduce:
go.mod
package main import ( "gocv.io/x/gocv" ) func main() { webcam, _ := gocv.VideoCaptureDevice(0) window := gocv.NewWindow("Hello") img := gocv.NewMat() for { webcam.Read(&img) window.IMShow(img) window.WaitKey(1) } }
From a terminal: run go run main.go and notice that it works by opening your camera.
go run main.go
However, notice that in VSCode, Gopls is unable to find any of the functions in this file:
Gopls version:
commit aa71c3f32488bfee7774668abdf1ae045e013079 (HEAD -> master, origin/master, origin/HEAD) Author: Rebecca Stambler <[email protected]> Date: Tue May 28 18:13:06 2019 -0400 internal/lsp: set env to os.Environ to start
The text was updated successfully, but these errors were encountered:
duplicate of #31561
will re open if 31561 is solved and this is still an issue.
Sorry, something went wrong.
No branches or pull requests
Gopls (on vscode) fails to compile and autocomplete when using
gocv.io/x/gocv
as a dependency in your program.To reproduce:
go.mod
fileFrom a terminal: run
go run main.go
and notice that it works by opening your camera.However, notice that in VSCode, Gopls is unable to find any of the functions in this file:
Gopls version:
The text was updated successfully, but these errors were encountered: