Skip to content

Cannot Upload #6

@XeroShi

Description

@XeroShi

I cannot upload the 072 sketch to the arduino.
Mac OSX 10.14.1
Arduino 1.8.8

error code
`Arduino: 1.8.8 (Mac OS X), Board: "Arduino/Genuino Uno"

In file included from /Users/xeroshi/Documents/Arduino/libraries/UCTRONICS_Smart_Robot_Car/example/Smart_Robot_Car_K0072_Scratch/Smart_Robot_Car_K0072_scratch.ino:24:0:
sketch/UCNEC.h:82:0: warning: "STOP" redefined
#define STOP 7
^
In file included from /Users/xeroshi/Documents/Arduino/libraries/UCTRONICS_Smart_Robot_Car/example/Smart_Robot_Car_K0072_Scratch/Smart_Robot_Car_K0072_scratch.ino:22:0:
/Users/xeroshi/Documents/Arduino/libraries/UCTRONICS_Smart_Robot_Car/UCMotor.h:111:0: note: this is the location of the previous definition
#define STOP 5
^
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UCMotorController::UCMotorController()'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UCMotorController::UCMotorController()'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UCMotorController::latch_tx()'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UCMotorController::enable()'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UC_DCMotor::UC_DCMotor(unsigned char, unsigned char)'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UC_DCMotor::UC_DCMotor(unsigned char, unsigned char)'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UC_DCMotor::run(unsigned char)'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UC_DCMotor::setSpeed(unsigned char)'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UC_Stepper::UC_Stepper(unsigned int, unsigned char)'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UC_Stepper::UC_Stepper(unsigned int, unsigned char)'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UC_Stepper::setSpeed(unsigned int)'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UC_Stepper::release()'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UC_Stepper::onestep(unsigned char, unsigned char)'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of microstepcurve'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCMotor.cpp.o (symbol from plugin): In function UCMotorController::UCMotorController()': (.text+0x0): multiple definition of UC_Stepper::step(unsigned int, unsigned char, unsigned char)'
sketch/UCMotor.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCNEC.cpp.o (symbol from plugin): In function UCNEC::UCNEC(int)': (.text+0x0): multiple definition of UCNEC::UCNEC(int)'
sketch/UCNEC.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCNEC.cpp.o (symbol from plugin): In function UCNEC::UCNEC(int)': (.text+0x0): multiple definition of UCNEC::UCNEC(int)'
sketch/UCNEC.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCNEC.cpp.o (symbol from plugin): In function UCNEC::UCNEC(int)': (.text+0x0): multiple definition of UCNEC::begin()'
sketch/UCNEC.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCNEC.cpp.o (symbol from plugin): In function UCNEC::UCNEC(int)': (.text+0x0): multiple definition of UCNEC::read()'
sketch/UCNEC.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCNEC.cpp.o (symbol from plugin): In function UCNEC::UCNEC(int)': (.text+0x0): multiple definition of UCNEC::available()'
sketch/UCNEC.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCNEC.cpp.o (symbol from plugin): In function UCNEC::UCNEC(int)': (.text+0x0): multiple definition of UCNEC::flush()'
sketch/UCNEC.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries/UCTRONICS_Smart_Robot_Car/UCNEC.cpp.o (symbol from plugin): In function UCNEC::UCNEC(int)': (.text+0x0): multiple definition of __vector_13'
sketch/UCNEC.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2: 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.
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions