Page 1 of 1

Latest Java update causes prerpocessing error

Posted: 18 Nov 2020 21:10
by Hillie
After installing the latest Java JRE results in

************* Building Arduino Sketch *************
C:\Users\Gerald\AppData\Local\Temp\build875019251353671631.tmp/zuno_SimpleDimmer.cpp
***************************************************

Preprocessing file: Custom.c with SDCPP...

Custom_sdcpp_.c:396:12:error:redefinition of 'byte' as different kind of symbol


Preprocessing file: Print.cpp with SDCPP...
Compiling Print_sdcpp_.cpp ...
Print_sdcpp_.cpp:543:17:warning:& has lower precedence than ==; == will be evaluated first

uCxx returned error code:1

Error compiling.

Re: Latest Java update causes prerpocessing error

Posted: 23 Nov 2020 08:49
by Hillie
It may not be Java related, but sdccp simply causes the problem.

Re: Latest Java update causes prerpocessing error

Posted: 29 Nov 2020 12:14
by Hillie
I have found the problem. A library called grbl (for 3D printing) caused the problem. It includes Print.h which conflicts with the z-uno board package. Deleting the grbl library from the Arduino IDE solved it.