h2non / bimg

Go package for fast high-level image processing powered by libvips C library
https://pkg.go.dev/github.com/h2non/bimg?tab=doc
MIT License
2.72k stars 340 forks source link

Problem With VIPS Durring Install #474

Open Streder opened 4 weeks ago

Streder commented 4 weeks ago

steven@boticelli:~/bimg$ sudo go build -v config

config

In file included from ./vips.go:5: ./vips.h: In function ‘vips_reduce_bridge’: ./vips.h:133:9: warning: missing sentinel in function call [-Wformat=] 133 | return vips_reduce(in, out, xshrink, yshrink, "kernel", kernel); | ^~

config

./vips.go:670:83: cannot use kernel (variable of type Kernel) as _Ctype_int value in variable declaration steven@boticelli:~/bimg$

rayanmestiri commented 2 weeks ago

+1 Same issue with this config :

Package: libvips-dev
Version: 8.14.1-3+deb12u1

go version go1.19.8 linux/amd64

gcc (Debian 12.2.0-14) 12.2.0