Almost two years ago I had the process of writing Android apps using native C 
code generated by the Nim compiler pretty much worked out as per [this 
thread](https://forum.nim-lang.org/t/6045#37387) and [a simple GitHub repo 
using those techniques](https://github.com/GordonBGood/NimHelloJNI) plus other 
repos that advanced this, but something seems to have changed with newer Nim 
version(s) so that the generated C code is [no longer accepted by the NDK 
compiler](https://github.com/GordonBGood/NimHelloJNI/issues/1) (with even more 
problems when everything is updated to latest versions of Nim and the NDK.

Thus the question of whether anyone has this working for recent versions?

I'm quite sure that [@Yardanico's JNI inteface techniques and 
code](https://github.com/yglukhov/jnim) still work as they are just using FFI 
between regularly generated Nim code and the Java JNI, but the Android NDK 
takes this one step further in providing its own C/C++ compiler.

Reply via email to