Hey guys, I've just discovered Gosu recently and am trying to install it on my Ubuntu machine. However, when I try to
gem install gosu
, I get a compilation error. This is the log file:
The Gosu gem requires some libraries to be installed system-wide.
See the following site for a list:https://github.com/jlnr/gosu/wiki/Getting-Started-on-Linux
checking for TTF_RenderUTF8_Blended() in -lSDL_ttf... no
checking for FreeImage_ConvertFromRawBits() in -lfreeimage... no
checking for main() in -lopenal... no
cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ [enabled by default]
cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from ../Gosu/Gosu.hpp:21:0,
../Gosu/Input.hpp:20:22: fatal error: X11/Xlib.h: No such file or directory
make: *** [RubyGosu_wrap.o] Error 1
I'm not sure what to do here, and google isn't helping. Any thoughts?