Skip to main content

Site Navigation

Your Account

Choose Language

Trying to compile Arduino Code - fails

I am trying to compile the Boxzy Arduino code and in doing so I get the error shown below.

I am running WIN10 with Arduino IDE Ver 1.8.7 (Didn’t try Ver 1.0.6 - error doesn’t seem to be related to EPROM table as the FAQ suggested)

The code seems to be from 12/21/2015 - is this the latest firmware or did I miss something?

Also, is there some place for any additions for this code (i.e. hacks / additions/ etc)?

Error below:

Arduino: 1.8.7 (Windows 10), TD: 1.44, Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Build options changed, rebuilding all

C:\Users\UserMe\AppData\Local\Temp\cccxpTyF.ltrans3.ltrans.o: In function `setTimer(unsigned long)':

<artificial>:(.text+0x10): undefined reference to `stepperWait'

<artificial>:(.text+0x14): undefined reference to `stepperWait'

<artificial>:(.text+0x18): undefined reference to `stepperWait'

<artificial>:(.text+0x48): undefined reference to `stepperWait'

<artificial>:(.text+0x4c): undefined reference to `stepperWait'

C:\Users\UserMe\AppData\Local\Temp\cccxpTyF.ltrans3.ltrans.o:<artificial>:(.text+0x50): more undefined references to `stepperWait' follow

collect2.exe: error: ld returned 1 exit status

exit status 1

Error compiling for board Arduino/Genuino Mega or Mega 2560.

This report would have more information with

"Show verbose output during compilation"

option enabled in File -> Preferences.


Answered! View the answer I have this problem too

Is this a good question?

Score 0
Add a comment

2 Answers

Chosen Solution

This is very likely from using 1.8.7. The issues it has are during programming. It's odd that your EEPROM will allow you to program, and not the Arduino, usually they go together, but if it's throwing compiling errors, it's usually the later version causing it.

That is the latest firmware for BoXZY 1.3 or older. Most hacks and additions people play with are already written into the firmware and commented out, for experimental use.

Was this answer helpful?

Score 1
Add a comment

I did revert back to Ver 1.0.6 and it did compile correctly. Could not program the unit as WIN10 has driver issues with the older software - it thinks the COM2 port is always busy with nothing else on the system. Typical WIN10 crap OS problems. Will try installing it on a WINXP system - if that fails, back to LINUX to fix it. Will post the final success path to this problem when I find it.

Is there an upgrade to the newer controller (as you referred to BOXZY 1.3 or older) or are there too many hardware changes to make this practical?


Was this answer helpful?

Score 0


SUCCESS! - I did install Arduino Ver 1.0.6 on a WINXP system and was successful in compiling with no errors and downloading it to an MEGA 2560 board. They do have a LINUX version of the 1.0.6 if anyone wants to follow that path as well.


Add a comment

Add your answer

John Gibbons will be eternally grateful.
View Statistics:

Past 24 Hours: 0

Past 7 Days: 0

Past 30 Days: 6

All Time: 49