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
Following the Microsoft Compiler Warning (level 4) C4239
The relativ_osvr_plugin/Relativ_OSVR_Plugin.cpp code fails to compile on any OS except Windows with this error: error: cannot bind non-const lvalue reference of type ‘serial::Timeout&’ to an rvalue of type ‘serial::Timeout’
To resolve this, Кзобьтовскый created this fix:
Line 57
relativ.setTimeout(serial::Timeout::simpleTimeout(1000));
replace the whole of Line 57 with this:
serial::Timeout sto = serial::Timeout::simpleTimeout(1000);
relativ.setTimeout(sto);
The text was updated successfully, but these errors were encountered:
yozaam
added a commit
to yozaam/relativ-osvr-plugin
that referenced
this issue
Nov 30, 2018
Following the Microsoft Compiler Warning (level 4) C4239
The relativ_osvr_plugin/Relativ_OSVR_Plugin.cpp code fails to compile on any OS except Windows with this error:
error: cannot bind non-const lvalue reference of type ‘serial::Timeout&’ to an rvalue of type ‘serial::Timeout’
To resolve this, Кзобьтовскый created this fix:
replace the whole of Line 57 with this:
The text was updated successfully, but these errors were encountered: