Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Ocra Ruby Packaging
- - By Omegas7 Date 2012-04-14 23:08
Following: https://github.com/jlnr/gosu/wiki/Ruby-Packaging-on-Windows

For testing purposes, I decided to try it out without any audio.

gem install ocra
ocra my_ruby_game.rb


Works just fine so far. I end up with a Game.exe file.

A portion of the article says Other gems like ruby-opengl might require their own DLLs too. You can put them in a lib subdirectory and then include them on the command line. Well, okay... ummm.... what .dlls?

Oh and, finally, the .exe doesn't work. Perhaps because of my above question.  The terminal says something like "Could not load PATH/PATH/PATH/IMG.png image with either GDI+ or FreeImage"
Parent - By jlnr (dev) Date 2012-04-15 03:38
I think by DLLs I meant ".so files", which are renamed DLLs. Binary Gems contain these. But I am not sure.

It is all a huge mess, but thankfully, Spooner's releasy problem tries to address all of this: https://github.com/Spooner/releasy You should give it a try! (And I should update the instructions!)
- By Omegas7 Date 2012-04-14 23:26
Ok, I got it working. But still, I am curious about the dlls.
Up Topic Gosu / Gosu Exchange / Ocra Ruby Packaging

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill