Previous Thread
Next Thread
Print Thread
Page 28 of 44 1 2 26 27 28 29 30 43 44
Joined: Aug 2015
Posts: 406
Senior Member
Offline
Senior Member
Joined: Aug 2015
Posts: 406
I just did a rebase to MAME 166 and SUBTARGET seems to faint on me

$ make SUBTARGET=hk68v10 DRIVERS=src/mame/drivers/hk68v10.c REGENIE=1 DEBUG=1 -j9
make: *** No rule to make target `scripts/target/mame/hk68v10.lua', needed by `build/projects/sdl/mamehk68v10/gmake-linux/Makefile'. Stop.

This worked in MAME 165, has the syntax changed?

The usual 'make SUBTARGET=mess -j9' works though but takes for ever to complete after a clean.


Because I can
Joined: May 2004
Posts: 996
Likes: 103
D
Senior Member
Offline
Senior Member
D
Joined: May 2004
Posts: 996
Likes: 103

Joined: Aug 2015
Posts: 406
Senior Member
Offline
Senior Member
Joined: Aug 2015
Posts: 406
Ahh great, thx!


Because I can
Joined: Apr 2006
Posts: 812
Likes: 3
D
Senior Member
Offline
Senior Member
D
Joined: Apr 2006
Posts: 812
Likes: 3
Having a problem for two days.

Ever since I update the MinGW I getting errors. I even deleted it and start over from scratch. Still the same error. buildtools.bat doesn't even fix the issue.

It run make ok but it stop here at.

Archiving liboptional.a...
makefile:777: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2
Press any key to continue . . .

I open the Make.bat file and then added make clean. Clean also have the error too.

Cleaning...
process_begin: CreateProcess(NULL, rm -rf build, ...) failed.
make (e=2): The system cannot find the file specified.
makefile:1089: recipe for target 'clean' failed
make: [clean] Error 2 (ignored)

Is there anything I need to change in my Make.bat file?

@echo off
set MINGW64=E:\MAME\dev\buildtools\vendor\mingw64
set path=E:\MAME\dev\buildtools\vendor\mingw64\bin;E:\MAME\dev\buildtools\vendor\mingw64\x86_64-w64-mingw32\bin;E:\MAME\dev\buildtools\vendor\mingw64\opt\bin;E:\MAME\dev\buildtools\vendor\qt\mingw64\Qt\bin;
cd E:\MAME\dev\source
make -j6 PTR64=1 TOOLS=1 SYMBOLS=1 STRIP_SYMBOLS=1
pause

Works before I updated and re-downloaded the buildtools.


W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
Joined: Apr 2006
Posts: 812
Likes: 3
D
Senior Member
Offline
Senior Member
D
Joined: Apr 2006
Posts: 812
Likes: 3
Trying this out. http://www.mameworld.info/ubbthread...ew=&sb=5&o=&fpart=1&vc=1

@echo off
SET PROCESSOR_ARCHITECTURE=AMD64
call E:\MAME\dev\buildtools\vendor\env.bat
cd E:\MAME\dev\source
make -j6 PTR64=1 TOOLS=1 SYMBOLS=1 STRIP_SYMBOLS=1
pause

Hope this will fix the issue.

////////////////////////////////

Heh error pop up.

E:/MAME/dev/buildtools/vendor/mingw64/bin/../lib/gcc/x86Compiling src/devices/machine/jvsdev.c...
_64-w64-mingw32/5.2.0/../../../..Compiling src/mame/drivers/inufuku.c...
/x86_64-w64-mingw32/bin/ar.exe: unable to rename '../../../../mingw-gcc/bin/x64/Release/mame_mame/libyunsung.a'; reason: Permission denied
yunsung.make:245: recipe for target '../../../../mingw-gcc/bin/x64/Release/mame_mame/libyunsung.a' failed
make[2]: *** [../../../../mingw-gcc/bin/x64/Release/mame_mame/libyunsung.a] Error 1
makefile:370: recipe for target 'yunsung' failed
make[1]: *** [yunsung] Error 2
make[1]: *** Waiting for unfinished jobs....

I think that is why this came up.

Archiving liboptional.a...
makefile:777: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2


W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
Joined: Aug 2004
Posts: 1,458
Likes: 9
Very Senior Member
Offline
Very Senior Member
Joined: Aug 2004
Posts: 1,458
Likes: 9
Quote
Permission denied

File is read-only, or file is in use.

Most common fix: close windows explorer. It has a bug since windows 7 of grabbing random files, even if you never looked at them.

Joined: May 2004
Posts: 1,772
Likes: 34
H
Very Senior Member
Offline
Very Senior Member
H
Joined: May 2004
Posts: 1,772
Likes: 34
Originally Posted by Robbbert
Quote
Permission denied

File is read-only, or file is in use.

Most common fix: close windows explorer. It has a bug since windows 7 of grabbing random files, even if you never looked at them.

yeah I've seen it sometimes on Win7/10, I think some of it comes from the antivirus trying to scan a file at the same time, or windows indexing crap.

I've never seen them grab a file in a way that can't be resolved just by typing make again tho.

Joined: Apr 2006
Posts: 812
Likes: 3
D
Senior Member
Offline
Senior Member
D
Joined: Apr 2006
Posts: 812
Likes: 3
I kill that issue. Microsoft OneDrive was messing with it. Why would it be pointing at the drive E not C? Some weird shit Microsoft have done.

Edit... Remember close Microsoft OneDrive and then reboot before run make. All good on this part. Other word disabled it!

One problem left still. Moving it to drive C to test out.

Archiving liboptional.a...
makefile:777: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

///////////////////////////////

Moved buildtools and Source to C drive.

Made another Bat file with Kill command. I ran it first. Hope it killed stuff that might be messing with the files.

TASKKILL /f /im explorer.exe
START explorer.exe
START .
pause

Then I'm running the Run_Make.Bat file which was rename from Make.Bat.

Still running some test.

///////////////////////////////

All fix now. Problem solved. smile


W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
Joined: Sep 2008
Posts: 4
G
Member
Offline
Member
G
Joined: Sep 2008
Posts: 4
Is this the right forum for MAME compilation help? mamedev.org's developer forum is empty other than the version announcements and the support forum links here...

Same as Dullaron I can't compile 0.167.

D:\src\buildtools\mame>make TOOLS=1
Compiling 3rdparty/bgfx/src/renderer_d3d12.cpp...
In file included from ../../../../../3rdparty/bgfx/3rdparty/dxsdk/include/dxgi.h:143:0,
from ../../../../../3rdparty/bgfx/3rdparty/dxsdk/include/d3d12.h:168,
from ../../../../../3rdparty/bgfx/src/renderer_d3d12.h:12,
from ../../../../../3rdparty/bgfx/src/renderer_d3d12.cpp:9:
../../../../../3rdparty/bgfx/3rdparty/dxsdk/include/dxgitype.h:21:0: error: "DXGI_ERROR_INVALID_CALL" redefined
[-Werror]
# define DXGI_ERROR_INVALID_CALL MAKE_DXGI_HRESULT(1)
^
In file included from D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/winbase.h:2377:0,
from D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/windows.h:70,
from ../../../../../3rdparty/bx/include/bx/os.h:13,
from ../../../../../3rdparty/bgfx/src/bgfx_p.h:109,
from ../../../../../3rdparty/bgfx/src/renderer_d3d12.cpp:6:
D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/winerror.h:3446:0: note: this is the location of th
e previous definition

...snip about 40 additional redefinition notes

In file included from D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/winbase.h:2377:0,
from D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/windows.h:70,
from ../../../../../3rdparty/bx/include/bx/os.h:13,
from ../../../../../3rdparty/bgfx/src/bgfx_p.h:109,
from ../../../../../3rdparty/bgfx/src/renderer_d3d12.cpp:6:
D:/src/buildtools/vendor/mingw64/x86_64-w64-mingw32/include/winerror.h:3460:0: note: this is the location of th
e previous definition
#define DXGI_ERROR_REMOTE_OUTOFMEMORY _HRESULT_TYPEDEF_(0x887A0024)
^
cc1plus.exe: all warnings being treated as errors
bgfx.make:434: recipe for target '../../../../mingw-gcc/obj/x64/Release/3rdparty/bgfx/src/renderer_d3d12.o' fai
led
make[2]: *** [../../../../mingw-gcc/obj/x64/Release/3rdparty/bgfx/src/renderer_d3d12.o] Error 1
makefile:70: recipe for target 'bgfx' failed
make[1]: *** [bgfx] Error 2
makefile:764: recipe for target 'windows_x64' failed
make: *** [windows_x64] Error 2

D:\src\buildtools\mame>

Joined: Apr 2006
Posts: 812
Likes: 3
D
Senior Member
Offline
Senior Member
D
Joined: Apr 2006
Posts: 812
Likes: 3
You at the right place since MESS is part of MAME source now. Look like DirectX making errors on your end. Leaving the Dev on this one.


W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB
Page 28 of 44 1 2 26 27 28 29 30 43 44

Link Copied to Clipboard
Who's Online Now
2 members (AJR, Kale), 273 guests, and 1 robot.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,320
Posts121,923
Members5,074
Most Online1,283
Dec 21st, 2022
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com