Closed fire closed 3 years ago
@mhilbrunner I think you know the most about this area.
Oops, this was introduced late last night when I rebased my play area PR. Simple oversight that is not (yet) caught by CI, it's simply declared twice:
https://github.com/godotengine/godot/blob/master/servers/xr/xr_interface_extension.cpp#L44
and
https://github.com/godotengine/godot/blob/master/servers/xr/xr_interface_extension.cpp#L66
That second entry needs to be removed.
I'll be working on updating the CI to test compile godot-cpp to catch issues like these later today.
Godot version
a4fbb67902f493bff503dafd0ccc6277af85f3a1
System information
Win11, RTX 3000 series
Issue description
Building godot-cpp fails with:
I think the bug is because XRInterfaceExtension isn't in a c++ namespace like core_bind.
Steps to reproduce
godot
godot-cpp
scons werror=no platform=windows target=release -j34 use_lto=no deprecated=no generate_bindings=yes use_mingw=yes use_llvm=yes use_lld=yes use_thinlto=yes LINKFLAGS="-Wl,-pdb= CCFLAGS='-g -gcodeview'" debug_symbols=no
Note that these build flags aren't optimal.
Minimal reproduction project
2021-10-19-openvr-compile-fail.txt
extension_api.json.txt
I'm trying to debug this so you'll need to refer to godot-cpp and godot master.