Content-Length: 208489 | pFad | http://github.com/pixiv/go-libjpeg/issues/68

4D How to fix JCS_EXT_RGBA is not supported on osx? · Issue #68 · pixiv/go-libjpeg · GitHub
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

How to fix JCS_EXT_RGBA is not supported on osx? #68

Open
snaffi opened this issue Jul 29, 2022 · 2 comments
Open

How to fix JCS_EXT_RGBA is not supported on osx? #68

snaffi opened this issue Jul 29, 2022 · 2 comments

Comments

@snaffi
Copy link

snaffi commented Jul 29, 2022

I run app with next env on osx

CGO_CFLAGS=-I/usr/local/opt/jpeg/include
CGO_CFLAGS_ALLOW=-Xpreprocessor
CGO_ENABLED=1
CGO_LDFLAGS=-L/usr/local/opt/jpeg/lib

Get an error on jpeg.Encode

JCS_EXT_RGBA is not supported (probably built without libjpeg-turbo)

thank you

@unak
Copy link
Contributor

unak commented Jul 29, 2022

hmm, your libjpeg is really libjpeg-turbo?
How did you install it?

@snaffi
Copy link
Author

snaffi commented Jul 29, 2022

brew instal libjpeg-turbo

Warning: No remote 'origen' in /usr/local/Homebrew, skipping update!
Warning: jpeg-turbo 2.1.3 is already installed and up-to-date.
To reinstall 2.1.3, run:
  brew reinstall jpeg-turbo

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








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/pixiv/go-libjpeg/issues/68

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy