localhost-007 / imame4all

Automatically exported from code.google.com/p/imame4all
0 stars 0 forks source link

Compilation for Android (Need HOWTO) #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I decided, for various reasons, to compile my own build of MAME4Droid.

A few problems are obviously with me, rather than the app and source: I'm a 
beginning programmer. Take from that pretty much everything you can because 
what you do take from it is probably true. Oh, and I'm using Windows 7 rather 
than a Linux. (At least I figured out that I have to use Cygwin.)

I was able to build libmame4all-jni.so and libMAME4all.so for the libs/armeabi 
folder. (At least, I think the libMAME4all.so is for armeabi rather than 
armeabi-v7a. Cygwin didn't exactly put it into that folder.)

I also refactored the source code packages, so that my build wouldn't overwrite 
the one from the Market.

After that... I'm stuck. I can build, and the build doesn't spit out an error. 
But it doesn't put in the .so files. I'll still try to figure this out on my 
own. Honestly though, the project wiki could very well use some instructions on 
compiling for Android.

(I know this is getting put in as a Defect when it's probably best as 
Enhancement, but issue submission doesn't offer me the choice.)

For the tl;dr people:
I can't figure out how to compile MAME4Droid. Can a guide please get put in the 
wiki? (And could it be as valid for Windows+Cygwin as for Linux please?)

Original issue reported on code.google.com by tiza...@gmail.com on 11 Dec 2011 at 3:12

GoogleCodeExporter commented 9 years ago
sorry... i compile with a linux toolchain...

its not vey difficult to build mame4droid... you must use makefile to build .so 
file and ndk build to make jni wrapper....

Original comment by seleuco....@gmail.com on 22 Dec 2011 at 6:44