pygame + hg + OS X

Post here to get support
Post Reply
jamisnemo
Beginner
Posts: 9
Joined: Fri May 10, 2013 10:23 pm

pygame + hg + OS X

Post 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...
jamisnemo
Beginner
Posts: 9
Joined: Fri May 10, 2013 10:23 pm

Re: pygame + hg + OS X

Post by jamisnemo »

Well it looks like we need to install mercurial before we can try to install pygame.

I had to do:

Code: Select all

brew install mercurial
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??
jamisnemo
Beginner
Posts: 9
Joined: Fri May 10, 2013 10:23 pm

Re: pygame + hg + OS X

Post 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...
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: pygame + hg + OS X

Post 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
smiler
Member
Posts: 30
Joined: Wed May 08, 2013 2:51 pm
Location: Uppsala, Sweden

Re: pygame + hg + OS X

Post by smiler »

jamisnemo wrote: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?
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.
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: pygame + hg + OS X

Post 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
smiler
Member
Posts: 30
Joined: Wed May 08, 2013 2:51 pm
Location: Uppsala, Sweden

Re: pygame + hg + OS X

Post 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.
Post Reply