You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
Compiling thirdparty/godot-cpp/gen/src/classes/ref_counted.cpp ...
Compiling thirdparty/godot-cpp/gen/src/classes/primitive_mesh.cpp ...
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:169:5: error: non-constant-expression cannot be narrowed from type 'godot::real_t' (aka 'double') to 'float' in initializer list [-Wc++11-narrowing]
{ quat.x, quat.y, quat.z, quat.w }, // orientation
^~~~~~
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:169:5: note: insert an explicit cast to silence this issue
{ quat.x, quat.y, quat.z, quat.w }, // orientation
^~~~~~
static_cast<float>( )
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:169:13: error: non-constant-expression cannot be narrowed from type 'godot::real_t' (aka 'double') to 'float' in initializer list [-Wc++11-narrowing]
{ quat.x, quat.y, quat.z, quat.w }, // orientation
^~~~~~
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:169:13: note: insert an explicit cast to silence this issue
{ quat.x, quat.y, quat.z, quat.w }, // orientation
^~~~~~
static_cast<float>( )
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:169:21: error: non-constant-expression cannot be narrowed from type 'godot::real_t' (aka 'double') to 'float' in initializer list [-Wc++11-narrowing]
{ quat.x, quat.y, quat.z, quat.w }, // orientation
^~~~~~
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:169:21: note: insert an explicit cast to silence this issue
{ quat.x, quat.y, quat.z, quat.w }, // orientation
^~~~~~
static_cast<float>( )
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:169:29: error: non-constant-expression cannot be narrowed from type 'godot::real_t' (aka 'double') to 'float' in initializer list [-Wc++11-narrowing]
{ quat.x, quat.y, quat.z, quat.w }, // orientation
^~~~~~
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:169:29: note: insert an explicit cast to silence this issue
{ quat.x, quat.y, quat.z, quat.w }, // orientation
^~~~~~
static_cast<float>( )
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:170:5: error: non-constant-expression cannot be narrowed from type 'godot::real_t' (aka 'double') to 'float' in initializer list [-Wc++11-narrowing]
{ pos.x, pos.y, pos.z }, // position
^~~~~
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:170:5: note: insert an explicit cast to silence this issue
{ pos.x, pos.y, pos.z }, // position
^~~~~
static_cast<float>( )
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:170:12: error: non-constant-expression cannot be narrowed from type 'godot::real_t' (aka 'double') to 'float' in initializer list [-Wc++11-narrowing]
{ pos.x, pos.y, pos.z }, // position
^~~~~
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:170:12: note: insert an explicit cast to silence this issue
{ pos.x, pos.y, pos.z }, // position
^~~~~
static_cast<float>( )
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:170:19: error: non-constant-expression cannot be narrowed from type 'godot::real_t' (aka 'double') to 'float' in initializer list [-Wc++11-narrowing]
{ pos.x, pos.y, pos.z }, // position
^~~~~
plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.cpp:170:19: note: insert an explicit cast to silence this issue
{ pos.x, pos.y, pos.z }, // position
^~~~~
static_cast<float>( )
7 errors generated.
scons: *** [plugin/src/main/cpp/extensions/openxr_fb_spatial_entity_extension_wrapper.os] Error 1
scons: building terminated because of errors.
Using a custom
double
precision Godot build. https://github.com/V-Sekai/world-godot/releases/tag/latest.v-sekai-editor-167After adding
asset/addons/godotopenxrtools
to v-sekai-game project addons folder, editor crashes when loading project with errorThis issue is not present on single precision builds of our editor.
I tried compiling this addon with a generated api dump at double precision
however build fails with several warnings/errors
See also #259
The text was updated successfully, but these errors were encountered: