java - JNI call to dll method does not work - UnsatisfiedLinkError -


i have created java proxies swig header file.

now unsatisfiedlinkerror (i think) points non existing method.

lcdll:dll_process_attach exception in thread "main" java.lang.unsatisfiedlinkerror: barjni._lc_application_get()j     @ barjni._lc_application_get(native method)     @ bar.lc_application_get(bar.java:31)     @ lumicamtest.main(lumicamtest.java:171) lcdll:dll_thread_detach lcdll:dll_thread_detach lcdll:dll_thread_detach lcdll:dll_thread_detach lcdll:dll_thread_detach lcdll:dll_thread_detach lcdll:dll_process_detach 

the lcdll messages show me, dll loaded.

i want call following method:

public final static native long _lc_application_get(); 

the methow generated swig lc_application_get(); without underscore.

i have tried both variants, , without underscore, cause dll explorer shows method underscore. dll explorer shows method following: _lc_application_get@0

i suppose @0 means, method has no parameters in it's signature.

has idea, problem?

thanks in advance


Comments