Go to Post I've learned that the measure of success isn't the money you make, the education you get, or the car you drive. Your success can only be measured in the amount of people in whose lives you've made a difference and the size of your heart. - Amanda Morrison [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 Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-10-2010, 11:39 AM
oddjob oddjob is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Earth
Posts: 118
oddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to beholdoddjob is a splendid one to behold
DriverStationEnhancedIO compile error

I copied this out of WPI_Robotics_Library_Users_Guide.pdf and put it in the constructor:

Code:
    DriverStationEnhancedIO &dseio = DriverStation.GetInstance().GetEnhancedIO();
Here is the compile error:

Code:
C:/WindRiver/workspace/BuiltinDefaultCode/BuiltinDefaultCode.cpp: In constructor `BuiltinDefaultCode::BuiltinDefaultCode()':
C:/WindRiver/workspace/BuiltinDefaultCode/BuiltinDefaultCode.cpp:99: error: expected primary-expression before '.' token
C:/WindRiver/vxworks-6.3/target/h/WPILib/DriverStationEnhancedIO.h:127: error: `virtual DriverStationEnhancedIO::~DriverStationEnhancedIO()' is private
C:/WindRiver/workspace/BuiltinDefaultCode/BuiltinDefaultCode.cpp:99: error: within this context
C:/WindRiver/workspace/BuiltinDefaultCode/BuiltinDefaultCode.cpp:99: warning: unused variable 'dseio'
C:\WindRiver\vxworks-6.3\host\x86-win32\bin\make.exe: *** [BuiltinDefaultCode_partialImage/Debug/Objects/BuiltinDefaultCode/BuiltinDefaultCode.o] Error 1
Is the pdf file wrong, or I did something wrong?
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Compile error saaby FIRST Tech Challenge 3 02-17-2009 05:14 PM
MPLAB Compile Error with MPLIB GRS Programming 2 11-04-2008 10:31 AM
compile error Chuck Merja Programming 3 02-17-2005 03:02 PM
InterruptVectorLow error when we compile Redneck Programming 5 02-02-2005 10:57 PM
Compile error blindguyinanorg Programming 4 02-12-2004 07:49 PM


All times are GMT -5. The time now is 10:41 AM.

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