Open youxiaojie opened 3 years ago
Arduino: 1.8.15 (Linux), Board: "ATmega328, Yes (UART0), EEPROM retained, 328P / 328PA, BOD 2.7V, LTO disabled, External 16 MHz"
arduino-builder -dump-prefs -logger=machine -hardware /usr/share/arduino/hardware -hardware /home/allan/.arduino15/packages -tools /usr/share/arduino/hardware/tools/avr -tools /home/allan/.arduino15/packages -libraries /home/allan/Arduino/libraries -fqbn=MiniCore:avr:328:bootloader=uart0,eeprom=keep,variant=modelP,BOD=2v7,LTO=Os,clock=16MHz_external -ide-version=10815 -build-path /tmp/arduino_build_700055 -warnings=default -build-cache /tmp/arduino_cache_686991 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/home/allan/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino18 -prefs=runtime.tools.avrdude-6.3.0-arduino18.path=/home/allan/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino18 -prefs=runtime.tools.avr-gcc.path=/home/allan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/home/allan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=/home/allan/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=/home/allan/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -verbose /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/examples/UbidotsGetValue/UbidotsGetValue.ino arduino-builder -compile -logger=machine -hardware /usr/share/arduino/hardware -hardware /home/allan/.arduino15/packages -tools /usr/share/arduino/hardware/tools/avr -tools /home/allan/.arduino15/packages -libraries /home/allan/Arduino/libraries -fqbn=MiniCore:avr:328:bootloader=uart0,eeprom=keep,variant=modelP,BOD=2v7,LTO=Os,clock=16MHz_external -ide-version=10815 -build-path /tmp/arduino_build_700055 -warnings=default -build-cache /tmp/arduino_cache_686991 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/home/allan/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino18 -prefs=runtime.tools.avrdude-6.3.0-arduino18.path=/home/allan/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino18 -prefs=runtime.tools.avr-gcc.path=/home/allan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/home/allan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=/home/allan/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=/home/allan/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -verbose /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/examples/UbidotsGetValue/UbidotsGetValue.ino Using board '328' from platform in folder: /home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3 Using core 'MCUdude_corefiles' from platform in folder: /home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3 Warning: platform.txt from core 'MiniCore' contains deprecated compiler.path={runtime.tools.avr-gcc.path}/bin/, automatically converted to compiler.path=/usr/bin/. Consider upgrading this core. Detecting libraries used... "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/Dhcp.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/Dns.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/Ethernet.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/EthernetClient.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/EthernetServer.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/EthernetUdp.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/socket.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/utility/w5100.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src/SPI.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src/UbidotsEthernet.cpp" -o "/dev/null" Generating function prototypes... "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/tmp/arduino_build_700055/preproc/ctags_target_for_gcc_minus_e.cpp" "/usr/bin/arduino-ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/tmp/arduino_build_700055/preproc/ctags_target_for_gcc_minus_e.cpp" Compiling sketch... "/usr/bin/avr-g++" -c -g -Os -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp.o" /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/examples/UbidotsGetValue/UbidotsGetValue.ino: In function ‘void loop()’: UbidotsGetValue:44:61: error: invalid conversion from ‘const char’ to ‘char’ [-fpermissive] float value = client.getValue(DEVICE_LABEL, VARIABLE_LABEL); ^ In file included from /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/examples/UbidotsGetValue/UbidotsGetValue.ino:6:0: /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src/UbidotsEthernet.h:55:11: note: initializing argument 1 of ‘float Ubidots::getValue(char, char)’ float getValue(char device_label, char variable_label); ^ UbidotsGetValue:44:61: error: invalid conversion from ‘const char’ to ‘char’ [-fpermissive] float value = client.getValue(DEVICE_LABEL, VARIABLE_LABEL); ^ In file included from /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/examples/UbidotsGetValue/UbidotsGetValue.ino:6:0: /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src/UbidotsEthernet.h:55:11: note: initializing argument 2 of ‘float Ubidots::getValue(char, char)’ float getValue(char device_label, char variable_label); ^ Using library Ethernet at version 2.0.0 in folder: /home/allan/Arduino/libraries/Ethernet Using library SPI at version 1.0 in folder: /home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI Using library ubidots-arduino-ethernet-master at version 2.0.0 in folder: /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master exit status 1 invalid conversion from ‘const char’ to ‘char’ [-fpermissive]
float value = client.getValue(DEVICE_LABEL, VARIABLE_LABEL);
fixed! https://github.com/ubidots/ubidots-arduino-ethernet/pull/13 https://github.com/ubidots/ubidots-arduino-ethernet/pull/12
Arduino: 1.8.15 (Linux), Board: "ATmega328, Yes (UART0), EEPROM retained, 328P / 328PA, BOD 2.7V, LTO disabled, External 16 MHz"
arduino-builder -dump-prefs -logger=machine -hardware /usr/share/arduino/hardware -hardware /home/allan/.arduino15/packages -tools /usr/share/arduino/hardware/tools/avr -tools /home/allan/.arduino15/packages -libraries /home/allan/Arduino/libraries -fqbn=MiniCore:avr:328:bootloader=uart0,eeprom=keep,variant=modelP,BOD=2v7,LTO=Os,clock=16MHz_external -ide-version=10815 -build-path /tmp/arduino_build_700055 -warnings=default -build-cache /tmp/arduino_cache_686991 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/home/allan/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino18 -prefs=runtime.tools.avrdude-6.3.0-arduino18.path=/home/allan/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino18 -prefs=runtime.tools.avr-gcc.path=/home/allan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/home/allan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=/home/allan/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=/home/allan/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -verbose /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/examples/UbidotsGetValue/UbidotsGetValue.ino arduino-builder -compile -logger=machine -hardware /usr/share/arduino/hardware -hardware /home/allan/.arduino15/packages -tools /usr/share/arduino/hardware/tools/avr -tools /home/allan/.arduino15/packages -libraries /home/allan/Arduino/libraries -fqbn=MiniCore:avr:328:bootloader=uart0,eeprom=keep,variant=modelP,BOD=2v7,LTO=Os,clock=16MHz_external -ide-version=10815 -build-path /tmp/arduino_build_700055 -warnings=default -build-cache /tmp/arduino_cache_686991 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=/home/allan/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino18 -prefs=runtime.tools.avrdude-6.3.0-arduino18.path=/home/allan/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino18 -prefs=runtime.tools.avr-gcc.path=/home/allan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=/home/allan/.arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.arduinoOTA.path=/home/allan/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=/home/allan/.arduino15/packages/arduino/tools/arduinoOTA/1.3.0 -verbose /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/examples/UbidotsGetValue/UbidotsGetValue.ino Using board '328' from platform in folder: /home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3 Using core 'MCUdude_corefiles' from platform in folder: /home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3 Warning: platform.txt from core 'MiniCore' contains deprecated compiler.path={runtime.tools.avr-gcc.path}/bin/, automatically converted to compiler.path=/usr/bin/. Consider upgrading this core. Detecting libraries used... "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/Dhcp.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/Dns.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/Ethernet.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/EthernetClient.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/EthernetServer.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/EthernetUdp.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/socket.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/Ethernet/src/utility/w5100.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src/SPI.cpp" -o "/dev/null" "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src/UbidotsEthernet.cpp" -o "/dev/null" Generating function prototypes... "/usr/bin/avr-g++" -c -g -Os -w -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/tmp/arduino_build_700055/preproc/ctags_target_for_gcc_minus_e.cpp" "/usr/bin/arduino-ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "/tmp/arduino_build_700055/preproc/ctags_target_for_gcc_minus_e.cpp" Compiling sketch... "/usr/bin/avr-g++" -c -g -Os -std=gnu++17 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10815 -DARDUINO_AVR_ATmega328 -DARDUINO_ARCH_AVR "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/cores/MCUdude_corefiles" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/variants/standard" "-I/home/allan/Arduino/libraries/Ethernet/src" "-I/home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI/src" "-I/home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src" "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp" -o "/tmp/arduino_build_700055/sketch/UbidotsGetValue.ino.cpp.o" /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/examples/UbidotsGetValue/UbidotsGetValue.ino: In function ‘void loop()’: UbidotsGetValue:44:61: error: invalid conversion from ‘const char’ to ‘char’ [-fpermissive] float value = client.getValue(DEVICE_LABEL, VARIABLE_LABEL); ^ In file included from /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/examples/UbidotsGetValue/UbidotsGetValue.ino:6:0: /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src/UbidotsEthernet.h:55:11: note: initializing argument 1 of ‘float Ubidots::getValue(char, char)’ float getValue(char device_label, char variable_label); ^ UbidotsGetValue:44:61: error: invalid conversion from ‘const char’ to ‘char’ [-fpermissive] float value = client.getValue(DEVICE_LABEL, VARIABLE_LABEL); ^ In file included from /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/examples/UbidotsGetValue/UbidotsGetValue.ino:6:0: /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master/src/UbidotsEthernet.h:55:11: note: initializing argument 2 of ‘float Ubidots::getValue(char, char)’ float getValue(char device_label, char variable_label); ^ Using library Ethernet at version 2.0.0 in folder: /home/allan/Arduino/libraries/Ethernet Using library SPI at version 1.0 in folder: /home/allan/.arduino15/packages/MiniCore/hardware/avr/2.1.3/libraries/SPI Using library ubidots-arduino-ethernet-master at version 2.0.0 in folder: /home/allan/Arduino/libraries/ubidots-arduino-ethernet-master exit status 1 invalid conversion from ‘const char’ to ‘char’ [-fpermissive]
float value = client.getValue(DEVICE_LABEL, VARIABLE_LABEL);