Any program I run and attempt to compile I get this error:
c:/users/anton/appdata/local/arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino7/bin/…/lib/gcc/avr/7.3.0/…/…/…/…/avr/lib/avr5/crtatmega328p.o:(.init9+0x0): undefined reference to `main’
collect2.exe: error: ld returned 1 exit status
Compilation error: Error: 2 UNKNOWN: exit status 1
I recently got the beta and no matter what I do I had this (yes I restarted my pc) and I even download the latest Git (2.30.1) 64-bit.
What I Did:
Opened example ‘blink’ and clicked compile. Then I got this error.
- OS: Windows 10 Pro 64-bit
- Version of IDE: 2.0.0-beta3
This could be due to from when some notification occurred which I couldn’t figure out what it was for. I do remember that it led to this link. However, I don’t see this notification anymore?