I followed all the instructions for C++ up until page 30, and when I tried to build my project it doesn't work. I'm sure I have the exact same code as is shown in the cookbook, and I get these errors.
Code:
C:/WindRiver/workspace/CommandBasedRobotTemplate_Cookbook/CommandBase.cpp:9: error: `Chassis*CommandBase::Chassis' is not a static member of `class CommandBase'
C:/WindRiver/workspace/CommandBasedRobotTemplate_Cookbook/CommandBase.cpp: In static member function `static void CommandBase::init()':
C:/WindRiver/workspace/CommandBasedRobotTemplate_Cookbook/CommandBase.cpp:13: error: `chassis' undeclared (first use this function)
C:/WindRiver/workspace/CommandBasedRobotTemplate_Cookbook/CommandBase.cpp:13: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:\WindRiver\vxworks-6.3\host\x86-win32\bin\make.exe: *** [CommandBasedRobotTemplate_partialImage/Debug/Objects/CommandBasedRobotTemplate_Cookbook/CommandBase.o] Error 1
Build Failed in Project 'CommandBasedRobotTemplate_Cookbook' (Process Exit Value was 2): 2013-01-20 18:01:32 (Elapsed Time: 00:01)