Closed SelectSweet closed 4 years ago
@SelectSweet Thanks for report. Can you provide your Gegl.gir, seems it don't have package
tag?
Paniced this part of code
ns.package_name
.as_ref()
.expect("Package name doesn't exist")
Here is my Gegl.gir
https://gist.github.com/SelectSweet/ea812d1e8cbfd138b08a56e56762af68
Try adding package tag:
<include name="GObject" version="2.0"/>
<package name="gegl"/>
<c:include name="gegl.h"/>
This not work without "babl-0.1.gir" 😢
https://github.com/nemequ/vala-girs/blob/master/gir-1.0/Babl-0.1.gir works after adding package
<package name="babl"/>
<c:include name="babl.h"/>
This is a bug in the build system of the C library, it should provide the name of the pkg-config package when calling the gobject-introspection tools.
i thought this might have been the case as it outputted a pkg-config error after i added the bits suggested, changing the name value to the gegl pkg-config name fixed the problem
<package name="gegl-0.4"/>
<c:include name="gegl.h"/>
thank you, for the assistance
Hello, Ive been trying to generate a Gegl binding by following the tutorial on the website but Ive run into an issue that is similar to this one where the compiler panics about something to do with options
Error output:
Gir.toml