View Single Post
  #4   Spotlight this post!  
Unread 28-01-2011, 21:12
BotnEyedJoe BotnEyedJoe is offline
Mentor
AKA: Joe Hurler
no team
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Rosemont, PA
Posts: 29
BotnEyedJoe is an unknown quantity at this point
Re: Building RobotPy from git repo

I have a feeling from looking at the error messages that you are not building version 2011.2 or newer? Check which git branch you are working on. Not sure, but it seems like the HEAD (a.k.a. master) is not the most recent code, the 2011 branch is. I built the most recent tip of the 2011 branch just this week, and I don't recognize a lot of the things going on in your error messages, and did not have the problems you describe.

One caveat, though, re: something not mentioned in the README instructions. AFAIK, The SIP outputs don't seem to be in the repository, so before you build the Packages, you need to use SIP to create the wrappers for the various libraries (e.g. WPILib). [RoboytPy switched from SWIG to SIP somewhere along the 2011 branch.] In each of the individual Packages, there is a .bat file showing how to run SIP for that Package. Then, perform the make where you are having the problems... Perhaps an analogous problem is what you are actually experiencing - that is, the SWIG wrappers are missing?

Hopefully, Peter Johnson will correct anything I've said wrong or misleading (my apologies in advance).
Reply With Quote