Log in

View Full Version : wpiLib source code download


Fuzzball27
20-10-2012, 03:24
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 :)

DjMaddius
20-10-2012, 11:08
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

apalrd
20-10-2012, 11:41
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.

F22Rapture
20-10-2012, 12:38
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.

Fuzzball27
20-10-2012, 13:35
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 this is my best option for now, and I can just individually download and replace the revised files.
Thanks guys!

RyanCahoon
20-10-2012, 21:28
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 (http://firstforge.wpi.edu/sf/frs/do/downloadFile/projects.wpilib/frs.2012_update_for_c.frc_update_3111/frs1405?dl=1) and extracting it. I do this with 7-Zip (http://www.7-zip.org/) (which has unofficial builds available for Mac OS X), but other compression software may be able to as well.

joelg236
20-10-2012, 22:44
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.

CodeYeti
22-10-2012, 14:45
There is also a GCC port of WPILib available.
http://github.com/rbmj/wpilib