Build Your Own Arcade Controls Forum
Software Support => GroovyMAME => Topic started by: retrorepair on August 23, 2012, 01:56:23 am
-
So I'm trying to compile the latest groovymame diff on the googlecode page and it's giving me this error:
....
Compiling src/osd/windows/drawnone.c...
Compiling src/osd/windows/input.c...
Compiling src/osd/windows/output.c...
Compiling src/osd/windows/sound.c...
Compiling src/osd/windows/video.c...
Compiling src/osd/windows/window.c...
src/osd/windows/window.c: In function 'void winwindow_video_window_update_hi(win
_window_info*)':
src/osd/windows/window.c:984:27: error: variable 'primlist' set but not used [-W
error=unused-but-set-variable]
cc1plus.exe: all warnings being treated as errors
make: *** [obj/windows/osd/windows/window.o] Error 1
P:\mamedev\mamesrc>
I applied all the patches in order, I tried vanilla 146 diffs and the diffs up to u4, still gives me the same error. I'd try an older version but I think that'd fail for other reasons due to the newer toolchain.
I'm applying the patches using mame compiler 64 but as it fails to compile before it even looks at a bit of the source giving me this error:
Compiling Mame...
Using Parameters OSD=windows TARGETOS=win32 -j3 ARCHOPTS=-march=core2
make: *** windows32_openpipe(): DuplicateHandle(In) failed (e=6)
. Stop.
Finished!
0 Hours 0 Minutes and 0 Seconds Elapsed.
I'm using the normal cmd "make".
I'm only wanting to get it to compile so I can take a look at playing with one of the drivers. It has to be groovymame for what I have in mind too.
Any ideas what's gone wrong here? I've wasted about 7 hours on this so far and I've not even started what I wanted to do.
-
Hi retrorepair,
Make sure to use Mame Compiler 64 v1.22 for building 0.146u4. It will build with that one, that's for sure.
They happen to have changed the tool chain some days ago, for version 0.146u5, that's all. Sorry for that.
-
Ah that explains it, thanks Calamity, I'll give it a go.
Thanks for the quick reply too :)
-
Ok, using the latest toolchain and MAMECompiler 1.3, now I get this error again:
Compiling Mame...
Using Parameters -j5 TARGETOS=win32 TARGET=mame OSD=windows ARCHOPTS=-march=native PTR64=1 NOWERROR=1
make: *** windows32_openpipe(): DuplicateHandle(In) failed (e=6)
. Stop.
Finished!
0 Hours 0 Minutes and 0 Seconds Elapsed.
The mingw release is 20121207
-
Never mind, apparently numbers mean nothing. Downloaded the exact same version of mingw from Headkaze's website and that one works fine. :dunno
http://headsoft.com.au/index.php?category=mame&page=mc64 (http://headsoft.com.au/index.php?category=mame&page=mc64)
-
Could Headkaze be using custom mingw packages?
-
I think he is, at least I needed his linked mingw package to compile. Would be nice if he noted that if it's the case as it can get a bit confusing.
BTW I now have a new problem:
src/emu/hiscore.c: In function 'void copy_to_memory(running_machine&, int, int, const UINT8*, int)':
src/emu/hiscore.c:66:57: error: cannot convert 'address_space' to 'address_space*' in assignment
src/emu/hiscore.c:75:60: error: cannot convert 'address_space' to 'address_space*' in assignment
src/emu/hiscore.c:76:46: error: cannot convert 'address_space' to 'address_space*' in assignment
src/emu/hiscore.c:103:60: error: cannot convert 'address_space' to 'address_space*' in assignment
src/emu/hiscore.c: In function 'void copy_from_memory(running_machine&, int, int, UINT8*, int)':
src/emu/hiscore.c:117:58: error: cannot convert 'address_space' to 'address_space*' in assignment
src/emu/hiscore.c:121:61: error: cannot convert 'address_space' to 'address_space*' in assignment
src/emu/hiscore.c: In function 'int safe_to_load(running_machine&)':
src/emu/hiscore.c:216:65: error: cannot convert 'address_space' to 'address_space*' in assignment
src/emu/hiscore.c:220:68: error: cannot convert 'address_space' to 'address_space*' in assignment
src/emu/hiscore.c: In function 'void hiscore_init(running_machine&)':
src/emu/hiscore.c:361:56: error: base operand of '->' has non-pointer type 'address_space'
src/emu/hiscore.c:364:56: error: base operand of '->' has non-pointer type 'address_space'
src/emu/hiscore.c:371:59: error: base operand of '->' has non-pointer type 'address_space'
src/emu/hiscore.c:374:60: error: base operand of '->' has non-pointer type 'address_space'
make: *** [obj/windows64/emu/hiscore.o] Error 1
make: *** Waiting for unfinished jobs....
Before this it rejected a hunk from the hiscore patch 147 and this is the rejected code:
***************
*** 305,311 ****
}
state.mem_range = NULL;
- emu_file f(OPEN_FLAG_READ);
filerr = f.open("hiscore", ".dat");
if(filerr == FILERR_NONE)
--- 305,311 ----
}
state.mem_range = NULL;
+ emu_file f(machine.options().hiscore_directory(), OPEN_FLAG_READ);
filerr = f.open("hiscore", ".dat");
if(filerr == FILERR_NONE)
Odd since I've got the 147 mame source and applied u1-u3 then hiscore patch 147. This should work shouldn't it? I can't see MAMECompiler being the cause if it's just patching?
-
http://forum.arcadecontrols.com/index.php/topic,128907.msg1326612.html#msg1326612 (http://forum.arcadecontrols.com/index.php/topic,128907.msg1326612.html#msg1326612)
-
Awesome, looks like that did the trick :cheers: