Hi,
Could someone please help with compiling mame 154s? I'm running XP SP3 (32-bit) and 32-bit mingw (ming-mame-w32-20140905.exe).
I followed Mr.Do's steps and patched the hi_154.diff. It runs a long time and then the error below occurs. I observed that the path advice was incorrect in Mr.Do's steps as make.exe was found in c:\mingw\bin, where c:\mingw\mingw64-w32\bin is an empty folder. I'm pretty sure my path correction is correct since make is not found and errors out quickly otherwise.
Update: I have now tried starting over without any diffs and the same error occurs.
Update 2: I observed that Mr.Do's screenshot showed "make -j5" where makemame.bat calls "make -j3". I tried changing this and the error received was only slightly different (these 2 lines: makefile:909: recipe for target 'obj/windows/mame/video/model1.o' failed
make: *** [obj/windows/mame/video/model1.o] Error 1L
--COMPILE ERRORS (save me!!!):
Compiling src/mame/drivers/model2.c...
src/mame/video/model1.c: In function 'void draw_quads(model1_state*, bitmap_rgb3
2&, const rectangle&)':
src/mame/video/model1.c:307:17: error: array subscript is above array bounds [-W
error=array-bounds]
while(p[ps2+1].y == cury)
^
src/mame/video/model1.c:319:17: error: array subscript is below array bounds [-W
error=array-bounds]
while(p[ps1-1].y == cury)
^
src/mame/video/model1.c:319:17: error: array subscript is below array bounds [-W
error=array-bounds]
src/mame/video/model1.c:329:17: error: array subscript is above array bounds [-W
error=array-bounds]
while(p[ps2+1].y == cury)
^
src/mame/video/model1.c:329:17: error: array subscript is above array bounds [-W
error=array-bounds]
src/mame/video/model1.c:305:17: error: array subscript is below array bounds [-W
error=array-bounds]
while(p[ps1-1].y == cury)
^
Compiling src/mame/video/model2.c...
cc1plus.exe: all warnings being treated as errors
makefile:909: recipe for target 'obj/windows64/mame/video/model1.o' failed
make: *** [obj/windows64/mame/video/model1.o] Error 1
make: *** Waiting for unfinished jobs....
I found this on a random google search but i think it is for a different symptom (and on linux!)
Troubleshoot
Q: When compiling I get error ompiling src/emu/video/9927tms9927.c... cc1plus: warnings being treated as errors src/emu/video/tms9927.c: In function 'void generic_access(const device_config*, offs_t)': src/emu/video/tms9927.c:142: error: array subscript is above array bounds. What should I do?
A: Edit the makefile and uncomment and edit the line
OPTIMIZE=0
Retrieved from "
http://www.mohid.com/wiki/index.php?title=Mame"
Category: Linux
Any help is graciously appreciated!!!
D.