Skip to content

Conversation

v0l
Copy link
Contributor

@v0l v0l commented Aug 19, 2025

Hi,

I had a problem building due to having llvm-22 installed for other reasons (eBPF)

I added some code to the build script to pick an older version, from my testing version 19 works.

For reference, when generating bindings with clang-22 it produces some opaque structs namely AvFormatContext which results in build errors due to size tests.

DID NOT TEST ON WINDOWS/MAC

@FreezyLemon
Copy link
Contributor

FreezyLemon commented Sep 9, 2025

Can you say more about the problem you encountered with llvm 22? AVFormatContext is not an opaque struct. If clang-sys has problems with newer LLVM/clang versions then this should be fixed over there no?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants