Search the Community
Showing results for tags 'Compile'.
-
I'm at my wits end! I spent nearly allday yesterday trying to figure this one out, but no matter what i try, or what method i use i get the exact same error! And it relates to the driver model1.c. As you guys probably know i'm not a codie and so i have no idea what the error means other than it relates to that file. After hours of searching (no exagerating), the only info i found was this, but as you can see, the person who reported the problem is trying to build in linux. The linked error (is the same as mine): src/mame/video/model1.c: In function 'void draw_quads(model1_state*, bitmap_rgb32&, const rectangle&)':src/mame/video/model1.c:307:17: error: array subscript is above array bounds [-Werror=array-bounds] while(p[ps2+1].y == cury) ^src/mame/video/model1.c:319:17: error: array subscript is below array bounds [-Werror=array-bounds] while(p[ps1-1].y == cury) ^src/mame/video/model1.c:319:17: error: array subscript is below array bounds [-Werror=array-bounds]src/mame/video/model1.c:329:17: error: array subscript is above array bounds [-Werror=array-bounds] while(p[ps2+1].y == cury) ^src/mame/video/model1.c:329:17: error: array subscript is above array bounds [-Werror=array-bounds]Compiling src/mame/video/segag80v.c...src/mame/video/model1.c:305:17: error: array subscript is below array bounds [-Werror=array-bounds] while(p[ps1-1].y == cury)I've downloaded mame-source and mingw multiple times I start with fresh extraction of mame source every time The first few times i tried with my usual alterations to the source Then multiple times with zero alterations or diff's added I tried Headkaze's compiler too, and although it ploughs through the error, it ultimately still fails a few moments later everytime. Has the compile process changed? Or is there a real bug in the source? I tried to compile over 10 times (i can be determined when i want to be ) but i surrender. Please someone tell me they know what's going on here. Pleeeeeeeeeeeeeeeease EDIT - OK i just tried 32bit version to make sure it wasn't a 64 thing, and sure enough same error. I took a screenie this time though: SOLUTION: Do not use the "new" tools promoted on the official page - they cause errors. Instead use an earlier version - this version is proven to work: http://mamedev.org/downloader.php?file=tools/mingw-mame-20121207.exe You should point your grattitude to tthurman, otherwise known as Todd for finding this solution! It's all him! Thanks again man - you preserved my sanity
-
Hello and good morning/afternoon/evening! I recently updated my cab and instead of using pre-compiled versions of mame (mame32), I decided to compile my own version of Mame UI with hiscore support. I used Headkaze's MameCompiler64, and compiled Mame 136 with no errors. I couldn't find any of the update patches, but after googling around for awhile, I heard that the source code I downloaded from the MameDev website had the updates worked in. I also applied the hiscore.diff patch for 136 with no errors, and with using hiscore.dat, everything is working as it should...except for one thing - I cannot...for the life of me...get GameEx to show the High Scores within the game's menu. I enabled the high score support in the Mame Advance Config section using the Setup Wizard. The "High Score" section still does not appear within the game's info section (I tried Donkey Kong, Pacman, etc) and sometimes, HiToText seems to crash. Lol, I would normally upload my config ini and log files, but presently away from the cab at the moment and won't be able to return for another 8 or so hours. But, off the top of your heads, is there a step that I'm skipping somewhere?...does anyone else have this problem? Thanks in advance! LC