Open Senevri opened 11 years ago
Which version of SDL did you install? And, exactly which windows system directories did you copy the DLL to?
1.2.15, 64-bit MinGW, installed to SysWOW64, and when that didn't work, to System32. I did get it to work with standard ruby, so unsurprisingly, this is an interaction issue with jRuby. Maybe the ball should be passed to them regarding this issue?
I have the same problem: I still don't know how to solve it:
Dimmi: \Ruby23\bin\ruby.exe board.rb
C:/Ruby23/lib/ruby/gems/2.3.0/gems/nice-ffi-0.4/lib/nice-ffi/library.rb:98:in load_library': Could not load SDL. (LoadError) from C:/Ruby23/lib/ruby/gems/2.3.0/gems/ruby-sdl-ffi-0.4/lib/ruby-sdl-ffi/sdl.rb:51:in
module:SDL'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/ruby-sdl-ffi-0.4/lib/ruby-sdl-ffi/sdl.rb:34:in <top (required)>' from C:/Ruby23/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require'
from C:/Ruby23/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Ruby23/lib/ruby/gems/2.3.0/gems/rubygame-2.6.4/lib/rubygame/main.rb:22:in
<top (required)>'
from C:/Ruby23/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' from C:/Ruby23/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in
require'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/rubygame-2.6.4/lib/rubygame.rb:44:in block in <top (required)>' from C:/Ruby23/lib/ruby/gems/2.3.0/gems/rubygame-2.6.4/lib/rubygame.rb:43:in
each'
from C:/Ruby23/lib/ruby/gems/2.3.0/gems/rubygame-2.6.4/lib/rubygame.rb:43:in <top (required)>' from C:/Ruby23/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in
require'
from C:/Ruby23/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in rescue in require' from C:/Ruby23/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in
require'
from board.rb:20:in `
Dimmi:
Windows 7 64-bit, JRuby with SDL.dll in application's directory - and the execution directory of ruby. DLL also copied to windows system directories.