uploading firmware => the hard way (AF_Stepper::onestep)
Shop › Forum › Makelangelo Polargraph Art Robot › uploading firmware => the hard way (AF_Stepper::onestep)
Tagged: af_stepper::onestep
- This topic has 4 replies, 2 voices, and was last updated 8 years, 2 months ago by Anonymous.
-
AuthorPosts
-
2016-08-27 at 14:35 #10650AnonymousInactive
Hey.i am a beginer in this, so what might be obvios to you it might not be to me, so keep this in mind. I have downloded the firmware AMS folder, Makelangelo, Arduino and Jawa. Ive installed jawa and arduino, put the firmware_ams in the MyDocuments/Arduino/librares folder and in the ProgramFiles one, i’ve run the frimware_ams file, and….. errors bunch of them =>Arduino: 1.6.11 (Windows 10), Board: “Arduino/Genuino Uno”
C:\Users\rosoi\AppData\Local\Temp\ccIRd7kU.ltrans0.ltrans.o: In function `line(float, float, float)’:
ccIRd7kU.ltrans0.o:(.text+0x1106): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccIRd7kU.ltrans0.o:(.text+0x112a): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccIRd7kU.ltrans0.o:(.text+0x1346): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccIRd7kU.ltrans0.o:(.text+0x136a): undefined reference to `AF_Stepper::onestep(unsigned char)’
C:\Users\rosoi\AppData\Local\Temp\ccIRd7kU.ltrans0.ltrans.o: In function `setFeedRate(float)’:
ccIRd7kU.ltrans0.o:(.text+0x14f2): undefined reference to `AF_Stepper::setSpeed(unsigned int)’
ccIRd7kU.ltrans0.o:(.text+0x1504): undefined reference to `AF_Stepper::setSpeed(unsigned int)’
C:\Users\rosoi\AppData\Local\Temp\ccIRd7kU.ltrans1.ltrans.o: In function `main’:
ccIRd7kU.ltrans1.o:(.text.startup+0x5ec): undefined reference to `AF_Stepper::release()’
ccIRd7kU.ltrans1.o:(.text.startup+0x5f4): undefined reference to `AF_Stepper::release()’
ccIRd7kU.ltrans1.o:(.text.startup+0x7d2): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccIRd7kU.ltrans1.o:(.text.startup+0x7de): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccIRd7kU.ltrans1.o:(.text.startup+0x7ea): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccIRd7kU.ltrans1.o:(.text.startup+0x7f6): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccIRd7kU.ltrans1.o:(.text.startup+0x135c): undefined reference to `AF_Stepper::onestep(unsigned char)’
C:\Users\rosoi\AppData\Local\Temp\ccIRd7kU.ltrans1.ltrans.o:ccIRd7kU.ltrans1.o:(.text.startup+0x1398): more undefined references to `AF_Stepper::onestep(unsigned char)’ follow
C:\Users\rosoi\AppData\Local\Temp\ccIRd7kU.ltrans2.ltrans.o: In function `global constructors keyed to 65535_0_firmware_ams.ino.cpp.o.2189′:
ccIRd7kU.ltrans2.o:(.text.startup+0xb2): undefined reference to `AF_Stepper::AF_Stepper(unsigned int, unsigned char)’
ccIRd7kU.ltrans2.o:(.text.startup+0xc0): undefined reference to `AF_Stepper::AF_Stepper(unsigned int, unsigned char)’
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.This report would have more information with
“Show verbose output during compilation”
option enabled in File -> Preferences. I have An arduino uno and a adafruit V1 and latest arduino software (1.6.11)2016-08-27 at 15:07 #10651DanKeymasterHi!
You’re doing pretty well. The firmware_ams folder does NOT have to be in the libraries folder.
https://www.marginallyclever.com/how-to-get-arduino-software-and-upload-firmware/
Does that help?
2016-08-27 at 16:55 #10657AnonymousInactiveThank you for the fast response, i have uninstaled arduino and deleted all folders and files including temporary ones, jawa, and makelangelo, did a new instalation of Arduino and Java, downloaded and unzip with WinRar new “Makelangleo” folders and put them on my desktop. I click the firmware_ams.ino file, it starts the Arduino software. i have selectetd the bord and usb port (arduino uno on com3),ctrl+R and ….
C:\Users\rosoi\AppData\Local\Temp\ccm654Cc.ltrans0.ltrans.o: In function `line(float, float, float)’:ccm654Cc.ltrans0.o:(.text+0x1112): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccm654Cc.ltrans0.o:(.text+0x1136): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccm654Cc.ltrans0.o:(.text+0x1352): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccm654Cc.ltrans0.o:(.text+0x1376): undefined reference to `AF_Stepper::onestep(unsigned char)’
C:\Users\rosoi\AppData\Local\Temp\ccm654Cc.ltrans0.ltrans.o: In function `setFeedRate(float)’:
ccm654Cc.ltrans0.o:(.text+0x14fe): undefined reference to `AF_Stepper::setSpeed(unsigned int)’
ccm654Cc.ltrans0.o:(.text+0x1510): undefined reference to `AF_Stepper::setSpeed(unsigned int)’
C:\Users\rosoi\AppData\Local\Temp\ccm654Cc.ltrans1.ltrans.o: In function `main’:
ccm654Cc.ltrans1.o:(.text.startup+0x5f0): undefined reference to `AF_Stepper::release()’
ccm654Cc.ltrans1.o:(.text.startup+0x5f8): undefined reference to `AF_Stepper::release()’
ccm654Cc.ltrans1.o:(.text.startup+0x7dc): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccm654Cc.ltrans1.o:(.text.startup+0x7e8): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccm654Cc.ltrans1.o:(.text.startup+0x7f4): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccm654Cc.ltrans1.o:(.text.startup+0x800): undefined reference to `AF_Stepper::onestep(unsigned char)’
ccm654Cc.ltrans1.o:(.text.startup+0x135e): undefined reference to `AF_Stepper::onestep(unsigned char)’
C:\Users\rosoi\AppData\Local\Temp\ccm654Cc.ltrans1.ltrans.o:ccm654Cc.ltrans1.o:(.text.startup+0x139a): more undefined references to `AF_Stepper::onestep(unsigned char)’ follow
C:\Users\rosoi\AppData\Local\Temp\ccm654Cc.ltrans1.ltrans.o: In function `main’:
ccm654Cc.ltrans1.o:(.text.startup+0x169a): undefined reference to `AF_Stepper::release()’
ccm654Cc.ltrans1.o:(.text.startup+0x16a2): undefined reference to `AF_Stepper::release()’
C:\Users\rosoi\AppData\Local\Temp\ccm654Cc.ltrans2.ltrans.o: In function `global constructors keyed to 65535_0_firmware_ams.ino.cpp.o.2191′:
ccm654Cc.ltrans2.o:(.text.startup+0xb2): undefined reference to `AF_Stepper::AF_Stepper(unsigned int, unsigned char)’
ccm654Cc.ltrans2.o:(.text.startup+0xc0): undefined reference to `AF_Stepper::AF_Stepper(unsigned int, unsigned char)’
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Uno.Seems to me i’m still missing something…
2016-08-27 at 17:24 #10658DanKeymasterIn in firmware_ams/AFMotorDrawbot you will see two in AFMotorDrawbot.* files. Move them to firmware_ams.
This is a temporary problem caused by Arduino not using #includes the same way as all other C compilers. 😛
2016-08-30 at 00:26 #10682AnonymousInactiveYep I finaly did it!
Thank you Dan :). -
AuthorPosts
- You must be logged in to reply to this topic.