View Single Post
  #1   Spotlight this post!  
Unread 20-12-2015, 16:06
euhlmann's Avatar
euhlmann euhlmann is offline
CTO, Programmer
AKA: Erik Uhlmann
FRC #2877 (LigerBots)
Team Role: Leadership
 
Join Date: Dec 2015
Rookie Year: 2015
Location: United States
Posts: 322
euhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud ofeuhlmann has much to be proud of
Re: Problem with WPI Library

Quote:
Originally Posted by Yanglin501st View Post
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
Reply With Quote