View Single Post
  #1   Spotlight this post!  
Unread 12-20-2015, 03:56 PM
Yanglin501st's Avatar
Yanglin501st Yanglin501st is offline
Registered User
AKA: Yang Lin
FRC #3044 (OxBe4)
Team Role: Programmer
 
Join Date: Oct 2014
Rookie Year: 2008
Location: New York
Posts: 3
Yanglin501st is an unknown quantity at this point
Problem with WPI Library

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:"
Reply With Quote