nick818
03-01-2015, 20:29
I've been following this guide (https://wpilib.screenstepslive.com/s/4485/m/13810) to get started with the new C++ programming environment: Eclipse.
I got as far as "Creating your Benchtop Test Program" (https://wpilib.screenstepslive.com/s/4485/m/13810/l/145319-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:
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):
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.
I got as far as "Creating your Benchtop Test Program" (https://wpilib.screenstepslive.com/s/4485/m/13810/l/145319-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:
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):
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.