Closed dj1ch closed 7 months ago
my assumption is the arduinojson version in the editor vs the application, though it could be that the board is not available(i use the clone)
from the look of it, no sort of way to fix it. most likely just an issue with the editor itself
/usr/local/bin/arduino-cli compile --fqbn esp8266:esp8266:d1_mini_lite:baud=921600,dbg=Disabled,eesz=1M,exception=disabled,ip=lm2f,lvl=None____,vt=flash,wipe=none,xtal=80 --build-cache-path /tmp --output-dir /tmp/1561535064/build --build-path /tmp/arduino-build-6FE5A0DE4EA6426ABEECC04BF50195A9 /tmp/1561535064/minigotchi
/tmp/1561535064/minigotchi/minigotchi.ino:8:19: fatal error: webui.h: No such file or directory
^
compilation terminated.
Multiple libraries were found for "ArduinoJson.h"
Used: /home/builder/opt/libraries/arduinojson_6_21_4
Not used: /home/builder/opt/libraries/coogleiot_1_3_1
Not used: /home/builder/opt/libraries/thingesp_1_3_0
Not used: /home/builder/opt/libraries/allthingstalk_lte_m_sdk_2_0_4
Not used: /home/builder/opt/libraries/balemessengerbot_arduino_0_1_0
Not used: /home/builder/opt/libraries/thingsiot_1_2_0
Not used: /home/builder/opt/libraries/iotkme_3_0_1
Not used: /home/builder/opt/libraries/antares_esp8266_mqtt_0_9_2
Not used: /home/builder/opt/libraries/antares_esp8266_http_1_3_3
Not used: /home/builder/opt/libraries/cmmc_mqtt_connector_1_3_3
Error during build: exit status 1
looks like it got updated/fixed for the most part, although these libraries might be an ongoing issue. 100% a library issue. also ignore that other error, i just didn't import that other file
Describe the bug Main developer here. There are multiple library issues in the web editor. I am unaware on how this happened. You can compile using the actual Arduino IDE application
To Reproduce Steps to reproduce the behavior:
Expected behavior To compile correctly
Logs /usr/local/bin/arduino-cli compile --fqbn esp8266:esp8266:d1_mini_lite:baud=921600,dbg=Disabled,eesz=1M,exception=disabled,ip=lm2f,lvl=None____,vt=flash,wipe=none,xtal=80 --build-cache-path /tmp --output-dir /tmp/1810650504/build --build-path /tmp/arduino-build-6FE5A0DE4EA6426ABEECC04BF50195A9 /tmp/1810650504/minigotchi
In file included from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Numbers/FloatTraits.hpp:13:0,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Numbers/convertNumber.hpp:15,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/VariantData.hpp:9,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/VariantFunctions.hpp:9,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/JsonVariantConst.hpp:15,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/VariantRefBase.hpp:9,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Array/ElementProxy.hpp:7,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Array/JsonArray.hpp:7,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson.hpp:29,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson.h:9,
from /tmp/1810650504/minigotchi/packet.h:8,
from /tmp/1810650504/minigotchi/packet.cpp:3:
/home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Polyfills/pgmspace_generic.hpp: In instantiation of 'const T ArduinoJson::V6213PB2::detail::pgm_read(const T const*) [with T = char]':
/home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Deserialization/DeserializationError.hpp:85:42: required from here
/home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Polyfills/pgmspace_generic.hpp:25:52: error: 'const void*' is not a pointer-to-object type
return reinterpret_cast<const T*>(pgm_read_ptr(p));
^
In file included from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Numbers/FloatTraits.hpp:13:0,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Numbers/convertNumber.hpp:15,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/VariantData.hpp:9,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/VariantFunctions.hpp:9,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/JsonVariantConst.hpp:15,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/VariantRefBase.hpp:9,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Array/ElementProxy.hpp:7,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Array/JsonArray.hpp:7,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson.hpp:29,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson.h:9,
from /tmp/1810650504/minigotchi/packet.h:8,
from /tmp/1810650504/minigotchi/minigotchi.ino:5:
/home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Polyfills/pgmspace_generic.hpp: In instantiation of 'const T ArduinoJson::V6213PB2::detail::pgm_read(const T const*) [with T = char]':
/home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Deserialization/DeserializationError.hpp:85:42: required from here
/home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Polyfills/pgmspace_generic.hpp:25:52: error: 'const void*' is not a pointer-to-object type
return reinterpret_cast<const T*>(pgm_read_ptr(p));
^
In file included from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Numbers/FloatTraits.hpp:13:0,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Numbers/convertNumber.hpp:15,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/VariantData.hpp:9,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/VariantFunctions.hpp:9,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/JsonVariantConst.hpp:15,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Variant/VariantRefBase.hpp:9,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Array/ElementProxy.hpp:7,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Array/JsonArray.hpp:7,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson.hpp:29,
from /home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson.h:9,
from /tmp/1810650504/minigotchi/pwnagotchi.cpp:4:
/home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Polyfills/pgmspace_generic.hpp: In instantiation of 'const T ArduinoJson::V6213PB2::detail::pgm_read(const T const*) [with T = char]':
/home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Deserialization/DeserializationError.hpp:85:42: required from here
/home/builder/Arduino/libraries/arduinojson_6_21_3/src/ArduinoJson/Polyfills/pgmspace_generic.hpp:25:52: error: 'const void*' is not a pointer-to-object type
return reinterpret_cast<const T*>(pgm_read_ptr(p));
^
Multiple libraries were found for "ArduinoJson.h"
Used: /home/builder/opt/libraries/arduinojson_6_21_3
Not used: /home/builder/opt/libraries/thingesp_1_3_0
Not used: /home/builder/opt/libraries/balemessengerbot_arduino_0_1_0
Not used: /home/builder/opt/libraries/iotkme_3_0_1
Not used: /home/builder/opt/libraries/antares_esp8266_mqtt_0_9_2
Not used: /home/builder/opt/libraries/cmmc_mqtt_connector_1_3_3
Not used: /home/builder/opt/libraries/allthingstalk_lte_m_sdk_2_0_4
Not used: /home/builder/opt/libraries/antares_esp8266_http_1_3_3
Not used: /home/builder/opt/libraries/thingsiot_1_2_0
Not used: /home/builder/opt/libraries/coogleiot_1_3_1
Error during build: exit status 1