Quote:
Originally Posted by Yanglin501st
Hello, a few days ago I downloaded the the WPI library into my eclipse and tried initializing a CANTalon. However, I got an error and I'm unsure of what it means and how to fix it.
Code:
class Robot: public IterativeRobot
{
public:
LiveWindow *lw;
CANTalon Motor(1);
void RobotInit()
{
lw = LiveWindow::GetInstance();
}
When I hovered over the error on "class Robot: public IterativeRobot", it displayed this:
"Multiple markers at this line
- candidates are:
- no matching function for call to 'CANTalon::CANTalon()'
- 'Robot::Robot()' is implicitly deleted because the default definition would be ill-formed:"
|
Try rebuilding the C++ Index. Right click on your project > index > rebuild