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 
implementations one of them official.

Some packages end with the following error: error: 
'Nim_and_C_compiler_disagree_on_target_architecture'

Compile error from nimx package example: 
    
    
    ../../.nimble/pkgs/nimfp-0.4.3/fp/option.nim(42, 36) Error: 'nil' is now 
invalid for 'string'; compile with --nilseqs:on for a migration period; usage 
of '==' is a user-defined error
    In file included from /home/hdias/.cache/nim/test_d/test.c:10:
    /home/hdias/Downloads/tmp/Nim-0.19.4/lib/nimbase.h:490:64: error: 
'Nim_and_C_compiler_disagree_on_target_architecture' declared as an array with 
a negative size
    typedef int Nim_and_C_compiler_disagree_on_target_architecture[sizeof(NI) 
== sizeof(void*) && NIM_INTBITS == sizeof(NI)*8 ? 1 : -1];
                                                                   
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    1 error generated.
    In file included from /home/hdias/.cache/nim/test_d/stdlib_system.c:10:
    /home/hdias/tmp/Nim-0.19.4/lib/nimbase.h:490:64: error: 
'Nim_and_C_compiler_disagree_on_target_architecture' declared as an array with 
a negative size
    typedef int Nim_and_C_compiler_disagree_on_target_architecture[sizeof(NI) 
== sizeof(void*) && NIM_INTBITS == sizeof(NI)*8 ? 1 : -1];
                                                                   
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    
    Run

Any idea?

Reply via email to