Latest Java update causes prerpocessing error

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
Hillie
Posts: 25
Joined: 15 Nov 2018 14:11

Latest Java update causes prerpocessing error

Post 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.
Hillie
Posts: 25
Joined: 15 Nov 2018 14:11

Re: Latest Java update causes prerpocessing error

Post by Hillie »

It may not be Java related, but sdccp simply causes the problem.
Hillie
Posts: 25
Joined: 15 Nov 2018 14:11

Re: Latest Java update causes prerpocessing error

Post 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.
Post Reply