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

Get build error - fatal error: 'mupdf/fitz.h' file not found #4

Open
abhijitpratinidhi opened this issue Aug 7, 2024 · 0 comments
Open

Comments

@abhijitpratinidhi
Copy link

Hi,

I am using the this library to convert pdf into png.While building i am getting the below error - .CGO_LDFLAGS is set to '-lmupdf -lm -lmupdf-third -lfreetype -ljbig2dec -lharfbuzz -ljpeg -lopenjp2 -lz' and CGO_CFLAGS to '-O2 -g' .

go build -v -o ./cmd/pdfconv/pdfconv ./cmd/pdfconv/
github.com/gen2brain/go-fitz

github.com/gen2brain/go-fitz
vendor/github.com/gen2brain/go-fitz/fitz.go:6:10: fatal error: 'mupdf/fitz.h' file not found
#include <mupdf/fitz.h>
^~~~~~~~~~~~~~

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

1 participant