go-cairo icon indicating copy to clipboard operation
go-cairo copied to clipboard

Cannot find 'cairo-pdf.h' file

Open JanRuettinger opened this issue 1 year ago • 2 comments

I am receiving the following error:

User/xxx/go/pkg/mod/github.com/ungerik/[email protected]/cairo.go:6:11: fatal error: 'cairo/cairo-pdf.h' file not found

System:

  • M2 Macbook, OS: 14.2.1

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?

JanRuettinger avatar Jan 11 '24 19:01 JanRuettinger