Strict Standards: Non-static method phpbb_feed_factory::init() should not be called statically in /home/jacius/rubygame/forums/feed.php on line 66
[phpBB Debug] PHP Notice: in file /feed.php on line 171: Cannot modify header information - headers already sent by (output started at /feed.php:66)
[phpBB Debug] PHP Notice: in file /feed.php on line 172: Cannot modify header information - headers already sent by (output started at /feed.php:66)
Rubygame Forums 2009-11-26T00:01:56+00:00 http://rubygame.org/forums/feed.php?f=3&t=71 2009-11-26T00:01:56+00:00 http://rubygame.org/forums/viewtopic.php?t=71&p=318#p318 <![CDATA[Re: The Questions of Rubygame Install]]>

Statistics: Posted by jacius — Thu Nov 26, 2009 12:01 am


]]>
2009-11-25T05:11:00+00:00 http://rubygame.org/forums/viewtopic.php?t=71&p=317#p317 <![CDATA[The Questions of Rubygame Install]]> I want to use Rubygame.
so I use gem install like this
gem install rubygame

when the finish the installed,
make action flowing like this

D:\downloads>irb
irb(main):001:0> require "rubygame"
LoadError: Could not load SDL.
from D:/Ruby/lib/ruby/gems/1.9.1/gems/nice-ffi-0.2/lib/nice-ffi/library.
rb:98:in `load_library'
from D:/Ruby/lib/ruby/gems/1.9.1/gems/ruby-sdl-ffi-0.2/lib/ruby-sdl-ffi/
sdl.rb:47:in `<module:SDL>'
from D:/Ruby/lib/ruby/gems/1.9.1/gems/ruby-sdl-ffi-0.2/lib/ruby-sdl-ffi/
sdl.rb:34:in `<top (required)>'
from D:/Ruby/lib/ruby/gems/1.9.1/gems/rubygame-2.6.2/lib/rubygame/main.r
b:22:in `require'
from D:/Ruby/lib/ruby/gems/1.9.1/gems/rubygame-2.6.2/lib/rubygame/main.r
b:22:in `<top (required)>'
from D:/Ruby/lib/ruby/gems/1.9.1/gems/rubygame-2.6.2/lib/rubygame.rb:44:
in `require'
from D:/Ruby/lib/ruby/gems/1.9.1/gems/rubygame-2.6.2/lib/rubygame.rb:44:
in `block in <top (required)>'
from D:/Ruby/lib/ruby/gems/1.9.1/gems/rubygame-2.6.2/lib/rubygame.rb:29:
in `each'
from D:/Ruby/lib/ruby/gems/1.9.1/gems/rubygame-2.6.2/lib/rubygame.rb:29:
in `<top (required)>'
from (irb):1:in `require'
from (irb):1
from D:/Ruby/bin/irb:12:in `<main>'
irb(main):002:0> include Rubygame
NameError: uninitialized constant Rubygame
from (irb):2
from D:/Ruby/bin/irb:12:in `<main>'
irb(main):003:0> include Rubygame::Events
NameError: uninitialized constant Rubygame
from (irb):3
from D:/Ruby/bin/irb:12:in `<main>'
irb(main):004:0> exit

Then I look the Windows Installation Guide of Rubygame wiki page.
and I'm downloaded the SDL SDL_image SDL_mixer SDL_ttf SDL_gfx zip file.

Now , where to Extract these DLL files ?

Statistics: Posted by JackyCheung — Wed Nov 25, 2009 5:11 am


]]>