Page 1 of 1
pygame + hg + OS X
Posted: Fri May 10, 2013 10:27 pm
by jamisnemo
So, in the OS X section of this wiki article
http://wiki.bitcraze.se/projects:crazyf ... ls:install, there is this line:
As of 2013-05-08 the non-hg doesn't build correctly with brew installed SDL.
Is this an SDL issue, a pygame issue, or a Brew issue?
Regardless, has anyone gotten past this?
Thanks for the help! I'll continue looking into it as well...
Re: pygame + hg + OS X
Posted: Fri May 10, 2013 11:24 pm
by jamisnemo
Well it looks like we need to install mercurial before we can try to install pygame.
I had to do:
before I could do:
Code: Select all
pip install hg+http://bitbucket.org/pygame/pygame
This gets pygame and with all of the rest of the requirements installed you can then start the python client...
But the client can't connect to the Crazyflie. It seems like the Crazyradio doesn't support OS X yet??
Re: pygame + hg + OS X
Posted: Fri May 10, 2013 11:26 pm
by jamisnemo
Oh! This post says I need a controller connected first:
http://forum.bitcraze.se/viewtopic.php? ... t=OSx#p658
Okay! Time to head to Best Buy...
Re: pygame + hg + OS X
Posted: Sat May 11, 2013 10:38 am
by marcus
Hi,
jamisnemo wrote:But the client can't connect to the Crazyflie. It seems like the Crazyradio doesn't support OS X yet??
Does you computer only have USB3 ports? If not could you connect the Crazyradio to a USB2 port? It's should possible to connect to the Crazyflie without having a controller plugged in (although the
issue you mentioned might affect this on OSX).
/Marcus
Re: pygame + hg + OS X
Posted: Sat May 11, 2013 11:13 am
by smiler
It's a pygame issue, fixed in the HG repository but hasn't found its way into the release version yet.
I'm currently working on building a native OSX package of the client, similar to the windows one using py2app.
Re: pygame + hg + OS X
Posted: Sat May 11, 2013 11:32 am
by marcus
smiler wrote:I'm currently working on building a native OSX package of the client, similar to the windows one using py2app.
That would be great!! I guess for packaging it OSX is needed?
/Marcus
Re: pygame + hg + OS X
Posted: Sat May 11, 2013 1:26 pm
by smiler
marcus wrote:
That would be great!! I guess for packaging it OSX is needed?
I don't know (yet). Native binaries are needed but I guess you in theory can set up a cross compiler for it. However my python-fu isn't very good (I'm more of a ruby guy

). We'll see.