Can't Compile/upload since V 0.35.0

Help,

The attached bit of code will compile and run with V 0.34.0
but will not compile under V035.0.
I have uploaded other bits of code under V0.35.0 no probs, but not this bit of code.
Board type Freetronics EtherMega ( Aust )
I am running windows 10 and all the XOD dependencies are up to date.

looser. :disappointed:

Clock Series-Time-.xodball (32.9 KB)

Begin compiling code for the board Arduino Mega or Mega 2560 :package:

C:\Users\denis\AppData\Local\Temp\xod_temp_sketchbook20EI12\xod_1600164137954_sketch\xod_1600164137954_sketch.ino: In member function ‘void xod::xod__common_hardware__ds18b20_thermometer::Node<constant_input_PORT>::evaluate(xod::xod__common_hardware__ds18b20_thermometer::Node<constant_input_PORT>::Context)’:
C:\Users\denis\AppData\Local\Temp\xod_temp_sketchbook20EI12\xod_1600164137954_sketch\xod_1600164137954_sketch.ino:2843:40: error: ‘port’ was not declared in this scope
bool success = readTemperature(port, &tc);
^~~~

C:\Users\denis\AppData\Local\Temp\xod_temp_sketchbook20EI12\xod_1600164137954_sketch\xod_1600164137954_sketch.ino:2843:40: note: suggested alternative: ‘Uart’
bool success = readTemperature(port, &tc);
^~~~
Uart

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.

Hi!

We just released XOD v0.35.1 that fixes this bug among other things. Please update and all should work fine!

Hello evgenykochetkoprov,

Thank you for your quick reply.
The code now compiles and uploads no errors with the message “Uploaded Successfully” but the code doesn’t run.
I can reinstall 0.34.0 upload the program and it works fine.

looser :disappointed:

Thanks for the report and sorry for the late response.
That was indeed a bug with tweak-strings, it’s fixed now and released in v0.35.2

Hello evgenykochetkov,
Thanks very much for your help.

Downloaded 0.35.2 the sketch now compiles and runs no problems.

looser. :slightly_smiling_face:

1 Like

It looks like the problem still exists in version 0.35.2

Begin compiling code for the board Arduino Mega or Mega 2560 :package:

C:\Users\15FC~1.-\AppData\Local\Temp\xod_temp_sketchbookP3TJLB\xod_1600522652947_sketch\xod_1600522652947_sketch.ino:4519:5: error: initializer for flexible array member ‘uint8_t xod::txgruppi__stepper_28byj48__stepper_28byj48_controller::Node::positions []’
};
^

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.

My compilation error message.