pixiv / go-libjpeg

An implementation of Go binding for libjpeg (or libjpeg-turbo).
BSD 3-Clause "New" or "Revised" License
157 stars 52 forks source link

go-libjpeg error jpeglib.h not found #43

Closed g-rock84 closed 7 years ago

g-rock84 commented 7 years ago

When I run the following I get this error: jerald$ go get github.com/pixiv/go-libjpeg/jpeg go/src/github.com/pixiv/go-libjpeg/jpeg/compress.go:6:10: fatal error: 'jpeglib.h' file not found #include "jpeglib.h"

Any advice?

Edit: Never mind. It was an oversight on my part. I just ran brew install jpeg and the issue was fixed.

harukasan commented 7 years ago

Yes, go-libjpeg needs libjpeg.