Compilation error - multiple-dynamic-1-wire-ds18b20-temperature-sensors

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
strips
Posts: 2
Joined: 18 Feb 2019 09:32

Compilation error - multiple-dynamic-1-wire-ds18b20-temperature-sensors

Post by strips » 18 Feb 2019 22:53

Hi,

Looking to use 8 temp sensors but can not even compile the sample code. Downloaded sample https://z-uno.z-wave.me/examples/multip ... e-sensors/. Compilation fails without any changes to code.

More info:
Z-Uno bootloader version:2.1.4
Fresh install of Arduino 1.8.8
Macbook Pro - High Sierra 10.13.6

Connected peripherals:
Not applicable, won't compile

Error message:

Code: Select all

member reference type '_xd_ZUNOChannelHandler_t' (aka 'ZUNOChannelHandler_s') is not a pointer; did you mean to use '.'?
Compiler log:

Code: Select all

/Applications/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/strips/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/strips/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/strips/Documents/Arduino/libraries -fqbn=Z-Uno:zw8051:zuno:Frequency=Eu,Security=Off,MuliCommand=Off,LogOutput=RUART,NVMClean=Off -vid-pid=0X0658_0X0200 -ide-version=10808 -build-path /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216 -warnings=none -build-cache /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_cache_448648 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.zuno_toolchain.path=/Users/strips/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70 -prefs=runtime.tools.zuno_toolchain-00.08.70.path=/Users/strips/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70 -verbose /Users/strips/Documents/Arduino/zuno/samples/multiple_dynamic_ds18b20/multiple_dynamic_ds18b20.ino
/Applications/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware /Applications/Arduino.app/Contents/Java/hardware -hardware /Users/strips/Library/Arduino15/packages -tools /Applications/Arduino.app/Contents/Java/tools-builder -tools /Applications/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/strips/Library/Arduino15/packages -built-in-libraries /Applications/Arduino.app/Contents/Java/libraries -libraries /Users/strips/Documents/Arduino/libraries -fqbn=Z-Uno:zw8051:zuno:Frequency=Eu,Security=Off,MuliCommand=Off,LogOutput=RUART,NVMClean=Off -vid-pid=0X0658_0X0200 -ide-version=10808 -build-path /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216 -warnings=none -build-cache /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_cache_448648 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.zuno_toolchain.path=/Users/strips/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70 -prefs=runtime.tools.zuno_toolchain-00.08.70.path=/Users/strips/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70 -verbose /Users/strips/Documents/Arduino/zuno/samples/multiple_dynamic_ds18b20/multiple_dynamic_ds18b20.ino
Using board 'zuno' from platform in folder: /Users/strips/Library/Arduino15/packages/Z-Uno/hardware/zw8051/2.1.4
Using core 'zuno' from platform in folder: /Users/strips/Library/Arduino15/packages/Z-Uno/hardware/zw8051/2.1.4
Build options changed, rebuilding all
Detecting libraries used...
/Users/strips/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/compiler arduino_preproc /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/sketch/multiple_dynamic_ds18b20.ino.cpp -r /Users/strips/Library/Arduino15/packages/Z-Uno/hardware/zw8051/2.1.4
/var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216
Found 1.8.x project structure (File:multiple_dynamic_ds18b20.ino.cpp). Converting it...
Error while detecting libraries included by /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/sketch/multiple_dynamic_ds18b20.ino.cpp
Generating function prototypes...
/Users/strips/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/compiler arduino_preproc /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/sketch/multiple_dynamic_ds18b20.ino.cpp -r /Users/strips/Library/Arduino15/packages/Z-Uno/hardware/zw8051/2.1.4
/var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216
Found 1.8.x project structure (File:multiple_dynamic_ds18b20.ino.cpp). Converting it...
           
/Applications/Arduino.app/Contents/Java/tools-builder/ctags/5.8-arduino11/ctags -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/preproc/ctags_target_for_gcc_minus_e.cpp
Compiling sketch...
/Users/strips/Library/Arduino15/packages/Z-Uno/tools/zuno_toolchain/00.08.70/zuno_toolchain/compiler build /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/multiple_dynamic_ds18b20.ino -r /Users/strips/Library/Arduino15/packages/Z-Uno/hardware/zw8051/2.1.4 -i1_8 -idv 10808

	************* Building Arduino Sketch *************
	/var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/multiple_dynamic_ds18b20.ino
	***************************************************

	 --- USING a list of libraries from:
		/Users/strips/Library/Arduino15/packages/Z-Uno/hardware/zw8051/2.1.4/libraries
		/Users/strips/Documents/Arduino/libraries
	*** Collecting prototypes...
Preprocessing file: /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/Custom.c with SDCPP... 

Preprocessing file: /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/Print.cpp with SDCPP... 
Compiling /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/Print_sdcpp_.cpp ...
Preprocessing file: /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/Stream.cpp with SDCPP... 
Compiling /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/Stream_sdcpp_.cpp ...
Preprocessing file: /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/HardwareSerial.cpp with SDCPP... 
Compiling /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/HardwareSerial_sdcpp_.cpp ...
Preprocessing file: /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/HLCore.cpp with SDCPP... 
Compiling /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/HLCore_sdcpp_.cpp ...
Preprocessing file: /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/ZUNO_OneWire.cpp with SDCPP... 
Compiling /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/ZUNO_OneWire_sdcpp_.cpp ...
Preprocessing file: /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/ZUNO_DS18B20.cpp with SDCPP... 
Compiling /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/ZUNO_DS18B20_sdcpp_.cpp ...
Preprocessing file: /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/multiple_dynamic_ds18b20.cpp with SDCPP... 
Compiling /var/folders/mb/2b4jq2ps5gj806f9xst25dzc0000gn/T/arduino_build_685216/multiple_dynamic_ds18b20_sdcpp_.cpp ...
multiple_dynamic_ds18b20:62:31: error: member reference type '_xd_ZUNOChannelHandler_t' (aka 'ZUNOChannelHandler_s') is not a pointer; did you mean to use '.'?
multiple_dynamic_ds18b20:65:18: error: member reference type '_xd_ZUNOChannelHandler_t' (aka 'ZUNOChannelHandler_s') is not a pointer; did you mean to use '.'?

uCxx returned error code:1

exit status 1
member reference type '_xd_ZUNOChannelHandler_t' (aka 'ZUNOChannelHandler_s') is not a pointer; did you mean to use '.'?

aleconakad
Posts: 29
Joined: 18 Jan 2016 15:25

Re: Compilation error - multiple-dynamic-1-wire-ds18b20-temperature-sensors

Post by aleconakad » 19 Feb 2019 16:34

Did you try with Arduino 1.8.5?
I had only bad experience and strange behaviors with the 1.8.8, so I went back to 1.8.5.

strips
Posts: 2
Joined: 18 Feb 2019 09:32

Re: Compilation error - multiple-dynamic-1-wire-ds18b20-temperature-sensors

Post by strips » 20 Feb 2019 13:34

Thanks, will try 1.8.5

Post Reply