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
Hello, seems that there's a naming clash between an internal UDP constant and arduino core libraries:
here's the errror:
In file included from /home/matteo/Arduino/libraries/Sodaq_R4X/src/Sodaq_R4X.h:37:0,
from /tmp/.arduinoIDE-unsaved202292-14823-2aujqs.wgv0k/sketch_oct2a/sketch_oct2a.ino:11:
/home/matteo/Arduino/libraries/Sodaq_R4X/src/Sodaq_Ublox.h:114:75: error: reference to 'UDP' is ambiguous
virtual int socketCreate(uint16_t localPort = 0, Protocols protocol = UDP) = 0;
^~~
/home/matteo/Arduino/libraries/Sodaq_R4X/src/Sodaq_Ublox.h:56:5: note: candidates are: Protocols UDP
UDP
^~~
In file included from /home/matteo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/api/ArduinoAPI.h:37:0,
from /home/matteo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:23,
from /tmp/arduino-sketch-A7215B08F254AC88B1DCAEE3F4F1EB6D/sketch/sketch_oct2a.ino.cpp:1:
/home/matteo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/api/Udp.h:42:7: note: class arduino::UDP
class UDP : public Stream {
^~~
In file included from /tmp/.arduinoIDE-unsaved202292-14823-2aujqs.wgv0k/sketch_oct2a/sketch_oct2a.ino:11:0:
/home/matteo/Arduino/libraries/Sodaq_R4X/src/Sodaq_R4X.h:215:70: error: reference to 'UDP' is ambiguous
int socketCreate(uint16_t localPort = 0, Protocols protocol = UDP);
^~~
In file included from /home/matteo/Arduino/libraries/Sodaq_R4X/src/Sodaq_R4X.h:37:0,
from /tmp/.arduinoIDE-unsaved202292-14823-2aujqs.wgv0k/sketch_oct2a/sketch_oct2a.ino:11:
/home/matteo/Arduino/libraries/Sodaq_R4X/src/Sodaq_Ublox.h:56:5: note: candidates are: Protocols UDP
UDP
^~~
In file included from /home/matteo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/api/ArduinoAPI.h:37:0,
from /home/matteo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/Arduino.h:23,
from /tmp/arduino-sketch-A7215B08F254AC88B1DCAEE3F4F1EB6D/sketch/sketch_oct2a.ino.cpp:1:
/home/matteo/.arduino15/packages/arduino/hardware/samd/1.8.13/cores/arduino/api/Udp.h:42:7: note: class arduino::UDP
class UDP : public Stream {
^~~
exit status 1
Compilation error: exit status 1
the sketch is very basic, just
#include <Sodaq_R4X.h>
#include <Sodaq_Ublox.h>
in a empty sketch
Any hint?
The text was updated successfully, but these errors were encountered:
Hello, seems that there's a naming clash between an internal UDP constant and arduino core libraries:
here's the errror:
the sketch is very basic, just
in a empty sketch
Any hint?
The text was updated successfully, but these errors were encountered: