[Help] Generate bindings for girs that depend on other girs #308

Closed
opened 2025-12-10 16:07:57 +01:00 by Daru-san · 3 comments
Daru-san commented 2025-12-10 16:07:57 +01:00 (Migrated from github.com)

Hello.

I am trying to generate bindings for libraries that depend on other libraries.

Say we have LibCar-1.0.gir, with depends on LibEngine-1.0.gir, when trying to generate bindings for the former GIR namespace LibEngine not found is thrown.

How do I generate bindings for a library that depends on another library?

Hello. I am trying to generate bindings for libraries that depend on other libraries. Say we have `LibCar-1.0.gir`, with depends on `LibEngine-1.0.gir`, when trying to generate bindings for the former `GIR namespace LibEngine not found` is thrown. How do I generate bindings for a library that depends on another library?
jwharm commented 2025-12-10 19:30:44 +01:00 (Migrated from github.com)

The tool processes accepts multiple gir files as command-line arguments. So try running java-gi LibEngine-1.0.gir LibCar-1.0.gir.

The tool processes accepts multiple gir files as command-line arguments. So try running `java-gi LibEngine-1.0.gir LibCar-1.0.gir`.
jwharm commented 2025-12-12 22:39:29 +01:00 (Migrated from github.com)

Did you get it to work?

Did you get it to work?
Daru-san commented 2025-12-17 10:54:46 +01:00 (Migrated from github.com)

Did you get it to work?

Yes, I got it.
Thank you.

> Did you get it to work? Yes, I got it. Thank you.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
java-gi/java-gi#308
No description provided.