Frontend Tech + >> MAMEUI & IV/Play
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

no1453
MAME Fan
Reged: 12/06/14
Posts: 8
Send PM


Problem compiling mameui 167 from github
#347133 - 11/18/15 02:46 AM


I made sure my mame buildtools were updated, and cloned the Github repo for mameui, but when I try to compile, it keeps stopping at compiling src/osd/winui/mui_audit.cpp.

The output says

Code:

Compiling src/osd/winui/mui_audit.cpp...
In file included from ../../../../../src/emu/emu.h:59:0,
from ../../../../../src/osd/winui/winui.h:10,
from ../../../../../src/osd/winui/mui_audit.cpp:24:
../../../../../src/emu/device.h:137:45: error: expected identifier before '(' token
template bool interface(_DeviceClass *&intf) { intf = dynamic_cast<_DeviceClass *>(this); return (intf != NULL); }



with, of course, cascading errors after that.

I was just wondering, being fairly new to Git, are clones supposed to be stable, or am I seeing some problem that's already being worked on? Basically, is it odd that I'm getting compile errors? Thanks for any advice.

Edited by no1453 (11/18/15 03:14 AM)



Robbbert
Reged: 08/21/04
Posts: 2481
Loc: Land of Oz
Send PM


Re: Problem compiling mameui 167 from github new [Re: no1453]
#347134 - 11/18/15 03:13 AM


-



no1453
MAME Fan
Reged: 12/06/14
Posts: 8
Send PM


Re: Problem compiling mameui 167 from github new [Re: Robbbert]
#347135 - 11/18/15 04:14 AM


Thanks, I'll try the old tools.



no1453
MAME Fan
Reged: 12/06/14
Posts: 8
Send PM


Re: Problem compiling mameui 167 from github new [Re: Robbbert]
#347154 - 11/19/15 12:27 AM


Installed and used a fresh set of the "previous" mame tools, and the mysterious compile errors went away. However, I do still get a build error near the end:


Code:

make[2]: *** No rule to make target '../../../../generated/resource/mamevers.rc', needed by '../../../../mingw-gcc/obj/x64/Release/mame.res'.  Stop.
make[2]: *** Waiting for unfinished jobs....
Compiling generated/mame/arcade/drivlist.cpp...
makefile:379: recipe for target 'mamearcade' failed
make[1]: *** [mamearcade] Error 2
makefile:782: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2



This is right after starting to compile version.cpp. I downloaded a fresh copy of the repo and tried comiling again, to be sure, and the same error appears. Not expecting any fix, just wanted to mention it. Please let me know if there is a more appropriate thread to put this in.



Robbbert
Reged: 08/21/04
Posts: 2481
Loc: Land of Oz
Send PM


Re: Problem compiling mameui 167 from github new [Re: no1453]
#347236 - 11/21/15 07:17 AM


-



MASH
MASH
Reged: 09/26/03
Posts: 1610
Loc: Germany
Send PM


Re: Fix new [Re: no1453]
#347259 - 11/21/15 11:49 PM


> I made sure my mame buildtools were updated, and cloned the Github repo for mameui,
> but when I try to compile, it keeps stopping at compiling
> src/osd/winui/mui_audit.cpp.
>
> The output says
> Compiling src/osd/winui/mui_audit.cpp...
> In file included from ../../../../../src/emu/emu.h0,
> from ../../../../../src/osd/winui/winui.h:10,
> from ../../../../../src/osd/winui/mui_audit.cpp
> ../../../../../src/emu/device.h45: error: expected identifier before '(' token
> template bool interface(_DeviceClass *&intf) { intf = dynamic_cast<_DeviceClass
> *>(this); return (intf != NULL); }
>
> with, of course, cascading errors after that.
>
> I was just wondering, being fairly new to Git, are clones supposed to be stable, or
> am I seeing some problem that's already being worked on? Basically, is it odd that
> I'm getting compile errors? Thanks for any advice.


I had the same problem here. I fixed it by moving "#include richedit.h"
at line 17 in winui\mui_audit.cpp after #include "properties.h" line 31.

M*A*S*H



no1453
MAME Fan
Reged: 12/06/14
Posts: 8
Send PM


Re: Problem compiling mameui 167 from github new [Re: Robbbert]
#347304 - 11/23/15 03:55 AM


Thanks for the idea. I'm testing it out now; I'll update my comment with the result when it finishes.



no1453
MAME Fan
Reged: 12/06/14
Posts: 8
Send PM


Re: Problem compiling mameui 167 from github new [Re: no1453]
#347329 - 11/23/15 05:14 PM


Well, I finally compiled mamae64.exe, and right near the end it says "Emitting mamevers.rc", so I think that was indeed the problem. Thanks again!



no1453
MAME Fan
Reged: 12/06/14
Posts: 8
Send PM


Re: Fix new [Re: MASH]
#347330 - 11/23/15 05:17 PM


Thanks for the fix, I'll try it out, also.


Pages: 1

Frontend Tech + >> MAMEUI & IV/Play
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  John IV 
0 registered and 5 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2763