Go to Post "No wheels, no problem, we can fix it in programming." - clean399 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 03-01-2015, 20:29
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 : 03-01-2015 at 20:30. Reason: Fixed URL in second link.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 14:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi