Skip to content

Binding generates empty file for libalpm #1961

@shanoaice

Description

@shanoaice

I was trying to generate C# bindings for libalpm (a C library), that should be installed on the system and that the header lives in /usr/include. I used the regular method and just do module.Headers.Add("alpm.h"), but when I run the generation it says "Removing module libalpm because no translation units are generated...". I tried to un-mark the header as system include in preprocess but it still don't work.

This is the output log with full verbosity: output.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions