Please post about your experiences with Rubygame 2.6 (and the 2.6 test release) here!
Please be sure to mention what operating system, Ruby version, and what versions of SDL (and SDL_image, SDL_gfx, etc.) you have.
shawn42 wrote:It's not recognizing SDL_gfx. I may have a strange setup though. Is there anything I need to do to tell ruby-sdl-ffi or ffi where to look for my libs? Where does it look by default?
"Function 'SDL_gfxBlitRGBA' not found in [/usr/lib/libSDL_gfx.so]"tyler wrote:
- Code: Select all
"Function 'SDL_gfxBlitRGBA' not found in [/usr/lib/libSDL_gfx.so]"
/opt/local/lib/ruby/gems/1.8/gems/ffi-0.5.1/lib/ffi/library.rb:77:in `attach_function': Function 'SDL_GetKeyState' not found in [/opt/local/lib/libSDL.dylib] (FFI::NotFoundError)
from /opt/local/lib/ruby/gems/1.8/gems/nice-ffi-0.2/lib/nice-ffi/library.rb:122:in `func'
from /opt/local/lib/ruby/gems/1.8/gems/ruby-sdl-ffi-0.1/lib/ruby-sdl-ffi/sdl/keyboard.rb:56
from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
....
ffi (0.5.1)
gem_plugin (0.2.3)
gemcutter (0.1.6, 0.1.5)
nice-ffi (0.2)
ruby-sdl-ffi (0.1)
rubygame (2.6.0)
rubygems-update (1.3.5)
jm3 wrote:
- Code: Select all
/opt/local/lib/ruby/gems/1.8/gems/ffi-0.5.1/lib/ffi/library.rb:77:in `attach_function': Function 'SDL_GetKeyState' not found in [/opt/local/lib/libSDL.dylib] (FFI::NotFoundError)
Users browsing this forum: alkabinolcarl, Utetriami and 1 guest