|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|