Arduino Error Compiling

Having a problem? Post it here and someone will be along shortly to help
Post Reply
Druk Gyalpo
Noob
Posts: 2
Joined: Sun Jul 07, 2013 12:25 am

Arduino Error Compiling

Post by Druk Gyalpo »

So I'm still working on the first version of the Rostock Max and I'm trying to set up the Arduino software. I set up the correct serial port and selected Arduino Mega 2560/ Mega ADK for my board. Then I clicked the upload button and this popped up in the error compiling.

core.a(main.cpp.o): In function `main':
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:5: undefined reference to `setup'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:15: undefined reference to `loop'
jake
Prints-a-lot
Posts: 24
Joined: Tue Jan 01, 2013 5:45 pm

Re: Arduino Error Compiling

Post by jake »

did you hit compile the button next to it first?
geneb
ULTIMATE 3D JEDI
Posts: 5358
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: Arduino Error Compiling

Post by geneb »

What version of the Arduino IDE are you using?
What firmware are you using? Where did you download it from?

g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
User avatar
kbob
Printmaster!
Posts: 286
Joined: Tue May 28, 2013 4:27 am
Location: Eugene, OR, US

Re: Arduino Error Compiling

Post by kbob »

Druk Gyalpo wrote:So I'm still working on the first version of the Rostock Max and I'm trying to set up the Arduino software. I set up the correct serial port and selected Arduino Mega 2560/ Mega ADK for my board. Then I clicked the upload button and this popped up in the error compiling.

core.a(main.cpp.o): In function `main':
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:5: undefined reference to `setup'
C:\Program Files (x86)\Arduino\hardware\arduino\cores\arduino/main.cpp:15: undefined reference to `loop'
You have not yet loaded a project into the Arduino IDE. See here.

http://forum.seemecnc.com/viewtopic.php ... 588#p15588
User avatar
grimmindustries
Printmaster!
Posts: 46
Joined: Wed Jan 01, 2014 9:45 pm
Location: New Orleans, LA
Contact:

Re: Arduino Error Compiling

Post by grimmindustries »

Thank you, I had the same error and this fixed it.
Orenfor
Printmaster!
Posts: 72
Joined: Sat Oct 26, 2013 3:31 am

Re: Arduino Error Compiling

Post by Orenfor »

all of you that use arduino - when i try to use it on my self build delta, it's work only with arduino 023 and didn't work with arduino 1.0.5
Post Reply

Return to “Troubleshooting”