Open okieraised opened 1 month ago
That sounds like an incompatible version of OpenCV being installed by python, or installed missing required module.
Perhaps you can check pkg-config
command output. In any case, the only tested installation for Linux is installing OpenCV from source.
Cannot build projects using gocv after upgrading to v0.38.0.
Description
When building a simple project with go using gocv v0.38.0, it returns the stack trace below:
Steps to Reproduce
import ( "fmt" "gocv.io/x/gocv" "io" "os" )
func main() { f, err := os.Open("/path/to/an/image") if err != nil { fmt.Println(err) return } defer f.Close()
}
It failed.
Your Environment
env.sh
orenv.cmd
script before trying togo run
orgo build
? No