xfangfang / wiliwili

第三方B站客户端,目前可以运行在PC全平台、PSVita、PS4 、Xbox 和 Nintendo Switch上
https://xfangfang.github.io/wiliwili
GNU General Public License v3.0
3.11k stars 145 forks source link

macOS 10.14.6 (18G9323) 下闪退 #179

Closed dragonflylee closed 1 year ago

dragonflylee commented 1 year ago

日志如下 libcurl 版本太低导致

$ /Applications/wiliwili.app/Contents/MacOS/wiliwili 
21:06:58.066[INFO] wiliwili v1.1.1
21:06:58.066[INFO] Current working directory: /Users/dragonflylee
21:06:58.067[INFO] client: 72263999.1690463195/
21:06:58.067[INFO] cookie: DedeUserID:0
21:06:58.067[INFO] refreshToken: 
21:06:58.067[INFO] setting: null
21:06:58.067[INFO] Load config from: /Users/dragonflylee/Library/Application Support/wiliwili/wiliwili_config.json
21:06:58.068[INFO] Set app locale: zh-Hans
21:06:58.128[INFO] Using platform GLFW
21:06:58.199[INFO] glfw: GL Vendor: Intel Inc.
21:06:58.199[INFO] glfw: GL Renderer: Intel(R) UHD Graphics 617
21:06:58.199[INFO] glfw: GL Version: 4.1 INTEL-12.10.31
21:06:58.199[INFO] glfw: GLFW Version: 3.4.0
21:06:58.204[WARNING] Cannot find custom gamepad db, (Searched at: /Users/dragonflylee/Library/Application Support/wiliwili/gamecontrollerdb.txt)
21:06:58.229[WARNING] Cannot find custom font, (Searched at: /Users/dragonflylee/Library/Application Support/wiliwili/font.ttf)
21:06:58.229[INFO] Using internal font: ./resources/font/switch_font.ttf
21:06:58.233[INFO] Load system font: /Library/Fonts/Arial Unicode.ttf
21:06:58.245[INFO] Load emoji font: ./resources/font/emoji.ttf
21:06:58.245[INFO] Load keymap icon: ./resources/font/keymap_xbox.ttf
21:06:58.246[INFO] createWindow done
dyld: lazy symbol binding failed: Symbol not found: _curl_mime_free
  Referenced from: /Applications/wiliwili.app/Contents/MacOS/wiliwili
  Expected in: /usr/lib/libcurl.4.dylib

dyld: Symbol not found: _curl_mime_free
  Referenced from: /Applications/wiliwili.app/Contents/MacOS/wiliwili
  Expected in: /usr/lib/libcurl.4.dylib

Abort trap: 6
dragonflylee commented 1 year ago
curl --version
curl 7.54.0 (x86_64-apple-darwin18.0) libcurl/7.54.0 LibreSSL/2.6.5 zlib/1.2.11 nghttp2/1.24.1
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz HTTP2 UnixSockets HTTPS-proxy
xfangfang commented 1 year ago

@dragonflylee 试一下这个版本可不可以:https://github.com/xfangfang/wiliwili/actions/runs/5701650998

xfangfang commented 1 year ago

@dragonflylee 再次提醒一下,可以测试一下能不能运行在10.14上,如果可以的话,我就把对应的pr合并进来了。

https://github.com/xfangfang/wiliwili/actions/runs/5701650998

dragonflylee commented 1 year ago

其实我想宏定义的方式绕过这个问题, curl_mime_free 在 libcpr 中只有两处调用,

xfangfang commented 1 year ago

感觉还是越少改越省事吧,之后更新libcpr版本也方便

dragonflylee commented 1 year ago

@xfangfang 可以正常运行