Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android build issues #327

Open
Magicx-Breeze opened this issue Nov 25, 2024 · 0 comments
Open

Android build issues #327

Magicx-Breeze opened this issue Nov 25, 2024 · 0 comments

Comments

@Magicx-Breeze
Copy link

Version:Build 7533 (5c82614)
Local environment: Ubuntu 20.04
Ndk:16
operate:Execute in the android directory: build.sh
error message:

/home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32724:18: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"none", RUN_CONFIG_NONE}, ~ ^~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32725:18: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"land", RUN_CONFIG_LAND}, ~ ^~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32726:33: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"x_left_dash_command", RUN_CONFIG_X_LEFT_DASH_COMMAND}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32727:31: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"x_left_dash_fixed", RUN_CONFIG_X_LEFT_DASH_FIXED}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32728:28: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"x_left_enabled", RUN_CONFIG_X_LEFT_ENABLED}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32729:28: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"x_left_initial", RUN_CONFIG_X_LEFT_INITIAL}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32730:34: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"x_right_dash_command", RUN_CONFIG_X_RIGHT_DASH_COMMAND}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32731:32: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"x_right_dash_fixed", RUN_CONFIG_X_RIGHT_DASH_FIXED}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32732:29: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"x_right_enabled", RUN_CONFIG_X_RIGHT_ENABLED}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32733:29: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"x_right_initial", RUN_CONFIG_X_RIGHT_INITIAL}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32734:33: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"z_down_dash_command", RUN_CONFIG_Z_DOWN_DASH_COMMAND}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32735:31: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"z_down_dash_fixed", RUN_CONFIG_Z_DOWN_DASH_FIXED}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32736:28: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"z_down_enabled", RUN_CONFIG_Z_DOWN_ENABLED}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32737:28: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"z_down_initial", RUN_CONFIG_Z_DOWN_INITIAL}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32738:31: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"z_up_dash_command", RUN_CONFIG_Z_UP_DASH_COMMAND}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32739:29: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"z_up_dash_fixed", RUN_CONFIG_Z_UP_DASH_FIXED}, ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32740:26: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"z_up_enabled", RUN_CONFIG_Z_UP_ENABLED}, ~ ^~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32741:26: error: implicit conversion from enumeration type 'enum e_run_config_flags' to different enumeration type 'e_death_config_flags' (aka 'enum e_death_config_flags') [-Werror,-Wenum-conversion] {"z_up_initial", RUN_CONFIG_Z_UP_INITIAL}, ~ ^~~~~~~~~~~~~~~~~~~~~~~ /home/shell/desk/openbor/openbor/engine/android/app/jni/openbor/../../../../openbor.c:32750:41: error: implicit conversion from enumeration type 'const e_death_config_flags' (aka 'const enum e_death_config_flags') to different enumeration type 'e_run_config_flags' (aka 'enum e_run_config_flags') [-Werror,-Wenum-conversion] return flag_lookup_table[i].flag; ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~ 19 errors generated. make: *** [/home/shell/Android/Sdk/ndk/21.1.6352462/build/core/build-binary.mk:476: /home/shell/desk/openbor/openbor/engine/android/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/objs-debug/openbor/__/__/__/__/openbor.o] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant