go - cbrotli - fatal error: brotli/decode.h: No such file or directory #378

Closed
opened 2026-01-29 20:42:58 +00:00 by claunia · 1 comment
Owner

Originally created by @true-zero on GitHub (Feb 24, 2021).

Cannot install Golang cbrotli due to a missing file.

cbrotli\reader.go:12:10: fatal error: brotli/decode.h: No such file or directory

Originally created by @true-zero on GitHub (Feb 24, 2021). Cannot install Golang cbrotli due to a missing file. `cbrotli\reader.go:12:10: fatal error: brotli/decode.h: No such file or directory`
Author
Owner

@micheartin commented on GitHub (Apr 20, 2021):

To use cbrotli in your Golang project, before you should compile the C implementation in your local machine. See the README.md for build instructions. See also https://stackoverflow.com/q/47233208#53095243.

@micheartin commented on GitHub (Apr 20, 2021): To use `cbrotli` in your Golang project, before you should compile the C implementation in your local machine. See the [README.md](https://github.com/google/brotli#build-instructions) for build instructions. See also <https://stackoverflow.com/q/47233208#53095243>.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#378