wpiLib source code download

Does anyone know where/if I can download the wpilib in cpp for mac? I would like to be able to view all source files with my mac while the computer is offline. I could do this by simply downloading each .h and .cpp, but that would take forever, and I thought it better to ask here first if anyone knew of a better alternative :slight_smile:

These seem to be obsolete, but it’s what I’ve found.

http://firstforge.wpi.edu/sf/frs/do/listReleases/projects.wpilib/frs.wpilib_c_source_snapshot

It looks like there’s a repo to checkout of FirstForge, but it looks old (20months since last commit). That’s still a few years newer than the source snapshot linked above.

If that’s good enough for you, you can svn checkout http://firstforge.wpi.edu/svn/repos/wpilibcpp but you need an account. You would need a subversion client to do this in one step (as opposed to manually downloading each file), I don’t have any recommended subversion clients for mac.

Wouldn’t they be distributed as part of the FRC plugins? I’m not so sure about C++ but I know that the FRC Java plugin does this.

It looks like this is my best option for now, and I can just individually download and replace the revised files.
Thanks guys!

If you have Windriver installed (and updated) (either on a different computer, in Parallels or with Bootcamp), there’s a zip file with the source at C:\WindRiver\WPILib (or wherever you installed it at). The latest version I could find is dated 2012-02-04.

You can get the same by downloading the update package and extracting it. I do this with 7-Zip (which has unofficial builds available for Mac OS X), but other compression software may be able to as well.

http://firstforge.wpi.edu/integration/viewcvs/viewcvs.cgi/WPILibCProgramming/trunk/WPILib/?root=wpilibcpp&system=exsy1002

Don’t know if the other ones are more up to date, but this is their official repo.

There is also a GCC port of WPILib available.