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

error in mac-os, can't build #6

Open
xoba opened this issue Aug 11, 2019 · 1 comment
Open

error in mac-os, can't build #6

xoba opened this issue Aug 11, 2019 · 1 comment

Comments

@xoba
Copy link

xoba commented Aug 11, 2019

here's the log i see:

iCloud Photos$ go get github.com/jdeng/goheif/...
# github.com/jdeng/goheif/libde265
In file included from libde265.cc:2:
In file included from src/github.com/jdeng/goheif/libde265/libde265-all.inl:37:
src/github.com/jdeng/goheif/libde265/libde265/slice.cc:2447:9: warning: 'MAX_PREFIX' macro redefined [-Wmacro-redefined]
src/github.com/jdeng/goheif/libde265/libde265/cabac.cc:419:9: note: previous definition is here
# github.com/jdeng/goheif/heic2jpg
src/github.com/jdeng/goheif/heic2jpg/main.go:80:14: undefined: goheif.DecodeImage
iCloud Photos$ 
@mikegleasonjr
Copy link
Contributor

DecodeImage has been renamed to Decode a while back to follow the Go convention:

Offending line:

https://github.com/jdeng/goheif/blob/master/heic2jpg/main.go#L80

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