godotengine / webrtc-native

The official GDNative WebRTC implementation for non-html exports.
MIT License
198 stars 27 forks source link

libwebrtc_native.osx.release.64.dylib Error: Symbol not found: ____chkstk_darwin #49

Closed Dugtrio closed 2 years ago

Dugtrio commented 2 years ago

Godot version

3.3.4.stable.official

Plugin version

0.5

System information

macOS 10.13.6

Issue description

I downloaded the official Godot WebRTC Signalling Demo and added the latest release version (0.5) of the webrtc-native plugin in the root location of the godot project. I then pressed play in the editor window and the demo window appeared. Then, when I click on the "Listen" button at the top of the window, I get the next error in the godot debugger:

E 0:00:00.417 open_dynamic_library: Can't open dynamic library: /Users/K/Documents/_PROJECTS/P2P_Test/_GodotTest/webrtc/lib/libwebrtc_native.osx.release.64.dylib, error: dlopen(/Users/K/Documents/_PROJECTS/P2P_Test/_GodotTest/webrtc/lib/libwebrtc_native.osx.release.64.dylib, 2): Symbol not found: ____chkstk_darwin Referenced from: /Users/K/Documents/_PROJECTS/P2P_Test/_GodotTest/webrtc/lib/libwebrtc_native.osx.release.64.dylib (which was built for Mac OS X 11.0) Expected in: /usr/lib/libSystem.B.dylib in /Users/K/Documents/_PROJECTS/P2P_Test/_GodotTest/webrtc/lib/libwebrtc_native.osx.release.64.dylib. <C++ Error> Condition "!p_library_handle" is true. Returned: ERR_CANT_OPEN <C++ Source> platform/osx/os_osx.mm:1944 @ open_dynamic_library()

Steps to reproduce

  1. Download the WebRTC Signalling demo https://godotengine.org/asset-library/asset/537
  2. Download webrtc-native release plugin ver. 0.5, unpack, and add the folder into the root of the WebRTC Signalling demo project. https://github.com/godotengine/webrtc-native/releases/tag/0.5
  3. Open the project in Godot 3.3.4.stable.official on macOS 10.13.6 and press Play.
  4. In the demo window press "Listen" button at the top and check the error in the Godot debugger.

Minimal reproduction project

No response

Faless commented 2 years ago

Closing as fixed after #51 , you can test the alpha release. Feel free to comment if the issue is still present.