V2.1.0 no longer compiling

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
jfngw
Posts: 5
Joined: 17 Oct 2017 23:55

V2.1.0 no longer compiling

Post 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.
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: V2.1.0 no longer compiling

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