Skip to content

Instantly share code, notes, and snippets.

@DrMoriarty
Created June 26, 2018 10:54
Show Gist options
  • Save DrMoriarty/9043ba3bdae8f12e5f101e435435aa83 to your computer and use it in GitHub Desktop.
Save DrMoriarty/9043ba3bdae8f12e5f101e435435aa83 to your computer and use it in GitHub Desktop.
bash-3.2$ nake build-android
Warning: Package 'stub' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'stub.nim', but a file named 'fpscounter.nim' was found. This will be an error in the future.
Hint: If this is the primary source file in the package, rename it to 'stub.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'stub', then move it into a 'stub/' subdirectory. If it's a test file or otherwise not required to build the the package 'stub.nim', prevent its installation by adding `skipFiles = @["fpscounter.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
Verifying dependencies for stub@0.1.0
Info: Dependency on godot@>= 0.7.11 & < 0.8.0 already satisfied
Verifying dependencies for godot@0.7.14
Info: Dependency on compiler@>= 0.17.3 already satisfied
Verifying dependencies for compiler@0.18.0
Compiling ../src/stub.nim (from package stub) using c backend
Hint: used config file '/Users/vasya/.choosenim/toolchains/nim-0.18.0/config/nim.cfg' [Conf]
Hint: used config file '/Users/vasya/projects/godotframework/godot-nim-stub/src/nim.cfg' [Conf]
Hint: used config file '/Users/vasya/projects/godotframework/godot-nim-stub/src/config.nims' [Conf]
Hint: system [Processing]
Hint: stub [Processing]
Hint: segfaults [Processing]
Hint: posix [Processing]
Hint: fpscounter [Processing]
Hint: strutils [Processing]
Hint: parseutils [Processing]
Hint: math [Processing]
Hint: algorithm [Processing]
Hint: godot [Processing]
Hint: godotbase [Processing]
Hint: godotinternal [Processing]
Hint: godotinternaltypes [Processing]
Hint: godotarrays [Processing]
Hint: gdnativeapi [Processing]
Hint: godotcoretypes [Processing]
Hint: macros [Processing]
Hint: hashes [Processing]
Hint: godotnodepaths [Processing]
Hint: godotpoolarrays [Processing]
Hint: godotstrings [Processing]
Hint: godotvariants [Processing]
Hint: godotdictionaries [Processing]
Hint: vector2 [Processing]
Hint: rect2 [Processing]
Hint: vector3 [Processing]
Hint: transform2d [Processing]
Hint: planes [Processing]
Hint: quats [Processing]
Hint: aabb [Processing]
Hint: basis [Processing]
Hint: transforms [Processing]
Hint: colors [Processing]
Hint: nodepaths [Processing]
Hint: rids [Processing]
Hint: dictionaries [Processing]
Hint: variants [Processing]
Hint: tables [Processing]
Hint: poolarrays [Processing]
Hint: arrays [Processing]
Hint: godotmacros [Processing]
Hint: typetraits [Processing]
Hint: godotnim [Processing]
Hint: sets [Processing]
Hint: sequtils [Processing]
Hint: engine [Processing]
Hint: godottypes [Processing]
Hint: objects [Processing]
Hint: label [Processing]
Hint: control [Processing]
Hint: canvas_item [Processing]
Hint: node [Processing]
/Users/vasya/.nimble/pkgs/godot-0.7.14/nim/godotnim.nim(224, 15) Hint: conversion from NimGodotObject to itself is pointless [ConvFromXtoItselfNotNeeded]
Hint: mainpanel [Processing]
Hint: scene_tree [Processing]
Hint: main_loop [Processing]
Hint: resource_loader [Processing]
Hint: packed_scene [Processing]
Hint: resource [Processing]
Hint: reference [Processing]
Hint: panel [Processing]
Hint: global_constants [Processing]
Hint: input_event_mouse_button [Processing]
Hint: input_event_mouse [Processing]
Hint: input_event_with_modifiers [Processing]
Hint: input_event [Processing]
CC: stdlib_system
CC: stdlib_strutils
CC: stdlib_parseutils
CC: stdlib_math
CC: stdlib_algorithm
CC: stub_stub
CC: stdlib_segfaults
CC: stdlib_posix
CC: stub_fpscounter
CC: godot_godot
CC: godot_godotinternal
CC: godot_godotbase
CC: godot_godotinternaltypes
CC: godot_godotarrays
CC: godot_gdnativeapi
CC: stdlib_macros
Error: execution of an external compiler program 'clang -c -w --sysroot="/opt/android-ndk-r14b//platforms/android-21/arch-arm/" -g -fPIC -I/Users/vasya/.choosenim/toolchains/nim-0.18.0/lib -o /Users/vasya/projects/godotframework/godot-nim-stub/src/.nimcache/android/arm/stdlib_posix.o /Users/vasya/projects/godotframework/godot-nim-stub/src/.nimcache/android/arm/stdlib_posix.c' failed with exit code: 1
In file included from /Users/vasya/projects/godotframework/godot-nim-stub/src/.nimcache/android/arm/stdlib_posix.c:9:
/Users/vasya/.choosenim/toolchains/nim-0.18.0/lib/nimbase.h:477: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.
Tip: 11 messages have been suppressed, use --verbose to show them.
Error: Execution failed with exit code 256
... Command: "/Users/vasya/.nimble/bin/nim" c --noNimblePath --path:"/Users/vasya/.nimble/pkgs/godot-0.7.14" --path:"/Users/vasya/.nimble/pkgs/compiler-0.18.0" "-o:../_dlls/libnim_android.so" "--os:android" "--cpu:arm" "../src/stub.nim"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment