Compiling Yabause/linux/linux/qt
From Yabause
Yabause Manual |
For users |
For developers |
edit |
top » build: macosx » host: macosx
Contents
Setting up the build environment :
This includes the compiler and the required tools to build Yabause and its dependencies. Please note that for some Linux distributions a number of the following packages can also be obtained through their internal package manager. Please refer to the documentation relating to your Linux distribution.
CMake
- Download the latest CMake version and install it : CMake 2.8.12
Subversion
- Download the latest Subversion version and install it : Subversion
GTK+ Libraries
- Optionally download the latest GTK+ Libraries version and install it(if you want to compile the GTK version) : GTK+ 3.8
Qt Libraries
- Optionally download the latest Qt Libraries version and install it(if you want to compile the Qt version) : Qt 4.8.5
SDL Development Libraries
- Optionally download the latest SDL Development Libraries and install it : SDL 1.2.15
How to get the Yabause source ?
- Go into a terminal session.
- Change to the directory where you want to save yabause and type: "svn checkout svn://svn.code.sf.net/p/yabause/code/trunk/yabause yabause"
- Repeat the same process again but this time type: "svn checkout svn://svn.code.sf.net/p/yabause/code/trunk/mini18n mini18n"
- Make a note of where you've saved Yabause and mini18n
Compiling Mini18n
- Launch CMake (cmake-gui).
Where is the code source : Put where you saved mini18n. e.g. /home/myaccount/mini18n Where to build the binaries : Use the same location but append "-build" on the end. e.g. /home/myaccount/mini18n-build
- Click on "Configure" button. When it asks if it's OK to create directory, click "Yes".
- Choose "Unix Makefiles" from the list and click the "Done" button. Wait until program finishes detecting settings.
- Click on "Generate" button.
- Close or minimize CMake.
- Go back into terminal and into your mini18n-build directory. Type "make install" and wait a minute.
- Now mini18n should be installed.
Compiling Yabause
- Launch CMake (cmake-gui) and set the paths :
Where is the code source : Put where you saved Yabause. e.g. /home/myaccount/Documents/yabause Where to build the binaries : Use the same location but append "-build" on the end. e.g. /home/myaccount/yabause-build
- Click on "Configure" button. When it asks if it's OK to create directory, click "Yes".
- Choose "Unix Makefiles" from the list and click the "Done" button. Wait until program finishes detecting settings.
- You'll get a window with lot red lines. we're going to setting the paths.
YAB_PORTS -> If you've installed Qt and want to use it set this to "qt", or if you've installed gtk set this to "gtk". YAB_PORT_OSD -> Make sure it's checked.
- Click on "Configure" button.
- Click on "Generate" button.
- Close CMake.
- Go back into terminal and into your yabause-build directory. Type "make install" and wait a minute.
- Now Yabause should be installed.