I was using MK4duo 4.3.5 without any errors.
I switched to MK4Duo version 4.3.9, but I'm getting an error.
There is a conflict between TMC26xstepper library and driver.h library. Please help someone as soon as possible.
THE ERRORS THAT MK4DUO GIVES ARE:
Severity Code Description Project File Line
Error 156:16: error: 'driver' has a previous declaration as 'Driver* driver [13] C:\Desktop\MK4Duo\src\core\stepper\driver\driver.h 156
Severity Code Description Project File Line
Error 156:16: error: 'driver' has a previous declaration as 'Driver* driver [13] C:\Desktop\MK4Duo\src\core\stepper\driver\driver.h 156
Severity Code Description Project File Line
Error 156:16: error: 'driver' has a previous declaration as 'Driver* driver [13] C:\Desktop\MK4Duo\src\core\stepper\driver\driver.h 156
Severity Code Description Project File Line
Error 156:16: error: 'driver' has a previous declaration as 'Driver* driver [13] C:\Desktop\MK4Duo\src\core\stepper\driver\driver.h 156
Severity Code Description Project File Line
Error 156:16: error: 'driver' has a previous declaration as 'Driver* driver [13] C:\Desktop\MK4Duo\src\core\stepper\driver\driver.h 156
I was using MK4duo 4.3.5 without any errors. I switched to MK4Duo version 4.3.9, but I'm getting an error. There is a conflict between TMC26xstepper library and driver.h library. Please help someone as soon as possible.
THE ERRORS THAT MK4DUO GIVES ARE:
Severity Code Description Project File Line Error 156:16: error: 'driver' has a previous declaration as 'Driver* driver [13] C:\Desktop\MK4Duo\src\core\stepper\driver\driver.h 156
Severity Code Description Project File Line Error 156:16: error: 'driver' has a previous declaration as 'Driver* driver [13] C:\Desktop\MK4Duo\src\core\stepper\driver\driver.h 156
Severity Code Description Project File Line Error 156:16: error: 'driver' has a previous declaration as 'Driver* driver [13] C:\Desktop\MK4Duo\src\core\stepper\driver\driver.h 156
Severity Code Description Project File Line Error 156:16: error: 'driver' has a previous declaration as 'Driver* driver [13] C:\Desktop\MK4Duo\src\core\stepper\driver\driver.h 156
Severity Code Description Project File Line Error 156:16: error: 'driver' has a previous declaration as 'Driver* driver [13] C:\Desktop\MK4Duo\src\core\stepper\driver\driver.h 156
Severity Code Description Project File Line Error 111:37: error: conflicting declaration 'TMC26XStepper driver [4] C:Desktop\mk4duo\src\core\stepper\tmc26x\tmc26x.h 111
Severity Code Description Project File Line Error 103:37: error: conflicting declaration 'TMC26XStepper driver [3] C:Desktop\mk4duo\src\core\stepper\tmc26x\tmc26x.h 103
Severity Code Description Project File Line Error 55:37: error: conflicting declaration 'TMC26XStepper driver [2] C:Desktop\mk4duo\src\core\stepper\tmc26x\tmc26x.h 55
Severity Code Description Project File Line Error 47:37: error: conflicting declaration 'TMC26XStepper driver [1] C:Desktop\mk4duo\src\core\stepper\tmc26x\tmc26x.h 47
Severity Code Description Project File Line Error 39:37: error: conflicting declaration 'TMC26XStepper driver [0] C:Desktop\mk4duo\src\core\stepper\tmc26x\tmc26x.h 39
The driver.h and tmc26x.h files show a conflict error, causing it. I've looked everywhere, but I can't find it.
driver.h and tmc26x.h files:
tmc26x.h.txt
driver.h.txt
Please help if you know the solution of this problem!!!