Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Mir Server RuntimeError
- - By ceedee Date 2017-12-20 22:01
Hi!

Just when I finally thought I got this gem to work, I get hit with the error below when I run ruby tutorial.rb:

vagrant@vagrant-ubuntu-trusty-64:/vagrant/gosu-examples-master/examples$ ruby tutorial.rb
/home/vagrant/.rvm/gems/ruby-2.3.1/gems/gosu-0.13.1/lib/gosu/swig_patches.rb:20:in initialize': Could not initialize SDL Video: Failed to connect to the Mir Server (RuntimeError)
        from /home/vagrant/.rvm/gems/ruby-2.3.1/gems/gosu-0.13.1/lib/gosu/swig_patches.rb:20:in
initialize'
        from tutorial.rb:86:in initialize'
        from tutorial.rb:134:in
new'
        from tutorial.rb:134:in `<main>'

Any recommendations for resolving this error? I do not want to give up quite yet so I would greatly appreciate any ideas!

Thanks!
Parent - By jlnr (dev) Date 2017-12-22 11:20
Hmmm. What is your plan with Gosu running inside a Vagrant VM? Is the VM headless? That would explain why Gosu can't open a window. And why are you using a 3+ year old version of Ubuntu?
Up Topic Gosu / Gosu Exchange / Mir Server RuntimeError

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill