I am trying to write a cross platform jni library on ubuntu.
I am able to compile the linux version no problems.
I have tried both GCC and Mingw toolchains to try and make a windows dll and both end up with the same 201 errors starting with:
const struct JNIInvokeInterface_� has no member named �AttachCurrentThread�
This error comes from line 1896 of jni.h
which is
return functions->AttachCurrentThread(this, penv, args);
Does anyone have any insight into the cause of this?
PS: a helloworld example worked under all 3 toolchains, it is only when I start using JNI that the windows ones stop working.
Also, I am indeed including the latest win32 includes (where jni_md.h is found)
Thoughts?