hi
I need some help, I am trying to make a drawer bot but the error comes up saying compiling for board
Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Build options changed, rebuilding all
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AFMotorController::AFMotorController()'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
c:/program files (x86)/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.9.2/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AFMotorController::AFMotorController()'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AFMotorController::latch_tx()'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AFMotorController::enable()'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AF_Stepper::release()'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AF_DCMotor::AF_DCMotor(unsigned char, unsigned char)'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AF_Stepper::AF_Stepper(unsigned int, unsigned char)'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AF_DCMotor::AF_DCMotor(unsigned char, unsigned char)'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AF_DCMotor::run(unsigned char)'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AF_DCMotor::setSpeed(unsigned char)'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AF_Stepper::AF_Stepper(unsigned int, unsigned char)'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AF_Stepper::setSpeed(unsigned int)'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AF_Stepper::onestep(unsigned char, unsigned char)'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `microstepcurve'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\AFMotor\AFMotor.cpp.o (symbol from plugin): In function `AFMotorController::AFMotorController()':
(.text+0x0): multiple definition of `AF_Stepper::step(unsigned int, unsigned char, unsigned char)'
libraries\AFMotor\AFMotor (2).cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
so any help at all would be great tia