|
|
Joined: Sep 2000
Posts: 249
Senior Member
|
OP
Senior Member
Joined: Sep 2000
Posts: 249 |
Trying to run MAME 0.259 gives me an SDL error
dyld[73553]: Symbol not found: _SDL_CloseAudio Referenced from: <4A0E5581-6197-35A2-9F7B-837624939CE2> /Users/will/MAME/mame Expected in: <no uuid> unknown zsh: abort ./mame dkong
I'm running macOS Ventura 13.6, compiled with Clang 15.0.0, SDL2-2.28.1
=will=
|
|
|
|
Joined: Mar 2001
Posts: 17,098 Likes: 153
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,098 Likes: 153 |
That's weird, I'm definitely not seeing that (Clang 15.0.0, SDL2 2.28.1, on Sonoma 14.1 beta).
|
|
|
|
Joined: May 1999
Posts: 604 Likes: 1
Senior Member
|
Senior Member
Joined: May 1999
Posts: 604 Likes: 1 |
This won't help your situation, will, but I'm getting another error with a self-compiled version of MAME 0.259 (I made no changes whatsoever to the source):
dyld[27360]: Library not loaded: @rpath/SDL2.framework/Versions/A/SDL2 Referenced from: <811A08ED-B2EB-3010-B006-9ACEC11B2156> /Applications/Emulation/MAME/MAME Reason: no LC_RPATH's found
I downloaded a pre-compiled version that works just fine, though.
Clang: 15.0 SDL: 2.28.3 macOS: 14.0
Last edited by Carbon; 10/01/23 09:46 AM.
|
|
|
|
Joined: Sep 2000
Posts: 249
Senior Member
|
OP
Senior Member
Joined: Sep 2000
Posts: 249 |
Tested on another Mac running macOS 14.0, Clang 15.0.0, SDL 2.0.14, similar error
dyld[15723]: Library not loaded: @rpath/SDL2.framework/Versions/A/SDL2 Referenced from: <4CAD55D8-E0C1-3C88-BFD9-6E55E1F75EF9> /Volumes/storage/mame0259s/mame Reason: no LC_RPATH's found zsh: abort ./mame dkong
=will=
|
|
|
|
Joined: Sep 2000
Posts: 249
Senior Member
|
OP
Senior Member
Joined: Sep 2000
Posts: 249 |
Updated my other Mac to Sonoma 14.1, same issue.
Carbon where did you find a precompiled version?
=will=
|
|
|
|
Joined: Mar 2001
Posts: 17,098 Likes: 153
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,098 Likes: 153 |
Ok. I might have to update the directions to use the Homebrew version of SDL2, which definitely works fine.
If you have Homebrew installed already, "brew install sdl2" and rebuild MAME with USE_LIBSDL=1 (and REGENIE=1 so the change takes effect) and MAME will use it instead of the framework. That has the bonus that a "brew update / brew upgrade" will upgrade SDL2 for you.
|
|
|
|
Joined: May 1999
Posts: 604 Likes: 1
Senior Member
|
Senior Member
Joined: May 1999
Posts: 604 Likes: 1 |
Updated my other Mac to Sonoma 14.1, same issue.
Carbon where did you find a precompiled version? Here
|
|
|
|
Joined: Sep 2000
Posts: 249
Senior Member
|
OP
Senior Member
Joined: Sep 2000
Posts: 249 |
I don't have or know what Homebrew is. I've never needed it before. So is this a source code bug? Do we know what's causing this? It's happening with multiple computers and version of macOS.
=will=
|
|
|
|
Joined: May 1999
Posts: 604 Likes: 1
Senior Member
|
Senior Member
Joined: May 1999
Posts: 604 Likes: 1 |
Ok. I might have to update the directions to use the Homebrew version of SDL2, which definitely works fine.
If you have Homebrew installed already, "brew install sdl2" and rebuild MAME with USE_LIBSDL=1 (and REGENIE=1 so the change takes effect) and MAME will use it instead of the framework. That has the bonus that a "brew update / brew upgrade" will upgrade SDL2 for you. Using your instructions I was able to compile a working executable of MAME 0.259 (I already had Homebrew installed).
Last edited by Carbon; 10/01/23 03:18 PM.
|
|
|
|
Joined: Mar 2001
Posts: 17,098 Likes: 153
Very Senior Member
|
Very Senior Member
Joined: Mar 2001
Posts: 17,098 Likes: 153 |
I don't have or know what Homebrew is. I've never needed it before. So is this a source code bug? Do we know what's causing this? It's happening with multiple computers and version of macOS. I don't know - I didn't change anything, and I've been building with the Homebrew version of SDL2 for a while. I'll certainly try and figure out what's going on with the framework version though.
|
|
|
1 members (AJR),
74
guests, and
3
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
Forums9
Topics9,240
Posts120,958
Members5,061
|
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!
|
|
|
|
|