I am new to working with Arduino and need some help understanding how to fix my issue.
I am trying to use my Arduino Uno as a bootloader for my 3D printer and am following the youtube video shown in the attached images.
I am following the directions and everything is going great except for when I go to compile my sketch. I get the following error code, "Exit Status 1, Error Compiling for Board Sanguino". More specifically, the error code that I am receiving is shown below.
Also, I followed another thread about this topic and tried to update the programming with the information that the thread said fixed the problem. I received an additional problem. I included the programming in the attachment and highlighted the info I am concerned with.
Lastly, can someone please explain how to get additional libraries? I know this deviates from the original topic; however, this confuses me too.
Thanks in advance for your help and just to be clear I am only looking for help with my Arduino equipment and understanding why I am unable to verify/compile the sketch.
Arduino: 1.8.11 (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"
C:\Users\Lansdale\AppData\Local\Temp\cc1QqY7R.ltrans0.ltrans.o: In function `setTimer(unsigned long)':
sketch/HAL.cpp:662: undefined reference to `stepperWait'
sketch/HAL.cpp:662: undefined reference to `stepperWait'
sketch/HAL.cpp:662: undefined reference to `stepperWait'
sketch/HAL.cpp:662: undefined reference to `stepperWait'
sketch/HAL.cpp:662: undefined reference to `stepperWait'
C:\Users\Lansdale\AppData\Local\Temp\cc1QqY7R.ltrans0.ltrans.o:sketch/HAL.cpp:662: more undefined references to `stepperWait' follow
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Sanguino.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
sean-p:
am following the youtube video shown in the attached images.
Please post a link to the YouTube video.
sean-p:
I included the programming in the attachment
Please don't post pictures of text. That is very unhelpful.
Please post your full sketch.
If possible, you should always post code directly in the forum thread as text using code tags:
Do an Auto Format (Tools > Auto Format in the Arduino IDE or Ctrl + B in the Arduino Web Editor) on your code. This will make it easier for you to spot bugs and make it easier for us to read.
In the Arduino IDE or Arduino Web Editor, click on the window that contains your sketch code.
Press "Ctrl + A". This will select all the text.
Press "Ctrl + C". This will copy the selected text to the clipboard.
In a forum reply here, click the "Reply" button.
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 sketch between the code tags.
Move the cursor outside of the code tags before you add any additional text to your reply.
Repeat the above process if your sketch has multiple tabs.
This will make it easy for anyone to look at it, which will increase the likelihood of you getting help.
If the sketch is longer than the 9000 characters maximum allowed by the forum, then it's OK to add it as an attachment. After clicking the "Reply" button, you will see an "Attachments and other settings" link.
When your code requires a library that's not included with the Arduino IDE please post a link (using the chain links icon on the forum toolbar to make it clickable) to where you downloaded that library from or if you installed it using Library Manger (Sketch > Include Library > Manage Libraries in the Arduino IDE or Libraries > Library Manager in the Arduino Web Editor) then say so and state the full name of the library.
sean-p:
Lastly, can someone please explain how to get additional libraries?