Thursday, August 3, 2017

How to Build OpenITG in Ubuntu from Source

This guide assumes you have downloaded the latest copy of the OpenITG source code from here: You can optionally take the latest build from here: - However, this build hasn't been updated since 2013 and features quite a few bugs. So let's build from source using this guide.

NOTE: This guide has been written and tested using: Ubuntu 17.04 Zesty Zapus / 13 April 2017

1. Enable "Community-maintained free and open-source software (universe)".

a) Via the GUI here: Search > Software & Updates.


b) via Terminal here:
sudo add-apt-repository universe
sudo apt-get update

2. Open Terminal and execute the following...
sudo apt-get install libasound2-dev libpulse-dev libmad0-dev libtheora-dev libvorbis-dev libpng-dev libjpeg-dev libglu1-mesa-dev libgl1-mesa-dev xorg-dev libxrandr-dev libbz2-dev libglew1.5-dev glew-utils libglew-dev libglewmx-dev libgtk2.0-dev yasm automake liblua5.1-0-dev libusb-dev libavcodec-dev libavformat-dev libswscale-dev libresample1-dev libcrypto++-dev libsdl1.2-dev libavutil-dev libjpeg62-dev

NOTE: The old Beta2 build does not require these libraries: libavutil-dev libpng12-dev libjpeg62-dev

3. Install libpng12-dev. libpng12-dev is not available in the universe repository, so you have to add a new repository

a) Add the following line to: /etc/apt/sources.list
deb trusty-security main

b) Now install libpng12-dev
sudo apt-get install libpng12-dev

4. Open Terminal and execute the following to build the source...

5. Open Terminal and execute the following to package it into a nice releasable form...

6. A zip file (release) will now have been generated in the main directory called "". Well done!

NOTE: If you are trying to run OpenITG and it states that shared files/libs are missing, then chances are a lib was missing when it was compiled. Please check ALL required libraries were present on your system at compile time.

Need pads? and have PIUIO:

Credits: s34n and TeamBBC

No comments:

Post a Comment