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