aybe / eduke32

revision R5700 + bugfixes for XInput and joystick-related annoyances
4 stars 1 forks source link

Android port #2

Open dhanial opened 5 years ago

dhanial commented 5 years ago

Hi dev, do you have any plans to making android port ?

jsmolina commented 5 years ago

They do have a file :D https://github.com/aybe/eduke32/blob/master/polymer/eduke32/Android.mk

ThunderDragonRandy commented 5 years ago

Does anyone know how to make/build an Android port with that file?

glitchie commented 5 years ago

I tried to compile this using a command I found earlier when someone tried to do this, possibly with a different repo (couldn't ask as it would have been a serious necrobump), however it returned an error. Commands used

$NDK/ndk-build APP_BUILD_SCRIPT=Android.mk TARGET_ARCH_ABI=armeabi-v7a NDK_PROJECT_PATH=.

Output

Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16. /home/trevor/android-sdk/android-ndk-r18b/build/core/build-binary.mk:707: Android NDK: Module duke3d depends on undefined modules: touch ogg vorbis SDL2 SDL2_mixer vpx /home/trevor/android-sdk/android-ndk-r18b/build/core/build-binary.mk:720: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop.

So, I tried enabling that flag. this happened. At the end of a massive avalanche of warnings, make: *** No rule to make targetplatform/Android/Duke3d/jni/android-jni.cpp', needed by obj/local/armeabi-v7a/objs/duke3d/platform/Android/Duke3d/jni/android-jni.o'. Stop. appeared

This was the same error the user on that forum thread was asking about. The following was the response from an admin

Vital parts of our Android source are not public.

and later

Sorry, no

when asked for said files

Edit 1 Tried with latest code from the official svn repo, same results.

If @aybe or someone more experienced with this sort of thing than us could assist us here, this would be greatly appreciated

aybe commented 5 years ago

Sorry, I’ve missed previous posts, I really can’t help you out about fixing any of these issues, my fork only consisted to bugfixes about XInput, nothing more. (don’t really know the code base nor Android at all)

AFAICT there are a lot of benevolent dictators in the eduke forums … so, good luck :)


From: Daniel Smith notifications@github.com Sent: Monday, September 9, 2019 2:24:59 AM To: aybe/eduke32 eduke32@noreply.github.com Cc: Aybe aybe.one@hotmail.com; Mention mention@noreply.github.com Subject: Re: [aybe/eduke32] Android port (#2)

I tried to compile this using a command I found earlier when someone tried to do this, possibly with a different repo (couldn't ask as it would have been a serious necrobump), however it returned an error. Commands used

$NDK/ndk-build APP_BUILD_SCRIPT=Android.mk TARGET_ARCH_ABI=armeabi-v7a NDK_PROJECT_PATH=.`

Output

Android NDK: APP_PLATFORM not set. Defaulting to minimum supported version android-16. /home/trevor/android-sdk/android-ndk-r18b/build/core/build-binary.mk:707: Android NDK: Module duke3d depends on undefined modules: touch ogg vorbis SDL2 SDL2_mixer vpx /home/trevor/android-sdk/android-ndk-r18b/build/core/build-binary.mk:720: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies) . Stop.

So, I tried enabling that flag. this happenedhttps://github.com/aybe/eduke32/files/3588231/log.txt. At the end of a massive avalanche of warnings, make: *** No rule to make target platform/Android/Duke3d/jni/android-jni.cpp', needed by obj/local/armeabi-v7a/objs/duke3d/platform/Android/Duke3d/jni/android-jni.o'. Stop. appeared

This was the same error the user on that forum thread was asking about. The following was the response from an admin

Vital parts of our Android source are not public.

and later

Sorry, no

when asked for said files

If @aybehttps://github.com/aybe or someone more experienced with this sort of thing could assist us here, this would be greatly appreciated

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/aybe/eduke32/issues/2?email_source=notifications&email_token=AALXMN3QEHBXNDN3J4K4DZDQIWJVXA5CNFSM4GTDUNJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6F6F2Q#issuecomment-529261290, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AALXMN6XKLIWRKWKHRP43LDQIWJVXANCNFSM4GTDUNJA.