View Single Post
  #3   Spotlight this post!  
Unread 11-01-2015, 15:03
vps vps is offline
Registered User
FRC #3021 (The Agency)
Team Role: Programmer
 
Join Date: Mar 2013
Rookie Year: 2011
Location: United States
Posts: 30
vps is an unknown quantity at this point
Re: Problem calling START_ROBOT_CLASS(_CLASSNAME_) Wrapper

Note how the problem persists when everything is consolidated in one file:

Code:
//Atlas.cpp
#include "WPILib.h"

class Atlas: public SampleRobot {
	Gyro* gyro;					//just some filler here
public:
	Atlas() {
		gyro = new Gyro(1);
	}
	~Atlas() {
		delete gyro;
	}
	void Autonomous() { };
	void OperatorControl() { };
	void Test() { };
};
START_ROBOT_CLASS(Atlas);         //same error here