|
|
Joined: Sep 2000
Posts: 258
Senior Member
|
Senior Member
Joined: Sep 2000
Posts: 258 |
macOS 15.1 beta 2 of Sequoia on MacMini with M2
will@Will-MacMiniM2 mame0269s % make
Clang 16.0.0 detected
Precompiling src/emu/emu.h...
In file included from ../../../../../src/emu/emu.h:22:
../../../../../src/emu/emufwd.h:19:10: fatal error: 'type_traits' file not found
19 | #include <type_traits>
| ^~~~~~~~~~~~~
1 error generated.
make[2]: *** [../../../../osx_clang/obj/x64/Release/emu.h.gch] Error 1
make[1]: *** [precompile] Error 2
make: *** [macosx_arm64_clang] Error 2
=will=
|
|
|
|
Joined: Feb 2004
Posts: 2,626 Likes: 332
Very Senior Member
|
Very Senior Member
Joined: Feb 2004
Posts: 2,626 Likes: 332 |
Something is very wrong with you C++ standard library.
|
|
|
|
Joined: Sep 2000
Posts: 258
Senior Member
|
Senior Member
Joined: Sep 2000
Posts: 258 |
Not sure what that means. I'm not messing with any libraries.
Could it be the version of Clang running beta macOS? Could it be the SDL framework? I have SDL2-2.30.7
=will=
|
|
|
|
Joined: May 1999
Posts: 619 Likes: 1
Senior Member
|
Senior Member
Joined: May 1999
Posts: 619 Likes: 1 |
FWIW, compiling on my Mac mini M1 runnig beta 6 of Sequoia works and MAME runs just fine.
|
|
|
|
Joined: Feb 2004
Posts: 2,626 Likes: 332
Very Senior Member
|
Very Senior Member
Joined: Feb 2004
Posts: 2,626 Likes: 332 |
The <type_traits> has been part of the C++ standard library since C++11 over a decade ago. Something is very wrong if it isn’t there.
|
|
|
|
Joined: Mar 2001
Posts: 17,258 Likes: 267
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,258 Likes: 267 |
I compile daily on my M3 Max running Sonoma. Will be swapping over to the developer beta of Sequoia tomorrow.
|
|
|
|
Joined: Sep 2000
Posts: 258
Senior Member
|
Senior Member
Joined: Sep 2000
Posts: 258 |
So it's a problem with Clang 16, which is command line tools update for Sequoia 15.1 beta.
I uninstalled command line tools and installed Clang 15 and was able to compile.
=will=
|
|
|
|
Joined: Sep 2000
Posts: 258
Senior Member
|
Senior Member
Joined: Sep 2000
Posts: 258 |
FWIW, compiling on my Mac mini M1 runnig beta 6 of Sequoia works and MAME runs just fine. You must be on the macOS 15.0 beta, I'm running 15.1 beta 3 that includes Apple Intelligence. the command line tools update uses Clang 16 which won't compile. I'm back to Clang 15 which works.
=will=
|
|
|
|
Joined: May 1999
Posts: 619 Likes: 1
Senior Member
|
Senior Member
Joined: May 1999
Posts: 619 Likes: 1 |
Indeed, I'm on 15.0 beta. Sorry, I didn't notice you're on 15.1.
|
|
|
0 members (),
161
guests, and
3
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,356
Posts122,431
Members5,082
|
Most Online1,283 Dec 21st, 2022
|
|
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!
|
|
|
|
|