java -Djava.library.path=. TestJNI
>>>>
Exception in thread "main" java.lang.UnsatisfiedLinkError: TestJNI.calibrate([D[DII)[D
at TestJNI.calibrate(Native Method)
at TestJNI.main(TestJNI.java:61)
I know that the library is loading, otherwise the error indicates the impossibility of calibrating the library. What does the above error mean?
EDIT
this is my implementation -
JNIEXPORT jdoubleArray JNICALL Java_TestJNI_cailbrate (JNIEnv * env, jobject jobj, jdoubleArray rtt, jdoubleArray distance ,jint activecount,jint passivecount) {
jdoubleArray jresult = (*env)->NewDoubleArray(env,3);
.......
return jresult;
}
Are the parameters correct?
user494461
source
share