Frontend Tech + >> HBMAME / ARCADE64 / MESSUI
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

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


ARCADE 0.264.0 Fail to build
#398230 - 03/29/24 10:58 PM


I ran through my batch files that has been working for months to build the latest ARCADE build. With this release, it does all the compiling but then starts throwing errors when it gets to the final build step.

Is there anything different with this release that the process to build it changed?

The last few lines of my build attempt are below.


Code:

C:/mamedev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../../../../mingw-gcc/bin/x64/Release/mame_arcade/libcave.a(ep1c12.o):ep1c12.cpp:(.text$_ZN13ep1c12_device8gfx_drawEPj[_ZN13ep1c12_device8gfx_drawEPj]+0x6b8): undefined reference to `ep1c12_device::draw_sprite_f1_ti1_tr0_plain(bitmap_rgb32*, rectangle const*, unsigned int*, int, int, int, int, int, int, bool, unsigned char, unsigned char, ep1c12_device::clr_t const*)'C:/mamedev/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ../../../../mingw-gcc/bin/x64/Release/mame_arcade/libcave.a(ep1c12.o):ep1c12.cpp:(.text$_ZN13ep1c12_device8gfx_drawEPj[_ZN13ep1c12_device8gfx_drawEPj]+0x708): undefined reference to `ep1c12_device::draw_sprite_f0_ti1_tr0_plain(bitmap_rgb32*, rectangle const*, unsigned int*, int, int, int, int, int, int, bool, unsigned char, unsigned char, ep1c12_device::clr_t const*)'collect2.exe: error: ld returned 1 exit status
mamearcade.make:282: recipe for target '../../../../../arcade64.exe' failed
make[2]: *** [../../../../../arcade64.exe] Error 1
makefile:436: recipe for target 'mamearcade' failed
make[1]: *** [mamearcade] Error 2
makefile:1126: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2




Sthiryu
MAME Fan
Reged: 03/09/16
Posts: 117
Send PM


Re: ARCADE 0.264.0 Fail to build new [Re: Llaffer]
#398232 - 03/30/24 04:23 AM


Happened the same to me but got it working after the third attempt, don't know how, with the x86 version.



RETRODANUART.COM



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


Re: ARCADE64 0.264.0 Fail to build new [Re: Sthiryu]
#398234 - 03/30/24 06:44 AM


I guess I should mention that I'm trying to do the x64 build. Updated the subject with this reply.



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3200
Loc: A long way from you
Send PM


Re: ARCADE64 0.264.0 Fail to build new [Re: Llaffer]
#398235 - 03/30/24 06:58 AM


> I guess I should mention that I'm trying to do the x64 build. Updated the subject
> with this reply.

The partial build was broken by Kale/angelosa in https://github.com/mamedev/mame/commit/7db1458ca12b9ff77e0aefef2d85e14f1e75d8dd

Anyone can verify the problem by attempting to make a single-source cv1k build from standard mame.

There's various solutions but you can copy scripts/video.lua from my release into your build and it should work.



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


Re: ARCADE64 0.264.0 Fail to build new [Re: Robbbert]
#398237 - 03/30/24 04:46 PM


This is what I have in my batch file:


Code:

7z x arcade.7z -otemp docs\release > nul
xcopy temp\docs\release\src\* arcade\src /S/Y/Q
xcopy temp\docs\release\scripts\* arcade\scripts /S/Y/Q
xcopy temp\docs\release\makefile arcade /S/Y/Q



Well, before that is run, I pull vanilla mame from git, copy the contents into a new directory "arcade", then download the 7z file from your site, renaming it to just "arcade.7z".

Then I unzip it into a temp directory and copy the contents from "src", "scripts", and the makefile into that new source.

I'll try a shot at creating the source by hand vs. using my scripts to see if I have any better luck. These scripts have worked well for me for almost 2 years.



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


Re: ARCADE64 0.264.0 Fail to build new [Re: Robbbert]
#398239 - 03/30/24 10:42 PM


I started the manual-merge of the files from your .7z repository into the vanilla name source.

You mentioned that the problem file was a "video.lua" in the scripts/src directory and to make sure to replace it with yours.

But there is no video.lua file in the .7z file that I downloaded.

I only see "3rdparty.lua", "main.lua", and two additional directories.



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3200
Loc: A long way from you
Send PM


Re: ARCADE64 0.264.0 Fail to build new [Re: Llaffer]
#398241 - 03/31/24 03:53 AM Attachment: video_lua.zip 4 KB (3 downloads)


> I started the manual-merge of the files from your .7z repository into the vanilla
> name source.
>
> You mentioned that the problem file was a "video.lua" in the scripts/src directory
> and to make sure to replace it with yours.
>
> But there is no video.lua file in the .7z file that I downloaded.
>
> I only see "3rdparty.lua", "main.lua", and two additional directories.

Huh, the entire scripts folder is supposed to be available, but you're right, only a few files are there. I'll have to see what went wrong. So, I've attached the file here. It goes into .\scripts\src folder.



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


Re: ARCADE64 0.264.0 Fail to build new [Re: Robbbert]
#398242 - 03/31/24 04:52 AM


Thanks. I'll give this a build.



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


Re: ARCADE64 0.264.0 Fail to build new [Re: Robbbert]
#398243 - 03/31/24 08:12 AM


That worked. Thanks.


Pages: 1

Frontend Tech + >> HBMAME / ARCADE64 / MESSUI
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

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