in reply to Binding C libraries
You can first test your connection to your lib with InlineC, like:
use Inline C => Config => LIBS => '-L/path/to/the_static_lib -lyourlib'; use Inline C => <<'EOC'; #include "yourlib.h" int wrap_multiply(int a, int b) { return multiply(a,b); } EOC
|
|---|