I have translated and created some examples using opengl with MacRuby
here:
http://www.johnmacshea.org/examples/GameRelated/
The directory Mine/ has examples which although longer - are "cleaner"
HTH,
John
On May 25, 2009, at 20:59 , Matt Aimonetti wrote:
There is problem with macgem not installing gems properly. You can
try to unpack your gem and require it manually (recommended since
you don't want to force your users to install gems).
However ruby-opengl uses C extensions which will probably not be
MacRuby 0.4 compatible. The good news tho, is that you can do all
your opengl stuff using the cocoa API :)
- Matt
On Mon, May 25, 2009 at 10:23 AM, Jonathan Waddilove <jonat...@waddilove.net
> wrote:
Hi, I'm just starting to use MacRuby and I would like to be able to
use OpenGL. So far I have been unable to install the GEM.
I have just checked out the current MacRuby trunk (Mon 25 May) and
after building it I get the following error:
sudo macgem install ruby-opengl
Password:
macruby(37134,0x1037a5000) malloc: free_garbage: garbage ptr =
0x800031ca0, has non-zero refcount = 1
ERROR: While executing gem ... (RangeError)
bignum too big to convert into `unsigned long long'
Umm, is there a problem with the MacGem tool in the current drop or
have I made a silly user error.
Many thanks, Jonathan
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel