Trying to upload an old sketch with 0.30.1

Hi, My sketch was working OK on the older version ow it did and upgrade I get the following error when trying to compile. Any ideas as I just need a simple change for a project in a few hours.
Or do I delete and try putting a previous version on?

Begin compiling code for the board Arduino/Genuino Uno :package:

Using board ‘uno’ from platform in folder: C:\Users\Video\xod_packages_\packages\arduino\hardware\avr\1.6.23
Using core ‘arduino’ from platform in folder: C:\Users\Video\xod_packages_\packages\arduino\hardware\avr\1.6.23

Detecting libraries used…

“C:\Users\Video\xod\packages\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\cores\arduino” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\variants\standard” “C:\Users\Video\AppData\Local\Temp\arduino-sketch-2908F30684AF05C9206E2A5C782D91A8\sketch\xod_1567176454261_sketch.ino.cpp” -o nul

Alternatives for Wire.h: [Wire@1.0]
ResolveLibrary(Wire.h)
-> candidates: [Wire@1.0]

“C:\Users\Video\xod\packages\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\cores\arduino” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\variants\standard” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\libraries\Wire\src” “C:\Users\Video\AppData\Local\Temp\arduino-sketch-2908F30684AF05C9206E2A5C782D91A8\sketch\xod_1567176454261_sketch.ino.cpp” -o nul

Alternatives for LiquidCrystal_I2C.h: [LiquidCrystal_I2C]
ResolveLibrary(LiquidCrystal_I2C.h)
-> candidates: [LiquidCrystal_I2C]

“C:\Users\Video\xod\packages\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\cores\arduino” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\variants\standard” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\libraries\Wire\src” “-IC:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\libraries\LiquidCrystal_I2C” “C:\Users\Video\AppData\Local\Temp\arduino-sketch-2908F30684AF05C9206E2A5C782D91A8\sketch\xod_1567176454261_sketch.ino.cpp” -o nul

“C:\Users\Video\xod\packages\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\cores\arduino” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\variants\standard” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\libraries\Wire\src” “-IC:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\libraries\LiquidCrystal_I2C” “C:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\libraries\Wire\src\Wire.cpp” -o nul

“C:\Users\Video\xod\packages\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\cores\arduino” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\variants\standard” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\libraries\Wire\src” “-IC:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\libraries\LiquidCrystal_I2C” “C:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\libraries\Wire\src\utility\twi.c” -o nul

“C:\Users\Video\xod\packages\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\cores\arduino” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\variants\standard” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\libraries\Wire\src” “-IC:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\libraries\LiquidCrystal_I2C” “C:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\libraries\LiquidCrystal_I2C\LiquidCrystal_I2C.cpp” -o nul

Generating function prototypes…

“C:\Users\Video\xod\packages\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\cores\arduino” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\variants\standard” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\libraries\Wire\src” “-IC:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\libraries\LiquidCrystal_I2C” “C:\Users\Video\AppData\Local\Temp\arduino-sketch-2908F30684AF05C9206E2A5C782D91A8\sketch\xod_1567176454261_sketch.ino.cpp” -o “C:\Users\Video\AppData\Local\Temp\arduino-sketch-2908F30684AF05C9206E2A5C782D91A8\preproc\ctags_target_for_gcc_minus_e.cpp”

“C:\Users\Video\xod\packages\packages\builtin\tools\ctags\5.8-arduino11/ctags” -u --language-force=c++ -f - --c+±kinds=svpf --fields=KSTtzns --line-directives “C:\Users\Video\AppData\Local\Temp\arduino-sketch-2908F30684AF05C9206E2A5C782D91A8\preproc\ctags_target_for_gcc_minus_e.cpp”

Compiling sketch…

“C:\Users\Video\xod\packages\packages\arduino\tools\avr-gcc\5.4.0-atmel3.6.1-arduino2/bin/avr-g++” -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\cores\arduino” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\variants\standard” “-IC:\Users\Video\xod\packages\packages\arduino\hardware\avr\1.6.23\libraries\Wire\src” “-IC:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\libraries\LiquidCrystal_I2C” “C:\Users\Video\AppData\Local\Temp\arduino-sketch-2908F30684AF05C9206E2A5C782D91A8\sketch\xod_1567176454261_sketch.ino.cpp” -o “C:\Users\Video\AppData\Local\Temp\arduino-sketch-2908F30684AF05C9206E2A5C782D91A8\sketch\xod_1567176454261_sketch.ino.cpp.o”

C:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\xod_1567176454261_sketch\xod_1567176454261_sketch.ino: In function ‘void xod::runTransaction()’:
C:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\xod_1567176454261_sketch\xod_1567176454261_sketch.ino:3728:26: error: ‘struct xod::xod__core__defer_pulse::Node’ has no member named ‘errorFlags’
if (!node_55.errorFlags) {
^

C:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\xod_1567176454261_sketch\xod_1567176454261_sketch.ino:3735:24: error: ‘struct xod::xod__core__defer_pulse::ContextObject’ has no member named ‘_error_input_IN’
ctxObj._error_input_IN = 0;
^
C:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\xod_1567176454261_sketch\xod_1567176454261_sketch.ino:3741:73: error: ‘struct xod::xod__core__defer_pulse::Node’ has no member named ‘errorFlags’
node_1.isNodeDirty |= (node_55.isOutputDirty_OUT || node_55.errorFlags);
^

Multiple libraries were found for “Wire.h”
Used: C:\Users\Video\xod_packages_\packages\arduino\hardware\avr\1.6.23\libraries\Wire
Multiple libraries were found for “LiquidCrystal_I2C.h”
Used: C:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\libraries\LiquidCrystal_I2C

Using library Wire at version 1.0 in folder: C:\Users\Video\xod_packages_\packages\arduino\hardware\avr\1.6.23\libraries\Wire
Using library LiquidCrystal_I2C in folder: C:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\libraries\LiquidCrystal_I2C (legacy)

Error: exit status 1
Compilation failed.
Compilation failed
Command C:\Program Files\XOD IDE\resources\arduino-cli.exe --config-file=C:\Users\Video\AppData\Local\Temp\arduino-cli9q3Syg\.cli-config.yml compile --fqbn arduino:avr:uno --verbose C:\Users\Video\AppData\Local\Temp\xod_temp_sketchbookTfXbMn\xod_1567176454261_sketch failed 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.

This is the important bit. Defer-pulse pins have changed. A quick, temporary fix would be to install an older version of XOD. Permanent fix would be to update code to use new nodes and pins.

Hi thank for the info.

What version would have to go back to?

Or what / how do the new pins work?

Thanks
Tony

I just had a look it appears it the flip-times has the bug.
Going back to an older version.
Thanks for the heads up.

Tony

0.30.0 had major changes. I would guess anything before then would probably work.