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
Adding int32_t data doesn't work on some microcontrollers.
It works on an Arduino UNO but when trying to compile Raspberry Pi Pico I get some error message. int or int64_t works as expected.
The problem comes up with last update of OSCData.h
Maybe an OSCData (int32_t) method is missing.
/Users/sstaub/Documents/Arduino/libraries/OSC/OSCMessage.h: In instantiation of 'OSCMessage& OSCMessage::add(T) [with T = long int]':
/Users/sstaub/Documents/Arduino/ETC_EOS_TCP/ETC_EOS_TCP.ino:50:11: required from here
50 | ping.add(pingNum++);
| ~~~~~~~~^~~~~~~~~~~
/Users/sstaub/Documents/Arduino/libraries/OSC/OSCMessage.h:136:31: error: call of overloaded 'OSCData(long int&)' is ambiguous
136 | OSCData * d = new OSCData(datum);
| ^~~~~~~~~~~~~~~~~~
In file included from /Users/sstaub/Documents/Arduino/libraries/OSC/OSCMessage.h:29:
/Users/sstaub/Documents/Arduino/libraries/OSC/OSCData.h:132:5: note: candidate: 'OSCData::OSCData(boolean)'
132 | OSCData (boolean);
| ^~~~~~~
/Users/sstaub/Documents/Arduino/libraries/OSC/OSCData.h:128:9: note: candidate: 'OSCData::OSCData(double)'
128 | OSCData (double);
| ^~~~~~~
/Users/sstaub/Documents/Arduino/libraries/OSC/OSCData.h:127:9: note: candidate: 'OSCData::OSCData(float)'
127 | OSCData (float);
| ^~~~~~~
/Users/sstaub/Documents/Arduino/libraries/OSC/OSCData.h:126:5: note: candidate: 'OSCData::OSCData(unsigned int)'
126 | OSCData (unsigned int);
| ^~~~~~~
/Users/sstaub/Documents/Arduino/libraries/OSC/OSCData.h:122:10: note: candidate: 'OSCData::OSCData(int64_t)'
122 | OSCData (int64_t);
| ^~~~~~~
/Users/sstaub/Documents/Arduino/libraries/OSC/OSCData.h:121:10: note: candidate: 'OSCData::OSCData(intOSC_t)'
121 | OSCData (intOSC_t);
| ^~~~~~~
/Users/sstaub/Documents/Arduino/libraries/OSC/OSCData.h:87:5: note: candidate: 'OSCData::OSCData(char)'
87 | OSCData(char t);
| ^~~~~~~
/Users/sstaub/Documents/Arduino/libraries/OSC/OSCData.h:77:7: note: candidate: 'constexpr OSCData::OSCData(const OSCData&)'
77 | class OSCData
| ^~~~~~~
Using library Ethernet at version 2.0.2 in folder: /Users/sstaub/Documents/Arduino/libraries/Ethernet
Using library OSC at version 3.5.8 in folder: /Users/sstaub/Documents/Arduino/libraries/OSC
Using library SPI at version 1.0 in folder: /Users/sstaub/Library/Arduino15/packages/rp2040/hardware/rp2040/4.1.1/libraries/SPI
exit status 1
Compilation error: exit status 1
The text was updated successfully, but these errors were encountered:
Adding
int32_t
data doesn't work on some microcontrollers.It works on an Arduino UNO but when trying to compile Raspberry Pi Pico I get some error message.
int
orint64_t
works as expected.The problem comes up with last update of OSCData.h
Maybe an
OSCData (int32_t)
method is missing.The text was updated successfully, but these errors were encountered: