Page 1 of 1

V2.1.0 no longer compiling

Posted: 18 Oct 2017 01:17
by jfngw
I have been using V2.1.0 on Mint18.2 for around a month. Today it stopped compiling, generates following error using simpledimmer example. Removed all directories and reinstalled, no change, can't get a compilation.

Code: Select all

Arduino: 1.6.5 (Linux), Board: "Z-Wave>ME Z-Uno, Europe, Disabled, Disabled"

/home/jim/.arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.50/zuno_toolchain/compiler build /tmp/build6917524018424892759.tmp/SimpleDimmer.cpp -r /home/jim/.arduino15/packages/Z-Uno/hardware/zw8051/2.1.0 

	************* Building Arduino Sketch *************
	/tmp/build6917524018424892759.tmp/SimpleDimmer.cpp
	***************************************************

Preprocessing file: /tmp/build6917524018424892759.tmp/Custom.c with SDCPP... 

Preprocessing file: /tmp/build6917524018424892759.tmp/Print.cpp with SDCPP... 
Compiling /tmp/build6917524018424892759.tmp/Print_sdcpp_.cpp ...
Preprocessing file: /tmp/build6917524018424892759.tmp/Stream.cpp with SDCPP... 
Compiling /tmp/build6917524018424892759.tmp/Stream_sdcpp_.cpp ...
Preprocessing file: /tmp/build6917524018424892759.tmp/HardwareSerial.cpp with SDCPP... 
Compiling /tmp/build6917524018424892759.tmp/HardwareSerial_sdcpp_.cpp ...
Preprocessing file: /tmp/build6917524018424892759.tmp/HLCore.cpp with SDCPP... 
Compiling /tmp/build6917524018424892759.tmp/HLCore_sdcpp_.cpp ...
Preprocessing file: /tmp/build6917524018424892759.tmp/SimpleDimmer.cpp with SDCPP... 
Compiling /tmp/build6917524018424892759.tmp/SimpleDimmer_sdcpp_.cpp ...
SimpleDimmer.ino:60:22:error:member reference type 'ZUNOChannelHandler_t *' (aka 'ZUNOChannelHandler_s *') is a pointer; did you mean to use '->'?
SimpleDimmer.ino:63:17:error:member reference type 'ZUNOChannelHandler_t *' (aka 'ZUNOChannelHandler_s *') is a pointer; did you mean to use '->'?
SimpleDimmer.ino:66:24:error:member reference type 'ZUNOChannelHandler_t *' (aka 'ZUNOChannelHandler_s *') is a pointer; did you mean to use '->'?

uCxx returned error code:1

member reference type 'ZUNOChannelHandler_t *' (aka 'ZUNOChannelHandler_s *') is a pointer; did you mean to use '->'?
Installing V2.1.1 allows compilation without any errors on arduino1.6.5, errors on 1.8.5.

I would use v2.1.1 but your release mentions change of EEPROM address, but I can't find any mention of new address range.

Re: V2.1.0 no longer compiling

Posted: 18 Oct 2017 02:15
by PoltoS
Please use v2.1.1 if possible. As for the EEPROM, you just need to know that same sketch passing from v2.1.0 to v2.1.1 will loose the EEPROM data (only during transision). After that everything will be ok.