lubomyr / uae4arm

amiga emulator (android port)
GNU General Public License v2.0
61 stars 9 forks source link

not able to compile - missing capsimage module #16

Open cipher2k opened 5 years ago

cipher2k commented 5 years ago

I have tried to build an apk today with a fresh Debian VM. Installed Android Studio, JDK, NDK and here is the first thing i stumbled according to your "How to...":

The toolchain is not compatible with the latest NDK - had to download an older one (r17).

But, now I am stuck with the build because of capsimage module.

Would you mind updating the "How-to" or give me some hints on how to proceed?

lubomyr commented 5 years ago

Hi, I use ndk r17b Try to copy capsimage folder from uae4arm/plugins to ~/androidsdl/project/jni directory If i have some free time i will update build instructions

On Wed, Jan 16, 2019 at 9:31 PM Robert notifications@github.com wrote:

I have tried to build an apk today with a fresh Debian VM. Installed Android Studio, JDK, NDK and here is the first thing i stumbled according to your "How to...":

The toolchain is not compatible with the latest NDK - had to download an older one (r17).

But, now I am stuck with the build because of capsimage module.

Would you mind updating the "How-to" or give me some hints on how to proceed?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lubomyr/uae4arm/issues/16, or mute the thread https://github.com/notifications/unsubscribe-auth/AAcn1sRjuU6JTh2nTO2UMLNHfK8VvZhPks5vD34sgaJpZM4aDyjc .

cipher2k commented 5 years ago

Thanks for the hint with moving capsimage. That seems to work. But, now I am running into the following compile error: cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast' cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast' make: *** [obj/local/armeabi-v7a/objs/sdl-1.2/src/SDL_error.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [obj/local/armeabi-v7a/objs/sdl-1.2/src/SDL.o] Error 1

lubomyr commented 5 years ago

current state of branch sdl_android not supported gcc anymore (support only clang), you must checkout to previous state

try $ cd ~/androidsdl $ git checkout aa7919811 $ ./changeAppSettings.sh -a $ ./build.sh uae4arm

On Thu, Jan 17, 2019 at 12:57 AM Robert notifications@github.com wrote:

Thanks for the hint with moving capsimage. That seems to work. But, now I am running into the following compile error: cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast' cc1: error: argument to '-O' should be a non-negative integer, 'g', 's' or 'fast' make: [obj/local/armeabi-v7a/objs/sdl-1.2/src/SDL_error.o] Error 1 make: Waiting for unfinished jobs.... make: *** [obj/local/armeabi-v7a/objs/sdl-1.2/src/SDL.o] Error 1

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lubomyr/uae4arm/issues/16#issuecomment-454976405, or mute the thread https://github.com/notifications/unsubscribe-auth/AAcn1nXVtHFE_3_9CUaXZpDylpcxnZZhks5vD65sgaJpZM4aDyjc .