» Topic: AdvancedFirmata Compiling ErrorBreakout

AdvancedFirmata Compiling Error

About Forums Forum AdvancedFirmata Compiling Error

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1009
    sanyaade
    Participant

    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,
    Sanyaade

    #1011

    Based on the error message it appears that you may have installed my . 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.

    #1012
    sanyaade
    Participant

    @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,
    Sanyaade

    #1013

    I 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.

    #1017
    sanyaade
    Participant

    @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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Forum’ is closed to new topics and replies.