Wasn't sure whether I should say this here or in the C/C++ forum, but here it is.
I'm programming a small game application for tutoring, where the GUI and main code are written in
Java and the game logic implementation is written in some other language (in this case, C/C++) for the student to do. The implementation is mapped over via JNI and native methods.
I wrote a dummy implementation just to see if things would work. The native DLL library compiles fine, but Java does not seem to be able to link the method correctly.
The Java side:
The C++ side:
An
UnsatisfiedLinkError is thrown upon reaching the line that calls
initializeNativeStuff. Might I have named something wrong?