I saw this [page](https://github.com/VPashkov/awesome-nim) and tested the
packages that are mentioned there (Game Development and GUI). Unfortunately
none of them work on android (I just tested on arm64 Nougat API 24):-(
For [SDL2](https://nimble.directory/search?query=sdl) there are many
imple
Looks like you haven't set the cross compiler to the correct architecture. The
error is the architecture Nim targets is different from what the underlying C
compiler targets.
Passing the correct compiler via the switch
`--gcc.exe:/path/to/C/cross/compiler` and
`--gcc.linkerexe:/path/to/C/cross
I think the problem is not the cross compiler, I can compile and run a "Hello
Wold" simple test. I use the NDK as shown below:
/home/hdias/tmp/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang
\
-I/home/hdias/tmp/android-ndk-r19c/toolcha
I tried to compile some
[Examples](https://github.com/nim-lang/sdl2/tree/master/examples) from SDL Nim
official package for android, but without success!
Anyone have any ideas how to do it?
$
/home/hdias/tmp/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux
Yes is possible create a app in Nim for android and iOS the solution is
[here](https://github.com/iffy/wiish) and works :-) After install the wiish
package, sdk and ndk for android setup an app is easy:
$ wiish init testapp
$ nano -w
testapp/dist/android/project/org.wiish.webvi
Can you try invoking the compiler like this instead?
nim --cc:clang
--clang.exe:/home/hdias/tmp/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang
--clang.linkerexe:/home/hdias/tmp/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarc
I've tried your solution, but it does not work. When I execute the command it
gives the following result:
$ nim --cc:clang
--clang.exe:/home/hdias/tmp/android-ndk-r19c/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang
--clang.linkerexe:/home/hdias/tmp/androi