Cannot find crt1-sim.o: No such file or directory

What am I doing wrong? I keep getting the below errors?

cc1plus.exe: warning: unrecognized command line option '-Wno-frame-address'
c:/users/kevin/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find crt1-sim.o: No such file or directory
c:/users/kevin/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-97-gc752ad5-5.2.0/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: cannot find _vectors.o: No such file or directory
collect2.exe: error: ld returned 1 exit status

Hi, @kevink619
Welcome to the forum.

Please read the post at the start of any forum , entitled "How to use this Forum".

This will help with advice on how to present your code and problems.

With out your code we will have a hard time working out your problem.

What model Arduino are you programming for?
What OS are you running?
What version of the IDE are you using?
Can you please tell us your electronics, programming, arduino, hardware experience?

Thanks.. Tom... :smiley: :+1: :coffee: :australia:

It looks like a version mismatch between the version of the espressif build environment you have and the one used for the code you are compiling.

Hello John, I'v the same problem.
I was working and one day this error appeared.
I'm using Arduino ide with the ESP espressif board installed.
Where is the matching between the espressif build env and the code used?

Do you have the latest versions installed?
esp32 2.0.1
esp8266 3.0.2

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