gen2brain / go-fitz

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

fitz is empty #94

Closed Deme94 closed 9 months ago

Deme94 commented 9 months ago

Hey, fitz hasn't any methods. I imported it but I can't use any of its functions.

fitz.New is not compiling, what should I do?

gen2brain commented 9 months ago

You probably have CGO_ENABLED=0, you need to enable CGO. I am just guessing.

Deme94 commented 9 months ago

You probably have CGO_ENABLED=0, you need to enable CGO. I am just guessing.

Yeah and I also didn't have gcc installed (I installed ubuntu a few days ago). Thank you very much for the quick answer, you just saved my day and my job.

Best regards and thank you