Advanced Firmata Won't Compile

About Forums Forum Breakout Beta Issues Advanced Firmata Won't Compile

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #928
    computersarecool
    Participant

    I am using an Arduino Uno and the IDE 1.0.5 and trying to upload the advanced Firmata sketch, included with the download. It does not compile and presents the following errors (attached).

    I tried using Standard and configurable Firmata and was able to control the LED but not the buttonState.  Any suggestions?

     

    Arduino: 1.0.5 (Mac OS X), Board: “Arduino Uno”

    Firmata/utility/FirmataStepper.cpp.o: In function `FirmataStepper::version()’:

    /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/utility/FirmataStepper.cpp:397: multiple definition of `FirmataStepper::version()’

    FirmataStepper.cpp.o:FirmataStepper.cpp:397: first defined here

    Firmata/utility/FirmataStepper.cpp.o: In function `FirmataStepper::stepMotor(unsigned char, unsigned char)’:

    /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/utility/FirmataStepper.cpp:336: multiple definition of `FirmataStepper::stepMotor(unsigned char, unsigned char)’

    FirmataStepper.cpp.o:FirmataStepper.cpp:336: first defined here

    Firmata/utility/FirmataStepper.cpp.o: In function `FirmataStepper::updateStepPosition()’:

    /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/utility/FirmataStepper.cpp:311: multiple definition of `FirmataStepper::updateStepPosition()’

    FirmataStepper.cpp.o:FirmataStepper.cpp:311: first defined here

    Firmata/utility/FirmataStepper.cpp.o: In function `FirmataStepper::update()’:

    /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/utility/FirmataStepper.cpp:221: multiple definition of `FirmataStepper::update()’

    FirmataStepper.cpp.o:FirmataStepper.cpp:221: first defined here

    Firmata/utility/FirmataStepper.cpp.o: In function `FirmataStepper::setStepsToMove(long, int, int, int)’:

    /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/utility/FirmataStepper.cpp:118: multiple definition of `FirmataStepper::setStepsToMove(long, int, int, int)’

    FirmataStepper.cpp.o:FirmataStepper.cpp:118: first defined here

    Firmata/utility/FirmataStepper.cpp.o: In function `FirmataStepper’:

    /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/utility/FirmataStepper.cpp:77: multiple definition of `FirmataStepper::FirmataStepper(unsigned char, int, unsigned char, unsigned char, unsigned char, unsigned char)’

    FirmataStepper.cpp.o:FirmataStepper.cpp:77: first defined here

    Firmata/utility/FirmataStepper.cpp.o: In function `FirmataStepper’:

    /Applications/Arduino.app/Contents/Resources/Java/libraries/Firmata/utility/FirmataStepper.cpp:77: multiple definition of `FirmataStepper::FirmataStepper(unsigned char, int, unsigned char, unsigned char, unsigned char, unsigned char)’

    FirmataStepper.cpp.o:FirmataStepper.cpp:77: first defined here

    #930

    Remove AdvancedFirmata. ConfigurableFirmata does everything AdvancedFirmata does and more. If you try to install both AdvancedFirmata and ConfigurableFirmata simultaneously you’ll have a conflict with the FirmataStepper class. This is the issue you are seeing.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.