Skip to content

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

Open
@JanRuettinger

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions