Previous Thread
Next Thread
Print Thread
#123295 02/28/24 05:31 PM
Joined: Dec 2014
Posts: 59
H
Member
OP Offline
Member
H
Joined: Dec 2014
Posts: 59
Hi,

I was compiling MAME .263 for Intel Macs and it stopped with theses errors -



Compiling src/devices/machine/pccard_sram.cpp...
In file included from ../../../../../src/devices/machine/ns32382.cpp:18:
../../../../../src/devices/machine/ns32382.h:23:14: error: 'read_st32' marked 'override' but does not override any member functions
virtual u32 read_st32(int *icount = nullptr) override;
^
../../../../../src/devices/machine/ns32382.h:24:15: error: 'write' marked 'override' but does not override any member functions
virtual void write(u32 data) override;
^
../../../../../src/devices/machine/ns32382.h:25:14: error: 'read' marked 'override' but does not override any member functions
virtual u32 read() override;
^
In file included from ../../../../../src/devices/machine/ns32382.cpp:1:
In file included from /Users/Es/mame-master/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/emu.h:24:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/list:204:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__memory/unique_ptr.h:686:30: error: allocating an object of abstract class type 'ns32382_device'
return unique_ptr<_Tp>(new _Tp(_VSTD::forward<_Args>(__args)...));
^
In file included from ../../../../../src/devices/machine/ns32382.cpp:1:
In file included from /Users/Es/mame-master/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/emu.h:62:
/Users/Es/mame-master/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/device.h:191:15: note: in instantiation of function template specialization 'std::make_unique<ns32382_device, const machine_config &, const char *&, device_t *&, unsigned int &>' requested here
return std::make_unique<DeviceClass>(mconfig, tag, owner, clock);
^
/Users/Es/mame-master/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/device.h:232:16: note: in instantiation of function template specialization 'emu::detail::device_type_impl_base::create_device<ns32382_device>' requested here
: m_creator(&create_device<DeviceClass>)
^
../../../../../src/devices/machine/ns32382.cpp:26:1: note: in instantiation of function template specialization 'emu::detail::device_type_impl_base::device_type_impl_base<ns32382_device, (anonymous namespace)::NS32382_device_traits::shortname, (anonymous namespace)::NS32382_device_traits::fullname, (anonymous namespace)::NS32382_device_traits::source>' requested here
DEFINE_DEVICE_TYPE(NS32382, ns32382_device, "ns32382", "National Semiconductor 32382 Memory Management Unit")
^
In file included from ../../../../../src/devices/machine/ns32382.cpp:1:
In file included from /Users/Es/mame-master/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/emu.h:62:
/Users/Es/mame-master/build/projects/sdl/mame/gmake-osx-clang/../../../../../src/emu/device.h:407:53: note: expanded from macro 'DEFINE_DEVICE_TYPE'
emu::detail::device_type_impl<Class> const Type = device_creator<Class, (Type##_device_traits::shortname), (Type##_device_traits::fullname), (Type##_device_traits::source)>; \
^
In file included from ../../../../../src/devices/machine/ns32382.cpp:18:
In file included from ../../../../../src/devices/machine/ns32382.h:9:
../../../../../src/devices/cpu/ns32000/common.h:117:14: note: unimplemented pure virtual method 'fast_status' in 'ns32382_device'
virtual u32 fast_status(int *icount = nullptr) = 0;
^
../../../../../src/devices/cpu/ns32000/common.h:118:14: note: unimplemented pure virtual method 'fast_read' in 'ns32382_device'
virtual u32 fast_read() = 0;
^
../../../../../src/devices/cpu/ns32000/common.h:119:15: note: unimplemented pure virtual method 'fast_write' in 'ns32382_device'
virtual void fast_write(u32 data) = 0;
^
4 errors generated.
make[2]: *** [../../../../osx_clang/obj/x64/Release/src/devices/machine/ns32382.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [optional] Error 2
make: *** [macosx_x64_clang] Error 2


Joined: May 1999
Posts: 613
Likes: 1
Senior Member
Online Content
Senior Member
Joined: May 1999
Posts: 613
Likes: 1
FWIW, I just did the same successfully (and the resulting executable runs just fine) on an iMac Pro. Maybe try redownloading the source, don't touch anything inside unless you enjoy the wrath of Vas and try again?

Joined: Dec 2014
Posts: 59
H
Member
OP Offline
Member
H
Joined: Dec 2014
Posts: 59
Ok I'll redownload and see what happens. Yeah I don't touch anything, just get to code and compile.

Joined: Mar 2001
Posts: 17,137
Likes: 163
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,137
Likes: 163
Were you getting the actual release source? Random Github pulls may not always compile on everything, although we obviously discourage that.

Joined: Dec 2014
Posts: 59
H
Member
OP Offline
Member
H
Joined: Dec 2014
Posts: 59
I downloaded the mame-master.zip, did I download the wrong thing ?

Joined: Mar 2001
Posts: 17,137
Likes: 163
R
Very Senior Member
Offline
Very Senior Member
R
Joined: Mar 2001
Posts: 17,137
Likes: 163
You want to go to the release page at https://github.com/mamedev/mame/releases/tag/mame0263 and get the source code (either the zip or the .tar.gz, whichever you're more comfortable with extracting).

Joined: Dec 2014
Posts: 59
H
Member
OP Offline
Member
H
Joined: Dec 2014
Posts: 59
Ah ok, sorry my fault. I had thought the master was it. Ok I'll give that ago.


Thanks.

Joined: Dec 2014
Posts: 59
H
Member
OP Offline
Member
H
Joined: Dec 2014
Posts: 59
Ok got it compiled and uploaded.

For Intel Macs:
https://mega.nz/folder/4vlACAYK#9T4p7v4gwSaDzzoY8XGBpw


Thanks


Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
2 members (box, Luengo), 44 guests, and 5 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,273
Posts121,387
Members5,064
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