Compile Error on web, no error when pulled to local ide

My code... created on the full web editor, refuses to compile as it doesn't see...

<avr/io.h>

...as seen below in the errors

The avr.zip is in my custom libraries. It is definitely there.

For a laugh I pulled it to the windows ide (2.2.1) and it just compiles with no errors. I've been trying to sort it for a couple of days now and I'm at a loss. It feels like there are errors in the web editor code itself so I contacted support but I got nothing tangeble or relevant.

This does seem like a similar error but it's like 5 years old...
https://forum.arduino.cc/t/error-compiling-any-code-with-web-editor-even-proved-code/553916

/usr/local/bin/arduino-cli compile --fqbn arduino:renesas_uno:unor4wifi --build-cache-path /tmp --output-dir /tmp/1885243391/build --build-path /tmp/arduino-build-67651980C6CFA094207A228EE68A6EFC --library /mnt/create-efs/webide/e4/e3/e4e332097f7d1e842b7858af6e2b7eb1:gtxviper/libraries_v2/Sensor_TempHumi_SHT35 --library /mnt/create-efs/webide/e4/e3/e4e332097f7d1e842b7858af6e2b7eb1:gtxviper/libraries_v2/Tuya_WiFi_MCU_SDK --library /mnt/create-efs/webide/e4/e3/e4e332097f7d1e842b7858af6e2b7eb1:gtxviper/libraries_v2/Wire --library /mnt/create-efs/webide/e4/e3/e4e332097f7d1e842b7858af6e2b7eb1:gtxviper/libraries_v2/avr /tmp/1885243391/SeshatDEVBOARD_v0.00_aug31a

/mnt/create-efs/webide/e4/e3/e4e332097f7d1e842b7858af6e2b7eb1:gtxviper/libraries_v2/Wire/src/utility/twi.c:26:10: fatal error: avr/io.h: No such file or directory

#include <avr/io.h>

^~~~~~~~~~

compilation terminated.

Multiple libraries were found for "EEPROM.h"

Used: /home/builder/.arduino15/packages/arduino/hardware/renesas_uno/1.0.2/libraries/EEPROM

Not used: /home/builder/opt/libraries/hello_drum_0_7_7

Not used: /home/builder/opt/libraries/arduino_nvm_0_9_1

Multiple libraries were found for "RTC.h"

Used: /home/builder/.arduino15/packages/arduino/hardware/renesas_uno/1.0.2/libraries/RTC

Not used: /home/builder/opt/libraries/m5stickcplus_0_1_0

Not used: /home/builder/opt/libraries/m5station_0_0_1

Not used: /home/builder/opt/libraries/m5stickc_0_2_9

Not used: /home/builder/opt/libraries/m5core2_0_1_6

Error during build: exit status 1

On a second note... I have no idea how to get rid of the multiple libraries error on the full web editor? It doesn't appear when pulled and compiled locally. Is it possible to stop it or can I just ignore it? I suppose I could just create my own custom named library?

The error says that the compiler is not able to find the header file.

Can you share the ZIP file of your library?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.