Skip to content
New issue

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

Not Compatible with latest libvips 8.7.0 release. failing to compile because of a duplicate declaration. #255

Closed
sherifabdlnaby opened this issue Sep 30, 2018 · 1 comment

Comments

@sherifabdlnaby
Copy link

Hello,

The current version of bimg is incompatible with the latest version of libvips 8.7.0 and it fails to compile.

vips_rotate was added in v8.7.0 and is causing a compilation error due to duplicate declaration.

Compiler error:

# github.com/h2non/bimg
In file included from ../../go/pkg/mod/github.com/h2non/[email protected]/vips.go:5:
./vips.h:180:1: error: conflicting types for 'vips_rotate'
vips_rotate(VipsImage *in, VipsImage **out, int angle) {
^
/usr/local/Cellar/vips/8.7.0/include/vips/resample.h:85:5: note: previous declaration is here
int vips_rotate( VipsImage *in, VipsImage **out, double angle, ... )
    ^
1 error generated.
@brtw
Copy link

brtw commented Nov 16, 2018

I've made the change in a fork if anyone needs:
gitlab.com/brtw/bimg

h2non added a commit that referenced this issue Nov 17, 2018
Make it compatible with the latest vips. Fixes #255
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants