[GObject-Introspection] Doubt about GIR files generation



Hi everyone,
  I'm wrinting a library and I generate some gir files for the parts
of it that need to be used from outside, as the library is written in
C but is being used from Vala throught some vapi files. All the
bindings are made and working, but I have a doubt about GObject
Introspection.

  This doubt comes from a problem I'm having while generating the .gir
files and a previous version of the library is installed in the
system: if any symbol name has been added or modified in the version
being build, libtool complains about undefined references to these
symbols while linking. It happens only during the g-ir-scanner
execution and doesn't in the regular linking of the library. May it be
something about g-ir-scanner looking for the libraries in the system
first and then in the build tree? If so, how can I avoid this
behavior? If not, does anyone know what's happening?

  As I use Debian, installing and removing the library as a package is
a clean operation and doesn't break anything in the system.

Thanks for any help,
  Alex


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]