MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

AtomR
MAME Fan
Reged: 11/21/11
Posts: 3
Send PM


Problem compiling MAME
#304685 - 02/21/13 05:15 PM


Hey guys,

I have been trying for over a week to compile mame and although i've had some success I am still going through a few problems that I find perplexing and would like the input of someone who might be more experienced then myself in this task.

Long story short after a few failed attempts I started using quickmame.exe to compile mame. I managed to sucessfully compile versions 0.145 to 0.147 but in all of them I have the same problem. I get an ACCESS VIOLATION when trying to start MAME in windowed mode. Either using the command line option to start in windowed or using alt+enter to switch to window mode at runtime.
Here is an example of the stack trace of the error.

Code:


-----------------------------------------------------
Exception at EIP=01C91CC8 (not found): ACCESS VIOLATION
While attempting to read memory at FFFFFFFF
-----------------------------------------------------
EAX=00000000 EBX=00000000 ECX=00000005 EDX=0000027F
ESI=000001DF EDI=00000000 EBP=0028AE50 ESP=0028ADA8
-----------------------------------------------------
Stack crawl:
0028AE50: 01C91CC8 (not found)
0028AEA4: 0134D5C1 (not found)
0028AF74: 77B41581 (RtlDosApplyFileIsolationRedirection_Ustr+0x0342)
0028B2A0: 77B40D5A (RtlWow64EnableFsRedirectionEx+0x0051)
0028B2D0: 760EEC02 (ChangeDisplaySettingsExA+0x009d)
00000000: 7598E67B (GetProcAddressForCaller+0x0058)



About a year ago or so I managed to compile version 0.144 successfully and without window mode problems and so I tried compiling it again thinking that maybe this is a problem with recent versions of mame. I haven't been able to compile using the commandline MinGW, but it does compile with quickmame, however when running it, it complains that it lacks libc++-6.dll. Any ideas on what I can do to solve any of these problems because I'm going nuts.

Thank you.



Mamesick
Troll Lamer
Reged: 09/21/03
Posts: 1649
Loc: Italy
Send PM


Re: Problem compiling MAME new [Re: AtomR]
#304689 - 02/21/13 06:09 PM


Even if a bit outdated, perhaps you should have a look here:
http://mrdo.mameworld.info/compile.php
What's QuickMAME?
In any case, the problem seems on your end, maybe DirectX or the drivers of your Video Card. I recall I had to update my ATI Drivers when some relevant changes in HLSL have been introduced (around 0.147 IIRC). Just a thought.



AtomR
MAME Fan
Reged: 11/21/11
Posts: 3
Send PM


Re: Problem compiling MAME new [Re: Mamesick]
#304752 - 02/22/13 12:30 PM


Hey,

Thanks for your help. I had checked and followed that site's advice and it still didn't work.

QuickMAME is a GUI application that downloads mame for you, downloads and sets up MinGW and allows you to choose your targetos, your achitecture, etc and then compiles mame with the click of a button. Very handy and it's quite verbose so I could "learn" what parameters to use when manually compiling mame. I have managed to compile it manualy and the problem persists. I'm not sure if it could be a graphics driver problem because i'm doing this on two completely different computers simultaneously with the same results. A Win8 computer with an i5 and an ATI, and a win7 core 2 duo with a GForce.

Sigh



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Problem compiling MAME new [Re: AtomR]
#304767 - 02/22/13 07:00 PM


Your problem is not with compiling MAME, it is with running it.

But just so we can completely rule out the compile, do the official binaries from mamedev.org work?



StilettoAdministrator
They're always after me Lucky ROMS!
Reged: 03/07/04
Posts: 6472
Send PM


Re: Problem compiling MAME new [Re: R. Belmont]
#304771 - 02/22/13 07:33 PM


> Your problem is not with compiling MAME, it is with running it.
>
> But just so we can completely rule out the compile, do the official binaries from
> mamedev.org work?

Assuming they do, my money's on this "QuickMAME" applying some screwy compiler flags... it's just like MAMECompiler64 or whatever...

OP: BTW, in case it is a QuickMAME problem, official support thread is here:
http://www.hyperspin-fe.com/forum/showthread.php?14925-Mame-Compiler-100-Automated

- Stiletto


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 432 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2557