Re: Suggestions for gui frameworks to make an app in nim for android?

2019-04-05 Thread mrhdias
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

Re: Suggestions for gui frameworks to make an app in nim for android?

2019-04-04 Thread leorize
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

Re: Suggestions for gui frameworks to make an app in nim for android?

2019-04-04 Thread mrhdias
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

Re: Suggestions for gui frameworks to make an app in nim for android?

2019-04-04 Thread mrhdias
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? $

Re: Suggestions for gui frameworks to make an app in nim for android?

2019-04-04 Thread mrhdias
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 \

Re: Suggestions for gui frameworks to make an app in nim for android?

2019-04-04 Thread leorize
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

Suggestions for gui frameworks to make an app in nim for android?

2019-04-03 Thread mrhdias
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