I've been following
this guide to get started with the new C++ programming environment: Eclipse.
I got as far as
"Creating your Benchtop Test Program", but then the SAMPLE PROGRAM ("Getting Started") wouldn't compile.
I was presented with several errors, but then I followed the instructions to right-click the project name, Index > Rebuild. After this, only two errors remained. One was on line 7, where the Joystick was declared; the error:
Code:
Multiple markers at this line
- The type 'Joystick' must implement the inherited pure virtual method
'GenericHID::GetRawAxis'
- The type 'Joystick' must implement the inherited pure virtual method
'GenericHID::GetRawButton'
- The type 'Joystick' must implement the inherited pure virtual method
'GenericHID::GetPOV'
Another occurred on line 59 (the use of START_ROBOT_CLASS):
Code:
Multiple markers at this line
- Symbol 'endl' could not be resolved
- Invalid arguments ' Candidates are: ? HALReport(?, ?, ?, const
char *) '
- Symbol 'cerr' could not be resolved
None of these errors make sense to me. Any help is appreciated.