Closed JeysonFlores closed 3 years ago
You will need to tell the linker you want to link with libhandy.
alternatively the binding can link with the library dynamically by passing the: --use-runtime-linker
to gir-to-d when generating the binding.
Thanks!
Hi, I was testing the bindings for libhandy and I started getting some errors when the generated classes call the C-functions constructors. I imported
handy.c.functions
and called a simple function from it like this:and this fails due to this:
It seems that for some reason it can't call the functions definied in the
c/functions.d
file. Do you know what is the problem? Thanks!