View Single Post
  #1   Spotlight this post!  
Unread 01-03-2015, 08:29 PM
nick818 nick818 is offline
Registered User
AKA: Nicholas Currault
FRC #2840 (Blue Tide)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Paradise Valley, AZ
Posts: 6
nick818 is an unknown quantity at this point
Having trouble getting started with Eclipse

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.

Last edited by nick818 : 01-03-2015 at 08:30 PM. Reason: Fixed URL in second link.
Reply With Quote