AdvancedFirmata Compiling Error
- This topic has 4 replies, 2 voices, and was last updated 8 years, 3 months ago by sanyaade.
-
AuthorPosts
-
December 7, 2014 at 4:51 PM #1009sanyaadeParticipant
Hello everyone.
great to be part of the dynamic gorgeous kit.
I was following the instructions of the getting started to get the AdvancedFirmata loaded into my Arduino UNO board. The process is getting loaded and emitting errors on stepper motor and duplicate process.Below is the snapshot(screen-dump) of the errors I am getting:
Arduino: 1.5.8 (Windows 7), Board: "Arduino Leonardo" AdvancedFirmata\FirmataStepper.cpp.o: In function
FirmataStepper::version()’:
C:\Users\Administrator\Documents\Arduino\libraries\AdvancedFirmata/FirmataStepper.cpp:74: multiple definition of `FirmataStepper::FirmataStepper(unsigned char, int, unsigned char, unsigned char, unsigned char, unsigned char)’
FirmataStepper.cpp.o:C:\Users\ADMINI~1\AppData\Local\Temp\build6357469079384022568.tmp/FirmataStepper.cpp:74: first defined here
AdvancedFirmata\FirmataStepper.cpp.o: In function `FirmataStepper::version()’:
C:\Users\Administrator\Documents\Arduino\libraries\AdvancedFirmata/FirmataStepper.cpp:74: multiple definition of `FirmataStepper::FirmataStepper(unsigned char, int, unsigned char, unsigned char, unsigned char, unsigned char)’
FirmataStepper.cpp.o:C:\Users\ADMINI~1\AppData\Local\Temp\build6357469079384022568.tmp/FirmataStepper.cpp:74: first defined here
AdvancedFirmata\FirmataStepper.cpp.o: In function `FirmataStepper::setStepsToMove(long, int, int, int)’:
C:\Users\Administrator\Documents\Arduino\libraries\AdvancedFirmata/FirmataStepper.cpp:128: multiple definition of `FirmataStepper::setStepsToMove(long, int, int, int)’
FirmataStepper.cpp.o:C:\Users\ADMINI~1\AppData\Local\Temp\build6357469079384022568.tmp/FirmataStepper.cpp:128: first defined here
AdvancedFirmata\FirmataStepper.cpp.o: In function `FirmataStepper::stepMotor(unsigned char, unsigned char)’:
C:\Users\Administrator\Documents\Arduino\libraries\AdvancedFirmata/FirmataStepper.cpp:346: multiple definition of `FirmataStepper::stepMotor(unsigned char, unsigned char)’
FirmataStepper.cpp.o:C:\Users\ADMINI~1\AppData\Local\Temp\build6357469079384022568.tmp/FirmataStepper.cpp:346: first defined here
AdvancedFirmata\FirmataStepper.cpp.o: In function `FirmataStepper::updateStepPosition()’:
C:\Users\Administrator\Documents\Arduino\libraries\AdvancedFirmata/FirmataStepper.cpp:321: multiple definition of `FirmataStepper::updateStepPosition()’
FirmataStepper.cpp.o:C:\Users\ADMINI~1\AppData\Local\Temp\build6357469079384022568.tmp/FirmataStepper.cpp:321: first defined here
AdvancedFirmata\FirmataStepper.cpp.o: In function `FirmataStepper::update()’:
C:\Users\Administrator\Documents\Arduino\libraries\AdvancedFirmata/FirmataStepper.cpp:231: multiple definition of `FirmataStepper::update()’
FirmataStepper.cpp.o:C:\Users\ADMINI~1\AppData\Local\Temp\build6357469079384022568.tmp/FirmataStepper.cpp:231: first defined here
AdvancedFirmata\FirmataStepper.cpp.o: In function `FirmataStepper::version()’:
C:\Users\Administrator\Documents\Arduino\libraries\AdvancedFirmata/FirmataStepper.cpp:407: multiple definition of `FirmataStepper::version()’
FirmataStepper.cpp.o:C:\Users\ADMINI~1\AppData\Local\Temp\build6357469079384022568.tmp/FirmataStepper.cpp:407: first defined here
collect2: error: ld returned 1 exit status
Error compiling.This report would have more information with
“Show verbose output during compilation”
enabled in File > Preferences.
`Please help so that I can get past this hurdle.
God blesses!!!
Best regards,
SanyaadeDecember 9, 2014 at 12:47 AM #1011soundanalogousMemberBased on the error message it appears that you may have installed my FirmataStepper library. If you had there will be a conflict between that version and the version included with AdvancedFirmata. If this is the case, delete the FirmataStepper library. If this is not the case then I will need to investigate further.
December 13, 2014 at 4:03 PM #1012sanyaadeParticipant@soundanalogous,
I did several check and there was no FirmataStepper library install. I have check again and again. I will try and use Breakoutjs with the Standard Firmata Library to see if I could just start from that one. I google the error and it seems more people are having same issues.
I will like to use the Advance firmata if possible
Thank you so much for your support
God blesses!!!
Best regards,
SanyaadeDecember 13, 2014 at 8:00 PM #1013soundanalogousMemberI see you copied AdvancedFirmata to \Documents\Arduino\libraries\AdvancedFirmata.
AdvancedFirmata is not a library. It is simply an Arduino sketch. Move it out of the libraries folder and it should hopefully work.
December 16, 2014 at 5:16 PM #1017sanyaadeParticipant@soundanalogous,
I follow your instruction but still AdvancedFirmata did not work still error the stepper problems. I then try ConfigurableFirmata and the latest StandardFirmata both work on UNO and Leonardo Arduino.
Thank you so much for your support
God blesses!!!
Best regards,
Sanyaade -
AuthorPosts
- The forum ‘Forum’ is closed to new topics and replies.