Skip to content

Document providing include paths and FAQ for missing system headers #1226

Open
@vks

Description

@vks

Sometimes there is a cryptic fatal error: 'stddef.h' file not found, presumabely when libclang is incorrectly configured:

servo/gecko-media#71
rsmpi/rsmpi#1
#242
ajtulloch/caffe.rs#1

In the past, this issue was fixed by making sure to install the clang package or by finding the missing pathes and adding them to the includes.

I was wondering whether bindgen could work around this issue? (The second solution above can be automated.) Alternatively, it could be documented how to fix it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions