Go to Post You can never have enough figurative language. - Travis Hoffman [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 18-03-2013, 14:07
Anyun Anyun is offline
Co-Captain Team 1308
FRC #1308 (Wildcats)
Team Role: Programmer
 
Join Date: Aug 2012
Rookie Year: 2009
Location: Cleveland
Posts: 13
Anyun is an unknown quantity at this point
Pre-Competition Compiling Issue

Hi guys,

Up until recently I've been using the desktop in our lab to write, compile and deploy code. However, we realized that we will probably need a portable coding station so we installed a Bootcamp partition on my laptop to install Windriver and all the driver software. I imported our project onto the partition, and as a test I compiled it, and received tons of errors. I tried to compile a sample project (the simple robot template), and that didn't work either. Anyone have any ideas?

For reference, the errors I got:

process_begin: CreateProcess((null), svnversion -n .., ...) failed.
This happened while building WPILib, which is of course set as a reference

Then we got
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:1:20: WPILib.h: No such file or directory
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:10: error: expected class-name before '{' token
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:11: error: `RobotDrive' does not name a type
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:12: error: `Joystick' does not name a type
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp: In constructor `RobotDemo::RobotDemo()':
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:16: error: class `RobotDemo' does not have any field named `myRobot'
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:17: error: class `RobotDemo' does not have any field named `stick'
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:19: error: `myRobot' undeclared (first use this function)
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:19: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp: In member function `void RobotDemo::Autonomous()':
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:27: error: `myRobot' undeclared (first use this function)
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:29: error: `Wait' undeclared (first use this function)
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp: In member function `void RobotDemo::OperatorControl()':
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:38: error: `myRobot' undeclared (first use this function)
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:39: error: `IsOperatorControl' undeclared (first use this function)
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:41: error: `stick' undeclared (first use this function)
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:42: error: `Wait' undeclared (first use this function)
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp: At global scope:
C:/WindRiver/workspace/SimpleTemplate/MyRobot.cpp:54: error: expected constructor, destructor, or type conversion before ';' token
C:\WindRiver\vxworks-6.3\host\x86-win32\bin\make.exe: *** [SimpleTemplate_partialImage/Debug/Objects/SimpleTemplate/MyRobot.o] Error 1
Build Failed in Project 'SimpleTemplate' (Process Exit Value was 2): 2013-03-18 14:00:41 (Elapsed Time: 00:00)


I am seriously lost, anyone?
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 12:51.

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