bimg
bimg copied to clipboard
build error
centos6.x
libvips: vips-8.9.2-Tue
When i build it,it returned:
/root/go/pkg/mod/github.com/h2non/[email protected]/metadata.go:5:10: fatal error: vips/vips.h: No such file or directory
@ABetterCat Did you find a solution ?
I'm facing the same issue when trying to cross-compile to windows with :
GOOS=windows GOARCH=386 CGO_ENABLED=1 CC=i686-w64-mingw32-gcc go build -o $(EXE_NAME) $(TARGET_FOLDER)
I tried downloading, compiling and installing the latest version (v8.14.5 as of this writing) of libvips but it didn't fix anything.
I'm not having any issue when running with my default architecture.
GOHOSTARCH="amd64"
GOHOSTOS="linux"