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
been having a bit of an issue trying to compile the example ethernet_test. Bellow is the full error when I try to compile the sketch for an arduino uno.
In file included from C:\Users\TEST\Documents\Arduino\libraries\E131\examples\Ethernet_Test\Ethernet_Test.ino:22:0:
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h: In member function 'e131_error_t E131::validate()':
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:239:22: error: 'pwbuff' was not declared in this scope
if (memcmp_P(pwbuff->acn_id, ACN_ID, sizeof(pwbuff->acn_id)))
^~~~~~
In file included from C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:39:0,
from C:\Users\TEST\Documents\Arduino\libraries\E131\examples\Ethernet_Test\Ethernet_Test.ino:22:
C:\Users\TEST\Documents\Arduino\libraries\E131/utility/util.h:13:18: warning: init-statement in selection statements only available with -std=c++1z or -std=gnu++1z
#define htonl(x) ( ((x)<<24 & 0xFF000000UL) |
^
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:244:13: note: in expansion of macro 'htonl'
if (htonl(pwbuff->root_vector) != VECTOR_ROOT)
^~~~~
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:244:19: error: 'pwbuff' was not declared in this scope
if (htonl(pwbuff->root_vector) != VECTOR_ROOT)
^
C:\Users\TEST\Documents\Arduino\libraries\E131/utility/util.h:13:22: note: in definition of macro 'htonl'
#define htonl(x) ( ((x)<<24 & 0xFF000000UL) |
^
In file included from C:\Users\TEST\Documents\Arduino\libraries\E131\examples\Ethernet_Test\Ethernet_Test.ino:22:0:
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:244:40: error: expected primary-expression before '!=' token
if (htonl(pwbuff->root_vector) != VECTOR_ROOT)
^~
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:246:9: error: expected primary-expression before 'if'
if (htonl(pwbuff->frame_vector) != VECTOR_FRAME)
^~
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:246:9: error: expected ')' before 'if'
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:248:13: error: 'pwbuff' was not declared in this scope
if (pwbuff->dmp_vector != VECTOR_DMP)
^~~~~~
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:250:13: error: 'pwbuff' was not declared in this scope
if (pwbuff->property_values[0] != 0)
^~~~~~
exit status 1
Error compiling for board Arduino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered:
been having a bit of an issue trying to compile the example ethernet_test. Bellow is the full error when I try to compile the sketch for an arduino uno.
Arduino: 1.8.13 (Windows 10), Board: "Arduino Uno"
In file included from C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:39:0,
C:\Users\TEST\Documents\Arduino\libraries\E131/utility/util.h:14:5: error: expected ')' before '<<' token
((x)<< 8 & 0x00FF0000UL) |
In file included from C:\Users\TEST\Documents\Arduino\libraries\E131\examples\Ethernet_Test\Ethernet_Test.ino:22:0:
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:106:3: error: 'e131_packet_t' does not name a type
} e131_packet_t;
^~~~~~~~~~~~~
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:141:5: error: 'e131_packet_t' does not name a type; did you mean 'e131_listen_t'?
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:145:5: error: 'e131_packet_t' does not name a type; did you mean 'e131_listen_t'?
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:158:5: error: 'e131_packet_t' does not name a type; did you mean 'e131_listen_t'?
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h: In member function 'uint16_t E131::parsePacket()':
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:211:27: error: 'pwbuff' was not declared in this scope
In file included from C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:39:0,
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:219:34: error: 'packet' was not declared in this scope
C:\Users\TEST\Documents\Arduino\libraries\E131/utility/util.h:5:22: note: in definition of macro 'htons'
#define htons(x) ( ((x)<< 8 & 0xFF00) | ((x)>> 8 & 0x00FF) )
In file included from C:\Users\TEST\Documents\Arduino\libraries\E131\examples\Ethernet_Test\Ethernet_Test.ino:22:0:
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h: In member function 'e131_error_t E131::validate()':
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:239:22: error: 'pwbuff' was not declared in this scope
In file included from C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:39:0,
C:\Users\TEST\Documents\Arduino\libraries\E131/utility/util.h:13:18: warning: init-statement in selection statements only available with -std=c++1z or -std=gnu++1z
#define htonl(x) ( ((x)<<24 & 0xFF000000UL) |
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:244:13: note: in expansion of macro 'htonl'
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:244:19: error: 'pwbuff' was not declared in this scope
C:\Users\TEST\Documents\Arduino\libraries\E131/utility/util.h:13:22: note: in definition of macro 'htonl'
#define htonl(x) ( ((x)<<24 & 0xFF000000UL) |
In file included from C:\Users\TEST\Documents\Arduino\libraries\E131\examples\Ethernet_Test\Ethernet_Test.ino:22:0:
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:244:40: error: expected primary-expression before '!=' token
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:246:9: error: expected primary-expression before 'if'
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:246:9: error: expected ')' before 'if'
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:248:13: error: 'pwbuff' was not declared in this scope
C:\Users\TEST\Documents\Arduino\libraries\E131/E131.h:250:13: error: 'pwbuff' was not declared in this scope
exit status 1
Error compiling for board Arduino Uno.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered: