Go to Post What's an autonomous mode? - Bill Gold [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

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-01-2015, 15:51
TTFire TTFire is offline
Registered User
AKA: Aaron
FRC #1571 (Error 404)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Gresham, Oregon
Posts: 5
TTFire is an unknown quantity at this point
C++ trouble - Errors in example project

This year, my team has decided to switch to C++ instead of Java, but I seem to be having some trouble getting Eclipse set up. I've attempted to view an example project, but there are a couple of errors littered throughout the project.

On the line where the Joystick instance is declared, Eclipse is complaining that some virtual methods inherited from GenericHID (GetRawAxis, GetRawButton, and GetPOV) aren't implemented. In addition, the START_ROBOT_CLASS call at the bottom has "invalid arguments". Is this a problem with my setup or is it a bug in the toolchain/plugin?

I'm currently running Linux Mint 17.1 x86_64, using the Ubuntu Trusty version of frc-toolchain. I'm using the latest release of Eclipse built for 64 bit Linux, and I've installed the 32 bit version of libc (As was recommended). Any help would be appreciated. Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 06-01-2015, 16:47
BradAMiller BradAMiller is offline
Registered User
AKA: Brad
#0190 ( Gompei and the Herd)
Team Role: Mentor
 
Join Date: Mar 2004
Location: Worcester, MA
Posts: 590
BradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant futureBradAMiller has a brilliant future
Re: C++ trouble - Errors in example project

Can you try to reindex the project? Select the project, right-click, then select "Index" and "Rebuild" and see if the errors go away. Also you might check the end of this post:

http://www.chiefdelphi.com/forums/sh...hlight=indexer
__________________
Brad Miller
Robotics Resource Center
Worcester Polytechnic Institute
Reply With Quote
  #3   Spotlight this post!  
Unread 06-01-2015, 18:54
TTFire TTFire is offline
Registered User
AKA: Aaron
FRC #1571 (Error 404)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Gresham, Oregon
Posts: 5
TTFire is an unknown quantity at this point
Re: C++ trouble - Errors in example project

That seemed to work! Thank you!
Reply With Quote
Reply


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