godotengine / webrtc-native

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

Lack of ARM64 Builds for Windows #150

Open carne8 opened 1 month ago

carne8 commented 1 month ago

Godot version

4.3stable

Plugin version

v1.0.6

System information

Windows 11 Arm64 (Snapdragon X Elite)

Issue description

I’ve noticed that the repository currently does not provide binaries for the ARM64 architecture on Windows. ARM64-based devices are becoming more prevalent, especially with the new Copilot + PCs.

I tried to compile the project for this architecture, but I'm don't know the C++ environment well, and I didn't succeed.

Steps to reproduce

Add the webrtc-native to your godot project.

An error pop in the output panel: No GDExtension library found for current OS and architecture (windows.arm64) in configuration file: res://webrtc/webrtc.gdextension

Minimal reproduction project

No response

Faless commented 1 month ago

I honestly have no experience in building form windows arm64 either.

I guess the first step would be to be able to build libdatachannel (finding the right CMake flags) and openssl (which uses its own build system).

It also seems that mingw support for windows arm64 is still experimental, so this probably needs to use MSVC for now, which is a pain for me to test.

In short, help is welcome.

carne8 commented 1 month ago

I finally managed to build the project for Windows Arm64 !

I slightly modified the OpenSSL configuration and indeed used MSVC.

So, I opened a pull request #151