Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Ruby: Gosu 0.8.5 on Ubuntu 12.04
- - By arount Date 2014-12-06 12:01
Hi there

I had some troubles to install gosu gem on ubuntu 12.04, so I give you a little cookbook for future use

So, gosu need some C++ libraries who are not in default packages, you need:

+ libImageFree
+ libSndFile
+ libSDL2 / libSDL2-Ttf / libSDL2-Image / libSDL2-Mixer

ImageFree:

sudo apt-get install libfreeimage3 libfreeimage-dev

SndFile:
Download link & instructions here: http://www.linuxfromscratch.org/blfs/view/svn/multimedia/libsndfile.html

SDL2:
https://www.libsdl.org/download-2.0.php
https://www.libsdl.org/projects/SDL_ttf/
https://www.libsdl.org/projects/SDL_image/
https://www.libsdl.org/projects/SDL_mixer/
(download, untar, go to directory, ./configure, make, sudo make install)

And finally:

gem install gosu

> Successfully installed gosu-0.8.5 ಥ‿ಥ
Parent - - By jlnr (dev) Date 2014-12-06 15:53
Hey. Thanks for the cookbook!

If you have a minute, you could apply some Markdown formatting and add it here: https://github.com/jlnr/gosu/wiki/Getting-Started-on-Linux

That's the canonical place for Linux build instructions, and I think anyone can edit the page (might require a github account?) :)
Parent - - By arount Date 2014-12-08 16:10
Done :)
Parent - - By jlnr (dev) Date 2014-12-08 22:50
Thanks! And I've just noticed that it's pretty similar to my experience on the Raspberry Pi. Man, I'm looking forward to a time when every Linux distro comes with a stable SDL 2 package. :)
Parent - By arount Date 2014-12-09 15:33
Thanks to you man !
Up Topic Gosu / Gosu Exchange / Ruby: Gosu 0.8.5 on Ubuntu 12.04

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill