Closed ksubox closed 5 months ago
I try to build webrtc GDExtension for Godot 4.2-rc1.
Note that the current version (godot-cpp for Godot 4.1) is supposed to work in Godot 4.2 . There is no real reason to update godot-cpp to newer versions unless the Godot WebRTC API changes (which is not the case in 4.2).
For now, you can build with MSVC:
scons use_static_cpp=no
For reference this seems caused by the change in https://github.com/godotengine/godot-cpp/pull/1203 which resulted in the default changing from /MD
to /MT
.
I'll make a new PR to hard-code this fix when MSVC is detected.
Godot version
4.2-rc1
Plugin version
HEAD
System information
Windows 11
Issue description
I try to build webrtc GDExtension for Godot 4.2-rc1. So Cloned repo and checked out godot-cpp 7cd79e4cc64ce484ba04d1919da7d4cd39aab5ff (matched rc1). Built with VS2022 and finally got error:
Steps to reproduce
Clone repo.
And finally get error.
Minimal reproduction project
No response