Error message for all code

Hi, i get the same error message for all my code. Code that has previously compiled now fails.
This is the result trying to compile blink.
Message, var/folders/nx/r2g52nz93r51q9v39z22q0h00000gn/T/arduino_build_654543/sketch/Blink.ino.cpp:1:21: fatal error: Arduino.h: No such file or directoryAlternatives for Arduino.h: []

#include <Arduino.h>
^ResolveLibrary(Arduino.h)

compilation terminated.
-> candidates: []
exit status 1
Error compiling for board Generic STM32F103C6/fake STM32F103C8.

IDE 1.8.13, mac catalina, serial upload, blue pill board.
Any idea appreiated.

Hi,
Have you updated your IDE and it now won't compile?
OR
Have you had code compile on this version IDE successfully before?

You may have to re-install the IDE, as it seems to not be able to find a file.

Tom.... :grinning: :+1: :coffee: :australia:

Hi Tom, thanks for the reply.

I have not updated the IDE, i have used this version for some time, with no issues. I have re-installed the IDE but it will not compile anything, even a new project will not compile.

regards

Does something simple like Blink compile with Uno set as the target ?

Hi, Yes, blink compiles with target set as Uno

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