# Update --\> trouble

**URL:** <https://forum.xod.io/t/update-trouble/4538>\
**Category:** Install/Upload Problems\
**Created:** [October 21, 2020, 4:15pm UTC](https://forum.xod.io/t/update-trouble/4538 "2020-10-21T16:15:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![c-petersen](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@c-petersen](https://forum.xod.io/u/c-petersen)\
**Post date:** [October 21, 2020, 4:15pm UTC](https://forum.xod.io/t/update-trouble/4538/1 "2020-10-21T16:15:33Z")

</div>

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!

```auto

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

```

---

<div class="post-metadata">

**Author:** ![gweimer](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@gweimer](https://forum.xod.io/u/gweimer)\
**Post date:** [October 21, 2020, 8:02pm UTC](https://forum.xod.io/t/update-trouble/4538/2 "2020-10-21T20:02:13Z")

</div>

Are you using libraries from wayland and nkrkv that need updated to work with new version?

Do you have any `xod` folders under your ` __lib__ ` folder with other libraries (usually in `C:\Users\YOUR_USERNAME\xod\ __lib__ `)? This would indicate you made changes to the built-in nodes and are not getting the latest copies when you update XOD. If any xod folders do exist in library folder, you can delete (or just rename) them so XOD can see the latest updates for those nodes.

---

<div class="post-metadata">

**Author:** ![wayland](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/wayland/32/1590_2.png) [@wayland](https://forum.xod.io/u/wayland)\
**Post date:** [October 21, 2020, 9:48pm UTC](https://forum.xod.io/t/update-trouble/4538/3 "2020-10-21T21:48:20Z")

</div>

I hadn’t realised that the [draw-xod-logo](https://xod.io/libs/wayland/ssd1306-oled-i2c/draw-xod-logo/) node in my [ssd1306-oled-i2c](https://xod.io/libs/wayland/ssd1306-oled-i2c/) library needed updating to work in the latest version of XOD. Thanks @c-petersen and @gweimer for letting me know. I’ve just published a fixed version of my library (v0.0.7).

---

<div class="post-metadata">

**Author:** ![c-petersen](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@c-petersen](https://forum.xod.io/u/c-petersen)\
**Post date:** [October 22, 2020, 7:39pm UTC](https://forum.xod.io/t/update-trouble/4538/4 "2020-10-22T19:39:30Z")

</div>

Thanks @gweimer and @wayland  
now it works fine 🙂 only the “nkrkv” lib is not working anymore.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/eb7348baa04192c2ef932d1db54d44f09f8a7888.png) [@system](https://forum.xod.io/u/system)\
**Post date:** [October 24, 2020, 7:39pm UTC](https://forum.xod.io/t/update-trouble/4538/5 "2020-10-24T19:39:35Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
