Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ld.exe: cannot find crt1-sim.o #15

Closed
kevinkey619 opened this issue Nov 4, 2021 · 1 comment
Closed

ld.exe: cannot find crt1-sim.o #15

kevinkey619 opened this issue Nov 4, 2021 · 1 comment

Comments

@kevinkey619
Copy link

Hi,

I've spent hours trying trying to make this work, but no such luck. Do I have a defective board?
Arduino: 1.8.15 (Windows 10), Board: "SparkFun ESP32 Thing, 80MHz, Default, 921600, None"

C:\Users\kevin\OneDrive\Documents\SmartShuntWiFi\SmartShuntWiFi.ino:138:32: warning: multi-character character constant [-Wmultichar]

 val = Vser.readStringUntil('\r\r\n');              // this is the line that reads the value of the label

                            ^

C:\Users\kevin\OneDrive\Documents\SmartShuntWiFi\SmartShuntWiFi.ino: In function 'void loop()':

C:\Users\kevin\OneDrive\Documents\SmartShuntWiFi\SmartShuntWiFi.ino:138:40: warning: large integer implicitly truncated to unsigned type [-Woverflow]

 val = Vser.readStringUntil('\r\r\n');              // this is the line that reads the value of the label

                                    ^

At global scope:

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

Multiple libraries were found for "WiFiUdp.h"

Used: C:\Users\kevin\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.0\libraries\WiFi

Not used: C:\Program Files (x86)\Arduino\libraries\WiFi

Not used: C:\Users\kevin\OneDrive\Documents\Arduino\libraries\WiFi

Not used: C:\Users\kevin\OneDrive\Documents\Arduino\libraries\WiFiEspAT

Multiple libraries were found for "SoftwareSerial.h"

Used: C:\Users\kevin\OneDrive\Documents\Arduino\libraries\EspSoftwareSerial

Not used: C:\Users\kevin\OneDrive\Documents\Arduino\libraries\espsoftwareserial-master

exit status 1

Error compiling for board SparkFun ESP32 Thing.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

@kevinkey619
Copy link
Author

Ended up uninstalling Arduino IDE, purging all related files, reinstalling, and the errors went away. Not only that, the thing compiled! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant