Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Gosu not working with ruby 1.9?
- By hima Date 2008-12-01 12:01
This is what I got when I tried to run gosu on ruby 1.9

D:/My Documents/My Game Development/Ruby/TestGosu/gosu.so: [BUG] Segmentation fault
ruby 1.9.0 (2007-12-25 revision 14709) [i386-mswin32]

-- control frame ----------
c:0005 p:-2507356 s:0012 b:0012 l:000011 d:000011 TOP   
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC  :require
c:0003 p:0009 s:0006 b:0006 l:000005 d:000005 TOP    init.rb:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :inherited
c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP    <dummy toplevel>:33
---------------------------
DBG> : "init.rb:1:in require'"
DBG> : "init.rb:1:in
<main>'"

I hope I didn't do anything wrong....Has anyone tried this yet? Ruby 1.9 is said to be much faster so I really wish it could work with gosu! :(
- By philomory Date 2008-12-03 02:50
It's possible to get Gosu to work with 1.9, but you have to recompile Gosu specifically targetting 1.9 instead of 1.8. There's some information on doing so under OS X in the thread, "Compiling Gosu on OS X - Build errors in Utility.cpp" (I guess I really should have put '1.9' somewhere in the title). I'm not sure how much of the stuff in that thread is relevant to the windows build process, though.
- By jlnr (dev) Date 2008-12-03 13:05 Edited 2008-12-03 13:07
Is there a "standard" 1.9 distribution for Windows that everyone uses? So far I've targeted the "One Click Ruby Installer" and everyone seemed to be using that :) If I knew which Ruby 1.9 to link against specificially, I could probably provide such a build.
Up Topic Gosu / Gosu Exchange / Gosu not working with ruby 1.9?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill