Hey Guys after update the XOD-Client i got from a Sketch this message:
How can i fix this? before the update was installed it workes fine
thanks!
Begin compiling code for the board Arduino Nano Every 📦
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:4745:5: error: flexible array member 'xod::wayland__ssd1306_oled_i2c__draw_xod_logo::Node::xod_logo_128_64' not at end of 'struct xod::wayland__ssd1306_oled_i2c__draw_xod_logo::Node'
};
^
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:4745:5: error: initializer for flexible array member 'const unsigned char xod::wayland__ssd1306_oled_i2c__draw_xod_logo::Node::xod_logo_128_64 []'
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino: In member function 'void xod::nkrkv__avr_sleep__sleep_until_switch::Node<constant_input_WAKE>::wakeISR()':
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:6772:9: error: 'ADCSRA' was not declared in this scope
ADCSRA = g_prevADCSRA;
^~~~~~
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:6772:9: note: suggested alternative: 'ADC_t'
ADCSRA = g_prevADCSRA;
^~~~~~
ADC_t
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino: In member function 'void xod::nkrkv__avr_sleep__sleep_until_switch::Node<constant_input_WAKE>::evaluate(xod::nkrkv__avr_sleep__sleep_until_switch::Node<constant_input_WAKE>::Context)':
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:6788:24: error: 'ADCSRA' was not declared in this scope
g_prevADCSRA = ADCSRA;
^~~~~~
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:6788:24: note: suggested alternative: 'ADC_t'
g_prevADCSRA = ADCSRA;
^~~~~~
ADC_t
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:6798:9: error: 'EIFR' was not declared in this scope
EIFR |= (1 << g_interruptNum);
^~~~
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:6798:9: note: suggested alternative: 'EOF'
EIFR |= (1 << g_interruptNum);
^~~~
EOF
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino: In instantiation of 'void xod::nkrkv__avr_sleep__sleep_until_switch::Node<constant_input_WAKE>::evaluate(xod::nkrkv__avr_sleep__sleep_until_switch::Node<constant_input_WAKE>::Context) [with unsigned char constant_input_WAKE = 2; xod::nkrkv__avr_sleep__sleep_until_switch::Node<constant_input_WAKE>::Context = xod::nkrkv__avr_sleep__sleep_until_switch::Node<2>::ContextObject*]':
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:13879:38: required from here
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:6795:24: error: invalid use of non-static member function 'void xod::nkrkv__avr_sleep__sleep_until_switch::Node<constant_input_WAKE>::wakeISR() [with unsigned char constant_input_WAKE = 2]'
attachInterrupt(g_interruptNum, wakeISR, CHANGE);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:6762:10: note: declared here
void wakeISR() {
^~~~~~~
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:6802:26: error: 'sleep_bod_disable' was not declared in this scope
sleep_bod_disable();
~~~~~~~~~~~~~~~~~^~
C:\Users\User\AppData\Local\Temp\xod_temp_sketchbook5o9jJN\xod_1603294933691_sketch\xod_1603294933691_sketch.ino:6802:26: note: suggested alternative: 'sleep_disable'
sleep_bod_disable();
~~~~~~~~~~~~~~~~~^~
sleep_disable
Error during build: exit status 1
Compilation failed
Command Process exited with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.
0