Java JNI wrapper tool

1.2k views Asked by At

I'm trying to generate java code that is capable to invoke functions provided in some C++ header (*.h extension) files which are implemented by a DLL file.

I've tried cxxwrap and I got all the java classes with no compilation errors but not all methods were generated. Also tried JNAerator and although all methods were generated I got a lot of compilation errors.

Can anyone give me some advice on this issues?

Thanks

1

There are 1 answers

0
carlos.baez On

You could try to use swig . It autogenerates all necessary wrappers...