I switched to V5 pro a week ago, I built this file, but may have messed something up. The error message is this.
Without seeing your code, it’s difficult to solve your problem. The error messages are telling you a few things though, and you should focus on these:
multiple definition of vexcodeInit()`
...
multiple definition of motor1
...
multiple definition of motor2
...
And a few other multiple definition
errors.
What I suspect you may have done is in your main.cpp
file you may have a line:
#include "robot-config.cpp"
Which should probably be:
#include "robot-config.h"
Either that, or you’ve copied everything from robot-config.cpp
into main.cpp
which is not what you want to do.
3 Likes