A Ruby GUI toolkit
This was originally out of the running because it uses the closed source FMOD library for sound output on Windows. Releasing commercial software on Windows would require getting a license for FMOD.
However, since everything else is horrid beyond comprehension and this is just
gem install gosu we'll use it for now.
.. and examples work out of the box:
- 2010-11-10 - (version not recorded) on Lubuntu 10.10
(date not recorded) - (version not recorded) - Unity Linux (version not recorded)
- I had issues installing it and never got it running.
Additional libraries ∞
require gosu, it explodes ∞
crap I should have ignored that.. it's for an older failed library.
smart install libsdl-devel libSDL_mixer-devel libboost-devel libSDL_ttf-devel libmesaglut3-devel libSDL_gfx-devel libSDL_image-devel
gem install gosu gem install ruby-opengl
/usr/lib/ruby/gems/1.8/gems/gosu-0.7.25/lib/gosu.so: /usr/lib/ruby/gems/1.8/gems/gosu-0.7.25/lib/gosu.so: undefined symbol: _ZTVN10__cxxabiv121__vmi_class_type_infoE - /usr/lib/ruby/gems/1.8/gems/gosu-0.7.25/lib/gosu.so (LoadError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/gems/1.8/gems/gosu-0.7.25/lib/gosu.rb:12 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require' from testgame.rb:6
Solved: I ended up switching from Unity Linux to Lubuntu.
sudo gem install ruby-opengl freeglut3-dev
sudo apt-get install ruby rdoc ri ruby1.8-dev
Hrm, I don't exactly remember what I did, but it was pretty easy to get things working.
2010-11-10 - (version not recorded) ∞
I began with:
\sudo \apt-get install libsdl1.2-dev pkg-config g++ libboost-dev libsdl-mixer1.2-dev ... and more, bah
Recommended, I did this:
\sudo \apt-get install g++ libgl1-mesa-dev libpango1.0-dev libboost-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev ruby1.8-dev \sudo \gem install gosu
./gosu.rb:5: uninitialized constant Gosu (NameError) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from ./gosu.rb:3
I asked for help:
Somehow, scripts began to work when I'm in
~ when I run them. This wasn't the case earlier (they were broken everywhere). What the hell.
Unsolved: Why do I have to be in
~ or in the tutorials directory to run scripts?