Open GoogleCodeExporter opened 9 years ago
I have the same problem. The ERROR info tells that the file 'file2str' in the
directory 'prec-build' is not available. I haven't solved this problem. I tried
to solve it in the following ways:
1. The author 'Seleuco' might have forgotten to upload 'file2str'? In Version
125 of SVN, I found there is 'prec-build/file2str' and the note says 'MAME4ios
1.3 WIP'. It seems to be specified for IOS. Therefore, it fails when I tried to
compfile it for Android.
2. Use build.mak to compile it, and then generate file2str.
I found that 'file2str.c' exists in 'src/build/', and there is a 'build.mak'. I
wonder whether it is possible to use this file to generate 'file2str'. When run
'make -f build.mak' directly, it failed.
3. Use gcc to comple .c files, and then generate file2str
using “gcc -c file2str -o file2str.o”, it generates “file2str.o”. I
tried to copy it to a new created 'prec-build' directory. However, it failed
when I run 'make' in the root directory.
4. Delete the following words in 'makefile', it occured 'Issue 251'
mkdir -p obj/droid-ios/mame/build
cp -R prec-build/file2str obj/droid-ios/mame/build
I will appreciate it if anybody could give me some suggestions!
Thank you!
Young
Original comment by zjybac...@gmail.com
on 9 Aug 2013 at 2:50
I have solved the issue.
cd src/build/
gcc file2str.c -o file2str
mkdir ../../prec-build
cp file2str ../../prec-build/
cp file2str ../../obj/droid-ios/mame64/build/
make
Then libMAME4all.so will be generated :)
Original comment by sdsdsd...@gmail.com
on 26 Aug 2013 at 10:39
The build tools (file2str, m68kmake, png2bdc, etc) are not compiled because
CROSS-BUILD value is set to 1 in makefile.
These tools work at only compiling imame4all, so should be compiled to work on
the build host.
You can prepare the tools with original mame-0.139u1 source code on the build
host.
1. Download zipped mame-0.139u1 source code from github and unzip it.
https://github.com/mamedev/mame/tree/mame0139u1
2. Change directory to top of the unzipped mame source tree.
3. Run make command with target "buildtools" (make buildtools)
4. You can see the tools you need in "obj/XXX/build" directory. In my case,
"obj/sdl/mame/build".
5. Copy or symbolic link the build directory to
path/to/imame4all-src-tree/prec-build directory.
6. Run make command at path/to/imame4all-src-tree. No editing makefile is
required.
I have tested with imame4all 1.6.1 source code and it works.
Original comment by Yuji.To...@gmail.com
on 9 Nov 2014 at 4:07
Original issue reported on code.google.com by
ma...@cngba.com
on 1 May 2013 at 5:23