Software Support > GroovyMAME

Compile failed

(1/2) > >>

retrorepair:
So I'm trying to compile the latest groovymame diff on the googlecode page and it's giving me this error:


--- Code: ---....
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>
--- End code ---

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:


--- Code: ---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.
--- End code ---

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.

Calamity:
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.

retrorepair:
Ah that explains it, thanks Calamity, I'll give it a go.

Thanks for the quick reply too :)

retrorepair:
Ok, using the latest toolchain and MAMECompiler 1.3, now I get this error again:


--- Code: ---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.
--- End code ---

The mingw release is 20121207

retrorepair:
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

Navigation

[0] Message Index

[#] Next page

Go to full version