解决 macOS Monterey 启动不了泰拉瑞亚 (sdl2)

黑苹果升级到macOS Monterey(12.0beta),泰拉就启动不了,以命令行启动游戏看到启动日志了。
原来是sdl2出了问题。
在这里插入图片描述

/Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/Terraria: line 11: ./fixDylibs.sh: No such file or directory
Error Logging Enabled.
objc[2288]: Class SDLApplication is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0c38) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da0f8). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLAppDelegate is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0c88) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da148). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLTranslatorResponder is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0d00) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da1c0). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLMessageBoxPresenter is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0d28) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da1e8). One of the two will be used. Which one is undefined.
objc[2288]: Class SDL_cocoametalview is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0d78) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da238). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLOpenGLContext is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0dc8) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da288). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLWindow is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0e18) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da2d8). One of the two will be used. Which one is undefined.
objc[2288]: Class Cocoa_WindowListener is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0e40) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da300). One of the two will be used. Which one is undefined.
objc[2288]: Class SDLView is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0eb8) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da378). One of the two will be used. Which one is undefined.
objc[2288]: Class METAL_RenderData is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0f08) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da3c8). One of the two will be used. Which one is undefined.
objc[2288]: Class METAL_TextureData is implemented in both /Users/hf/TR/1.4.2.3-GOG.app/Contents/MacOS/osx/libSDL2-2.0.0.dylib (0x1253a0f58) and /usr/local/Cellar/sdl2/2.0.14_1/lib/libSDL2-2.0.0.dylib (0x1254da418). One of the two will be used. Which one is undefined.
GRAPHICS DRIVER IS EXTREMELY BROKEN!

卸载brew安装的sdl2就正常启动了。
在这里插入图片描述
在这里插入图片描述

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值