jextract and Botan

Jorn Vernee jbvernee at
Sun Apr 21 19:59:09 UTC 2019

Hi Giorgio,

Please note that jextract does not really support C++ yet. If you want 
to create bindings for Botan you will have to use the C API for now, 
which is also what's used for bindings of other languages it seems [1]

Eye-balling the command you'd need to use, try:

    jextract /usr/local/include/botan-2/botan/ffi.h -L /usr/local/lib/ -I 
/usr/local/include/botan-2/ -l botan-2 -t Botan --record-library-path -o 

A jextract of just the header file works for me, but I can not get the 
build working on my machine, so I can't test the exact command.

Hope this helps,

[1] :

More information about the panama-dev mailing list