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

Pages: 1

Llaffer
MAME Fan
Reged: 05/04/11
Posts: 171
Send PM


Problem compiling MAMEUI 0.161
#339495 - 05/02/15 08:51 AM


I get similar errors when compiling 64-bit and 32-bit.

Using the latest dev tools, pulled the 0.161 MAME source through git, and the UI source from mameui.info.

I'm getting this error on mui_audio.c:

64-bit compile:

Code:

../../../../../src/osd/winui/mui_audit.c: In function 'int MameUIVerifyRomSet(int, bool)':
../../../../../src/osd/winui/mui_audit.c:169:11: error: 'class media_auditor' has no member named 'winui_summarize'
auditor.winui_summarize(driver_list::driver(game).name, &summary_string); // audit all games
^
osd_winui.make:923: recipe for target '../../../../mingw-gcc/obj/x64/Release/osd_winui/src/osd/winui/mui_audit.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/osd_winui/src/osd/winui/mui_audit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
makefile:16: recipe for target 'osd_winui' failed
make[1]: *** [osd_winui] Error 2
make[1]: *** Waiting for unfinished jobs....
makefile:669: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2



32-bit compile:

Code:

../../../../../src/osd/winui/mui_audit.c: In function 'int MameUIVerifyRomSet(int, bool)':
../../../../../src/osd/winui/mui_audit.c:169:11: error: 'class media_auditor' has no member named 'winui_summarize'
auditor.winui_summarize(driver_list::driver(game).name, &summary_string); // audit all games
^
osd_winui.make:923: recipe for target '../../../../mingw-gcc/obj/x32/Release/osd_winui/src/osd/winui/mui_audit.o' failed
make[2]: *** [../../../../mingw-gcc/obj/x32/Release/osd_winui/src/osd/winui/mui_audit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
makefile:16: recipe for target 'osd_winui' failed
make[1]: *** [osd_winui] Error 2
make[1]: *** Waiting for unfinished jobs....
makefile:686: recipe for target 'windows_x86' failed
make: *** [windows_x86] Error 2



Any thoughts?



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


Re: Problem compiling MAMEUI 0.161 new [Re: Llaffer]
#339496 - 05/02/15 10:39 AM Attachment: audit.zip 6 KB (51 downloads)





Llaffer
MAME Fan
Reged: 05/04/11
Posts: 171
Send PM


Re: Problem compiling MAMEUI 0.161 new [Re: Robbbert]
#339500 - 05/02/15 04:11 PM


Thanks. I've applied them into my batch file process and recompiling now to see if it will work or not. I'll come back with new error messages if they fail.



redk9258
Regular
Reged: 09/21/03
Posts: 3964
Loc: Troy, Illinois USA
Send PM


Re: Problem compiling MAMEUI 0.161 new [Re: Llaffer]
#339502 - 05/02/15 04:52 PM


Yes, this was my problem. Thanks Robbert!!! All fixed up. Now a little cleanup.



Llaffer
MAME Fan
Reged: 05/04/11
Posts: 171
Send PM


Re: Problem compiling MAMEUI 0.161 new [Re: Llaffer]
#339511 - 05/02/15 07:40 PM


I checked the results of the last compile and here's what seems to have happened:

It did get past where it failed before, but failed in the linking of both the 32-bit and 64-bit versions:

32-bit:

Code:

Linking mameui.exe...
../../../../mingw-gcc/bin/x32/Release/libosd_winui.a(mui_audit.o):mui_audit.c:(.text+0x7d1): undefined reference to `media_auditor::winui_summarize(char const*, std::string*)'
collect2.exe: error: ld returned 1 exit status
mame.make:225: recipe for target '../../../../../mameui.exe' failed
make[2]: *** [../../../../../mameui.exe] Error 1
makefile:373: recipe for target 'mame' failed
make[1]: *** [mame] Error 2
makefile:686: recipe for target 'windows_x86' failed
make: *** [windows_x86] Error 2



64-bit:

Code:

Linking mameui64.exe...
../../../../mingw-gcc/bin/x64/Release/libosd_winui.a(mui_audit.o):mui_audit.c:(.text+0x691): undefined reference to `media_auditor::winui_summarize(char const*, std::string*)'
collect2.exe: error: ld returned 1 exit status
mame.make:225: recipe for target '../../../../../mameui64.exe' failed
make[2]: *** [../../../../../mameui64.exe] Error 1
makefile:373: recipe for target 'mame' failed
make[1]: *** [mame] Error 2
makefile:669: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2




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


Re: Problem compiling MAMEUI 0.161 new [Re: Llaffer]
#339518 - 05/02/15 11:26 PM





Llaffer
MAME Fan
Reged: 05/04/11
Posts: 171
Send PM


Re: Problem compiling MAMEUI 0.161 new [Re: Robbbert]
#339524 - 05/03/15 02:11 AM


OK. With the whole "obj" directory separating each build, I've never had to use "make clean" before, I just deleted that directory and let it rebuild itself.

So I've added a "make clean" before each of the subsequent "make" commands and will let it run, then when I get home, I'll check to see if it completed.

Thanks again.



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


Re: Problem compiling MAMEUI 0.161 new [Re: Llaffer]
#339532 - 05/03/15 04:53 AM





Llaffer
MAME Fan
Reged: 05/04/11
Posts: 171
Send PM


Re: Problem compiling MAMEUI 0.161 new [Re: Robbbert]
#339539 - 05/03/15 06:38 AM


All is good now. I was able to get a compile of all four versions for windows using my one batch file.

Thanks for the help.



Ashura-X
MAME Compiler!
Reged: 01/22/04
Posts: 360
Send PM


Re: Problem compiling MAMEUI 0.161 new [Re: Llaffer]
#339908 - 05/11/15 08:08 PM


I´m getting the same problem here trying to compile the mamePLUS stuff...



ChainSmokerTFK
MAME Fan
Reged: 05/04/17
Posts: 2
Send PM


Re: Problem compiling MAMEUI 0.161 new [Re: Ashura-X]
#365709 - 05/05/17 12:36 AM


I'm having the same issue when it gets to avhuff.c or avhuff.d, pulling my hair out. this is literally my first time compiling a program.


Pages: 1

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

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