Hi everybody, I have to bring this up too as I'm stuck in the same problem.
Unlike Martin I didn't forget the add a .m implementation for the library I want to use (Box2D in my case) but then I only get a different error: ~/Downloads/Box2D_v2.1.2/Box2D/Build/Box2D/Debug $ macruby -e 'require "libBox2D"' -e:1:in `<main>': dlopen(/Users/tomk32/Downloads/Box2D_v2.1.2/Box2D/Build/Box2D/Debug/libBox2D.bundle, 9): no suitable image found. Did find: /Users/tomk32/Downloads/Box2D_v2.1.2/Box2D/Build/Box2D/Debug/libBox2D.bundle: unknown file type, first eight bytes: 0x21 0x3C 0x61 0x72 0x63 0x68 0x3E 0x0A - /Users/tomk32/Downloads/Box2D_v2.1.2/Box2D/Build/Box2D/Debug/libBox2D.bundle (LoadError) The resulting .bundle (I'm using xcode as box2d brings an projectfile with it) is a archive file with all library .o files in it but oh macruby, why u no work? So, can we get an update on Matt's receipt or a few more details for those who have a pure ruby background and never ever work with compiler and such? ciao, tom Am 03.03.2011 um 19:07 schrieb Martin Hawkins: > I presume I'm doing something really dopey and apologies if that is > the case. > > I've been following Matt Aimonetti's excellent instructions on the > MacRuby site with the above title - I'm attempting to wrap Uli > Kusterer's UKKQueue library. > I've followed the instructions - the bundle builds ok; it builds > 'UKKQueue_engine.bundle' and then I try to 'require' it from the > macirb prompt and I get > require 'UKKQueue_engine' > LoadError: no such file to load -- UKKQueue_engine > > I've copied the UKKQueue_engine.bundle into the pwd - should I be > putting the file somewhere else? _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel