I am not a first day beginner but still in the class nonetheless. I picked up the Grove beginner kit because it's a heck of deal and I need the practice with OLED and I2C in general.
I updated the USB driver as Seeed instructed. The 2.0 recognizes the board but when trying to compile, I get the following error:
c:/users/burne/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
The board functions in the original IDE, latest version. I know this isn't a high priority, but does anyone see or know anything that I can try to remedy this error? I really enjoy the 2.0.
Hi @burnermaster. I'm going to ask you to post some additional information that might help us to identify the problem.
Please start the original Arduino IDE and do this:
(In the Arduino IDE) click File > Preferences
Check the box next to "Show verbose output during: > compilation
Sketch > Verify/Compile
After the compilation fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
In a forum reply here, click on the reply field.
Click the </> button on the forum toolbar. This will add the forum's code tags markup to your reply.
Press "Ctrl + V". This will paste the compilation output between the code tags.
Move the cursor outside of the code tags before you add any additional text to your reply.
If the length of the output exceeds the forum's 9000 character limit, save it in a .txt file and post it here as an attachment. If you click the "Reply" button you'll see the "Attachment and other options" link that will allow you to make the attachment.
The idea is to try to figure out what might be different between the compilation between two Arduino IDE versions. This will likely lead us to understanding the cause of the error.