I am trying to use govips in my project, but can't get it to work.
I even tried to create an empty project with just two files:
main.go
package main
import "github.com/davidbyttow/govips/v2/vips"
func main() {
vips.Startup(nil)
defer vips.Shutdown()
}
go.mod
module test
go 1.21.4
require github.com/davidbyttow/govips/v2 v2.13.0
require (
golang.org/x/image v0.14.0 // indirect
golang.org/x/net v0.18.0 // indirect
golang.org/x/text v0.14.0 // indirect
)
But got the same errors:
undefined: vips.Startup compiler UndeclaredImportedName
undefined: vips.Shutdown compiler UndeclaredImportedName
The only things that exposed are: