Thread: WPILib source?
View Single Post
  #7   Spotlight this post!  
Unread 10-02-2012, 13:14
ericand's Avatar
ericand ericand is offline
Registered User
AKA: Eric Anderson
FRC #3765 (Terrabots)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: St. Paul, MN
Posts: 148
ericand is a jewel in the roughericand is a jewel in the roughericand is a jewel in the rough
Re: WPILib source?

Since I have not seen it elsewhere - here is how to use the wpilib source in wind river.

The source is stored in a zip file in the windriver folder. To allow workbench to see the source, so you can use the debugger and step into wpilib code, you need to put a copy of the wpilib source folder into your workspace.

In my case, the zip file is in:

c:\WindRiver\WPILib\WPILibC++Source20120108rev2993 .zip

The source in the zip file is in a folder called wpilib

I extracted the source folder and moved it into my workspace folder. I'm just using the default windriver workspace folder.

c:\WindRiver\workspace\WPILib\

When it is in your workspace, the debugger can find the source so you can see it when you debug into wpilib code. This is very helpful when you want to understand how wpilib does the stuff it does.