Trick
Posts: 7
Joined: Fri Jul 01, 2016 6:49 am

Compiling Android Mame on Windows 10.

Sun Dec 31, 2017 3:24 am

Hi, I was trying to compile Mame 0.193+ 31-Dec-2017 from the Git source for the Android build, but I get this error:-

Compiling src/mame/drivers/gunsmoke.cpp...
Compiling 3rdparty/SDL2/src/video/dummy/SDL_nullvideo.c...
Compiling src/mame/drivers/atarittl.cpp...
Linking libSDL2.so...
D:\msys64\vendor\anCompiling src/devices/cpu/8x300/8x300dasm.cpp...
droid-ndk\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld: error: cannot find -lc++abi
D:\msys64\vendor\android-ndk\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld: error: cannot find -lCompiling src/mame/audio/astrof.cpp...
andCompiling src/mame/drivers/higemaru.cpp...
roid_support
D:\msys64\vendor\android-ndk\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64/lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin\ld: error: cannot find -lunwind
Compiling src/mame/drivers/atetris.cpp...
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
SDL2.make:889: recipe for target '../../../../../android-project/app/src/main/libs/armeabi-v7a/libSDL2.so' failed
make[2]: *** [../../../../../android-project/app/src/main/libs/armeabi-v7a/libSDL2.so] Error 1
makefile:70: recipe for target 'SDL2' failed
make[1]: *** [SDL2] Error 2
make[1]: *** Waiting for unfinished jobs....
Compiling src/mame/machine/mpu4.cpp...
Compiling src/devices/cpu/adsp2100/2100dasm.cpp...
Compiling src/mame/audio/madalien.cpp...
Compiling src/mame/drivers/instantm.cpp...

I was wondering if there is something else I need and if I do, how do I install it?. Can the Android build of Mame currently be built on Windows?.

User avatar
amaipaipai
Posts: 9
Joined: Fri Jul 21, 2017 11:16 am

Re: Compiling Android Mame on Windows 10.

Sat Jan 06, 2018 3:01 am

I don't understand any of that, but I'll give my 2 cents anyway.
Get a linux like Debian, Ubuntu, etc. And cross compile from it, Windows is a pain in the butt and is so damn slow.

Trick
Posts: 7
Joined: Fri Jul 01, 2016 6:49 am

Re: Compiling Android Mame on Windows 10.

Sun Jan 07, 2018 3:35 am

Thanks for the reply, amaipaipai. :D

Return to “MAME Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest