Firmware upload error
Shop › Forum › Makelangelo Polargraph Art Robot › Firmware upload error
- This topic has 10 replies, 2 voices, and was last updated 8 years, 4 months ago by Anonymous.
-
AuthorPosts
-
2016-09-11 at 19:09 #10851AnonymousInactive
In uploading the firmware I am running into an error reading:
Arduino: 1.6.4 (Mac OS X), Board: “Arduino Uno”
firmware_ams.ino:142:43: fatal error: AFMotorDrawbot/AFMotorDrawbot.h: No such file or directory
compilation terminated.
Error compiling.This report would have more information with
“Show verbose output during compilation”
enabled in File > Preferences.does anyone know what is causing this ?
Many thanks in advance
2016-09-11 at 23:07 #10852DanKeymasterSome versions of Arduino software do treat the command
#include <>
the same as the rest.You’ll have to move the two ./AFMotorDrawbot/AFMotorDrawbot.* files to ./ and change the line that says
#include
to
#include
2016-09-17 at 16:44 #10949AnonymousInactiveCan you be just a touch more specific..
where is ./ ?
and are #include and #include not the same thing?
2016-09-17 at 17:46 #10950DanKeymaster./ means “this folder”. In this case, I assume you are looking at [some drive]/[some folders]/firmware_ams
2016-09-21 at 09:17 #10990AnonymousInactiveok my files are set up as follows:
documents/arduino/makelangelo-firmware/firmware_ams
in firmware_ams I have :
Adafruit_MotorShield (folder)
AFMotorDrawbot (folder)
firmware_ams.no
vector3.hfrom this tell me how to reconfigure. I still do not understand your instructions
2016-09-21 at 09:19 #10991DanKeymastertake the
documents/arduino/makelangelo-firmware/firmware_ams/AFMotorDrawbot/AFMotorDrawbot.*
files and move them to
documents/arduino/makelangelo-firmware/firmware_ams/AFMotorDrawbot.*
2016-09-21 at 09:26 #10992AnonymousInactiveWhen I do this I still get this message:
Arduino: 1.6.4 (Mac OS X), Board: “Arduino Uno”
firmware_ams.ino:142:43: fatal error: AFMotorDrawbot/AFMotorDrawbot.h: No such file or directory
compilation terminated.
Error compiling.2016-09-21 at 09:46 #10994DanKeymasterPlease get the latest firmware from the website. I moved files to solve this problem for you.
2016-09-21 at 10:01 #10996AnonymousInactiveThanks Dan,
Though after updating I now run into this error:
Arduino: 1.6.4 (Mac OS X), Board: “Arduino Uno”
AFMotorDrawbot/AFMotorDrawbot.cpp.o: In function `AFMotorController::AFMotorController()’:
/Users/austinredman/Documents/Arduino/libraries/AFMotorDrawbot/AFMotorDrawbot.cpp:29: multiple definition of `AFMotorController::AFMotorController()’
AFMotorDrawbot.cpp.o:AFMotorDrawbot.cpp:28: first defined here
AFMotorDrawbot/AFMotorDrawbot.cpp.o: In function `AFMotorController::AFMotorController()’:
/Users/austinredman/Documents/Arduino/libraries/AFMotorDrawbot/AFMotorDrawbot.cpp:29: multiple definition of `AFMotorController::AFMotorController()’
AFMotorDrawbot.cpp.o:AFMotorDrawbot.cpp:28: first defined here
AFMotorDrawbot/AFMotorDrawbot.cpp.o: In function `AFMotorController::AFMotorController()’:
/Users/austinredman/Documents/Arduino/libraries/AFMotorDrawbot/AFMotorDrawbot.cpp:29: multiple definition of `AFMotorController::latch_tx()’
AFMotorDrawbot.cpp.o:AFMotorDrawbot.cpp:28: first defined here
AFMotorDrawbot/AFMotorDrawbot.cpp.o: In function `AFMotorController::AFMotorController()’:
/Users/austinredman/Documents/Arduino/libraries/AFMotorDrawbot/AFMotorDrawbot.cpp:29: multiple definition of `AFMotorController::enable()’
AFMotorDrawbot.cpp.o:AFMotorDrawbot.cpp:28: first defined here
AFMotorDrawbot/AFMotorDrawbot.cpp.o: In function `AFMotorController::AFMotorController()’:
/Users/austinredman/Documents/Arduino/libraries/AFMotorDrawbot/AFMotorDrawbot.cpp:29: multiple definition of `AF_Stepper::AF_Stepper(unsigned int, unsigned char)’
AFMotorDrawbot.cpp.o:AFMotorDrawbot.cpp:28: first defined here
AFMotorDrawbot/AFMotorDrawbot.cpp.o: In function `AFMotorController::AFMotorController()’:
/Users/austinredman/Documents/Arduino/libraries/AFMotorDrawbot/AFMotorDrawbot.cpp:29: multiple definition of `AF_Stepper::AF_Stepper(unsigned int, unsigned char)’
AFMotorDrawbot.cpp.o:AFMotorDrawbot.cpp:28: first defined here
AFMotorDrawbot/AFMotorDrawbot.cpp.o: In function `AFMotorController::AFMotorController()’:
/Users/austinredman/Documents/Arduino/libraries/AFMotorDrawbot/AFMotorDrawbot.cpp:29: multiple definition of `AF_Stepper::setSpeed(unsigned int)’
AFMotorDrawbot.cpp.o:AFMotorDrawbot.cpp:28: first defined here
AFMotorDrawbot/AFMotorDrawbot.cpp.o: In function `AFMotorController::AFMotorController()’:
/Users/austinredman/Documents/Arduino/libraries/AFMotorDrawbot/AFMotorDrawbot.cpp:29: multiple definition of `AF_Stepper::release()’
AFMotorDrawbot.cpp.o:AFMotorDrawbot.cpp:28: first defined here
AFMotorDrawbot/AFMotorDrawbot.cpp.o: In function `AFMotorController::AFMotorController()’:
/Users/austinredman/Documents/Arduino/libraries/AFMotorDrawbot/AFMotorDrawbot.cpp:29: multiple definition of `AF_Stepper::onestep(unsigned char)’
AFMotorDrawbot.cpp.o:AFMotorDrawbot.cpp:28: first defined here
AFMotorDrawbot/AFMotorDrawbot.cpp.o: In function `AFMotorController::AFMotorController()’:
/Users/austinredman/Documents/Arduino/libraries/AFMotorDrawbot/AFMotorDrawbot.cpp:29: multiple definition of `AF_Stepper::step(unsigned int, unsigned char)’
AFMotorDrawbot.cpp.o:AFMotorDrawbot.cpp:28: first defined here
collect2: error: ld returned 1 exit status
Error compiling.thank you for your help
2016-09-21 at 10:32 #10998DanKeymasterSomehow AFMotorDrawbot has been added to your Arduino libraries, tho it should not be. Please delete the
/Users/austinredman/Documents/Arduino/libraries/AFMotorDrawbot
folder and its contents.
2016-09-21 at 12:16 #11004AnonymousInactivegreat, looks like that did the trick.
Thanks again Dan
-
AuthorPosts
- You must be logged in to reply to this topic.