gen2brain / go-fitz

Golang wrapper for the MuPDF Fitz library
GNU Affero General Public License v3.0
369 stars 87 forks source link

fatal error: mupdf/fitz.h: No such file or directory #60

Closed lsjhtang closed 1 year ago

lsjhtang commented 1 year ago

go version go1.17.5 linux/amd64

go mod vendor go run main.go

github.com/gen2brain/go-fitz

../../vendor/github.com/gen2brain/go-fitz/fitz.go:6:24: fatal error: mupdf/fitz.h: No such file or directory

include <mupdf/fitz.h>

gen2brain commented 1 year ago

Do not use vendoring, it will copy only .go files.