ungerik / go-cairo

Go binding for the cairo graphics library
Other
142 stars 32 forks source link

Cannot find 'cairo-pdf.h' file #28

Open JanRuettinger opened 8 months ago

JanRuettinger commented 8 months ago

I am receiving the following error:

User/xxx/go/pkg/mod/github.com/ungerik/go-cairo@v0.0.0-20230507174710-d931ee67b171/cairo.go:6:11: fatal error: 'cairo/cairo-pdf.h' file not found

System:

In a closed issue it was mentioned to run xcode-select --install => error didn't go away

I have checked the pkg-config search directories with: pkg-config --list-all --debug 2>&1 > /dev/null | grep 'Scanning directory' => cairo-pdf.h header file is in search path

Any ideas how to debug it further or solve the issue?

ungerik commented 8 months ago

Sorry, haven't done any MacOS build lately

prcastro commented 3 months ago

Same error here