Skip to content

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

@abhijitpratinidhi

Description

@abhijitpratinidhi

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>
^~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions