Box2D Forums

It is currently Sat May 25, 2013 9:17 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Ruby Box2d bindings
PostPosted: Mon Dec 24, 2007 8:01 pm 
Offline

Joined: Thu Dec 06, 2007 6:21 pm
Posts: 8
Hey Remo,
thanks, but I'm on leopard intel!


Top
 Profile  
 
 Post subject: Re: Ruby Box2d bindings
PostPosted: Tue Dec 25, 2007 4:35 am 
Offline

Joined: Mon Sep 24, 2007 3:04 pm
Posts: 7
hi vanjalolz,

(sorry for my english ;)

i think i should build an "universal" binary. this runs on both platforms. but at the moment i don't know which build i used :)

you can checkout the source of the gem in the "Contrib"-directory of Box2D. Then you can try to build the gem.

- first you should change the XCode-Project (Box2d-Lib) to a static library.
- check the build for static stl-compile/link.
- after you have builded it, you should copy the libbox2d.a to the "Library"-directory
- you can call ruby extconf.rb, make
- ruby ruby.gemspec
- then you have the gem.

remo


Top
 Profile  
 
 Post subject: Re: Ruby Box2d bindings
PostPosted: Tue Dec 25, 2007 6:33 pm 
Offline

Joined: Thu Dec 06, 2007 6:21 pm
Posts: 8
Thanks for the help remo,

this is the intel version of your file, works great :D
http://vanjalolz.googlepages.com/box2d-1.4.3.gem


Top
 Profile  
 
 Post subject: Re: Ruby Box2d bindings
PostPosted: Fri Feb 29, 2008 7:31 pm 
Offline

Joined: Mon Feb 18, 2008 12:30 am
Posts: 88
I'm working on a Python version, and am having trouble with userData.

Would you be so kind as to post your Box2D.i file again?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ]  Go to page Previous  1, 2

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: psbot [Picsearch] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group