Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / ruby 1.9 gosu binary
- By banister Date 2009-06-12 07:46
hey there,

im having great trouble compiling gosu (0.7.13) for ruby 1.9 in linux. Does anyone have a linux gosu.so they can give me? or any good ideas
how to go about compiling it myself?

banister
- By jlnr (dev) Date 2009-06-12 08:44
If you have several versions of Ruby installed, you may need to use the file from http://www.raschke.de/julian/temp/gosu-0.7.13.4.gem. Wee weekend, I guess I should really try to push this version out officially. :/
- By banister Date 2009-06-13 00:35
thanks :)
- By banister Date 2009-06-15 01:06
hello,

i seem to be having some problems getting the linux gosu 1.9 gem to work properly. It installs fine, however when i run the included CptnRuby.rb file i get the following
error:

"caption=: in method 'setCaption', argument 1 of type 'Gosu::Window*' (TypeError)"

I tried simply commenting out the caption call but another error of a similar nature this time relating to the Gosu::Image.new() method appeared.

what's the dilly  ? :D

banister
- By jlnr (dev) Date 2009-06-15 10:22
That's exactly the type of problem that the new -4.gem was supposed to fix. It happens when there are several versions of Ruby installed on Linux, and the build process chooses the wrong header files to build against. What happens when you reinstall the gem?
- By banister Date 2009-06-17 00:49
hey,

i got it working. however this version still appears to have the gl_tex_info bug. Fixed this by copying the new Texture.cpp (from your svn) into the source direc and recompiling. works fine now :)

banister
- By jlnr (dev) Date 2009-06-17 09:14
Correct, I fixed the gl_tex_info stuff after the Ruby 1.8<->1.9 confusion :)
Up Topic Gosu / Gosu Exchange / ruby 1.9 gosu binary

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill