I’m searching for a way to get simple graphical output in ruby for a
simple physics simulation. All I need are circles and lines and a decent
framerate in fullscreen-like resolutions. I tried ruby-processing but in
800*600 i get less than 10 frames on my not-too-old pc. And that’s just
a
circle moving around, no physics whatsoever involved.
I’m searching for a way to get simple graphical output in ruby for a
simple physics simulation. All I need are circles and lines and a
decent framerate in fullscreen-like resolutions. I tried
ruby-processing but in 800*600 i get less than 10 frames on my
not-too-old pc. And that’s just a circle moving around, no physics
whatsoever involved.
I used Ruby/OpenGL in my physics simulator. It gave me 60 fps on ~20
objects w/out physics or 30 with it. Fast enough for me. I have NVidia
Geforce FX 5200 and Athlon 64 3000+.
ok, maybe this is getting off-topic now, but when I
sudo gem install gosu
i get
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
I have no idea where to search for this mkmf.log file and I have no idea
why it fails in the first place.
If this is off-topic here please direct me somewhere where it fits.
ok, maybe this is getting off-topic now, but when I
sudo gem install gosu
i get
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
I have no idea where to search for this mkmf.log file and I have no idea
why it fails in the first place.
If this is off-topic here please direct me somewhere where it fits.
thanks
Philip
That’s… pretty weird. That never happens to me when I’m using gosu.
I’d ask you what platform you’re using, but perhaps a better idea would
be for me to direct your questions to the official Gosu forums: http://www.libgosu.org/cgi-bin/mwf/forum_show.pl
Rubygame and Gosu are great options. I use Rubygame; I have started a
framework on top of it to make simple game objects with physics attached
easy to setup and run.
I’m searching for a way to get simple graphical output in ruby for a
simple physics simulation. All I need are circles and lines and a decent
framerate in fullscreen-like resolutions. I tried ruby-processing but in
800*600 i get less than 10 frames on my not-too-old pc. And that’s just
a
circle moving around, no physics whatsoever involved.
Windows Vista
sqlite3.dll is in the same directory as the program - windows version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
gem sqlite3-ruby-1.2.0-mswin32
Can anyone tell me how to correct the following error?
RUBY PROGRAM:
require ‘sqlite3’
p “open db”
db = SQLite3::Database.new( “data.db” )
p “db close”
db.close
ERROR:
ruby dbtest.rb
./sqlite3.dll: 127: The specified procedure could not be found. -
Init_sqlite3 (LoadError)
./sqlite3.dll from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require’
from dbtest.rb:2
Exit code: 1
SYSTEM CONFIGURATION
Windows Vista
sqlite3.dll is in the same directory as the program - windows version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i386-mswin32]
gem sqlite3-ruby-1.2.0-mswin32
I’d appreciate any information available.
Thanks
Tom R.