When building PropWare with the include #include <abdrive.h> or #include <abdrive360.h> you get the following error from CMake:
C:\PropWare\share\PropWare\lib\cmm\libSimple.a(speed.c.obj): In function `_drive_speed':
(.text.drive_speed+0x0): multiple definition of `_drive_speed'
C:\PropWare\share\PropWare\lib\cmm\libSimple.a(drive_speed.c.obj):(.text.drive_speed+0x0): first defined here
collect2: ld returned 1 exit status
make.exe[3]: *** [SoPro] Fehler 1
make.exe[2]: *** [CMakeFiles/SoPro.dir/all] Fehler 2
make.exe[1]: *** [CMakeFiles/SoPro.dir/rule] Fehler 2
make.exe: *** [SoPro] Fehler 2
I suspect this is due to abdrive and abdrive both having the same functions (drive_goto, drive_speed, etc)
Any idea on how to fix that?
When building PropWare with the include
#include <abdrive.h>or#include <abdrive360.h>you get the following error from CMake:I suspect this is due to abdrive and abdrive both having the same functions (drive_goto, drive_speed, etc)
Any idea on how to fix that?