Gosu ruby windows no allocator for Image [on hold]
- by user2812818
I am trying to run the Gosu tutorial on Windows XP for ruby 1.93
It quits with
`new': allocator undefined for Gosu::Image (TypeError)
when trying to initialize a new Image:
require 'gosu'
require 'rubygems'
class GameWindow < Gosu::Window
def initialize
super(640, 480, false)
self.caption = "Gosu Tutorial Game"
@background_image = Gosu::Image.new(self, "/media/123.bmp", true)
end
end
I made sure the image is there and is png/bmp.
I know it is something simple, maybe to do with the DLL's required?
just not sure what....
thanks
sgv