I am quite new to Gosu and I have an application that is running perfectly under Os X. I have tried to run it on a Raspberry Pi under Raspbian Jessie. I Installed everything as stated in the getting started guide (all dependencies, SDL and SDL_ttf compiled) and had no problem installing the gosu gem.
The application starts and opens the window but nothing is drawn.
Just to be sure I executed a basic "hello world" but I got the same result. Runs fine, nothing is shown in the screen (neither windowed nor fullscreen).
class Hello < Gosu::Window
super 640, 480, true
self.caption = 'Hello World!'
@background_image = Gosu::Image.new("media/background.png", :tileable => true)
@background_image.draw(0, 0, 0)
window = Hello.new
I get "drawing" written in the terminal, so 'draw' is called and executed, but nothing shown on the screen.
Any Idea? Am i missing something? Some library needed and not installed? Some settings I overlooked?
Thanks in advance,
Found the problem.
I configured it and built with
> ./configure --host=armv7l-raspberry-linux-gnueabihf --disable-pulseaudio --disable-esd --disable-video-mir --disable-video-wayland --disable-video-x11 --disable-video-opengl
> sudo make install
now it's working
I know this is a bit late but, which Pi are you using? I could not get gosu to run on the pi 3 and I don't have the pi in my possession at this time to test your solution.
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill