I'm having trouble calling my wrapper - it hasn't happened before. Here's the code that has been reduced to purely illustrate the problem.
Code:
//Atlas.h
#include "WPILib.h"
class Atlas: public SampleRobot {
Gyro* gyro; //just some filler here
public:
Atlas();
~Atlas();
void Autonomous();
void OperatorControl();
void Test();
};
Code:
//Atlas.cpp
#include "Atlas.h"
Atlas::Atlas() {
gyro = new Gyro(1);
}
Atlas::~Atlas() {
delete gyro;
}
void Atlas::Autonomous() { }
void Atlas::OperatorControl() { }
void Atlas::Test() { }
Code:
//initialize.cpp
#include "Atlas.h"
START_ROBOT_CLASS(Atlas); //error here
The error is:
Quote:
Invalid arguments '
Candidates are:
? HALReport(?, ?, ?, const char *)
'
|
help?