Compiling Yabause/linux/linux/gtk

From Yabause
Jump to: navigation, search
Yabause Manual
For users
For developers
edit

top » build: linux » host: linux » port: gtk

Dependencies

Required

  • gcc
  • gtk
  • cmake
  • make

Optional

  • glut
  • gtkglext
  • mini18n (translations)
  • OpenAL (sound)
  • OpenGL
  • SDL (joystick, sound)

Getting the source

You can either use a release tarball or fetch sources from SVN. It is recommended to use a released source tarball.

Release

The latest sources are available on download page. After downloading, uncompress the archive:

tar -xzvf yabause-X.Y.Z.tar.gz 

this will create a yabause-X.Y.Z directory.

SVN

If for some reason, you want to use the latest development code, you can fetch a SVN copy:

svn co https://yabause.svn.sourceforge.net/svnroot/yabause/trunk/yabause

This will create a yabause directory.

Configuration

First create a new directory for the build, cd to that dir and run CMake with the path to Yabause sources as argument:

mkdir build
cd build
cmake /path/to/yabause/sources

If required dependencies are missing, CMake will fail.

Compilation

Once configured, compilation is started by typing:

make

This will create a yabause executable in the src/gtk directory.