development:compiling:player:autotools
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
development:compiling:player:autotools [2014/03/05 16:44] – add LIBS=-llcf fdelapena | development:compiling:player:autotools [2019/07/01 01:42] – [Step by step setup for Fedora] update Fedora dependencies fdelapena | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== Requirements ===== | ===== Requirements ===== | ||
- | * Make | + | * g++ or clang |
+ | * make | ||
+ | * pkg-config | ||
+ | * [[../ | ||
+ | * libpng | ||
+ | * FreeType | ||
+ | * HarfBuzz | ||
+ | * Pixman | ||
* SDL2 (or SDL 1.2, discouraged) | * SDL2 (or SDL 1.2, discouraged) | ||
* SDL2_mixer (or SDL_Mixer 1.2, discouraged) | * SDL2_mixer (or SDL_Mixer 1.2, discouraged) | ||
- | * Freetype | + | * libmpg123 |
- | * Pixman | + | * libvorbis |
- | * libpng | + | * opusfile |
+ | * libsndfile | ||
+ | * libxmp | ||
+ | * SpeexDSP | ||
+ | * WildMIDI | ||
* zlib | * zlib | ||
- | * boost | ||
- | * [[../ | ||
- | ===== Build ===== | + | ===== Requirements for building from git ===== |
- | * Run '' | + | * autoconf >= 2.69 |
+ | * automake >= 1.11.4 | ||
+ | * git | ||
- | For other systems, replace '' | ||
- | If you want to cross compile with a specific gcc toolchain, pass '' | + | Run '' |
- | For most games, you will need to have installed the RTP. To install RTP in UNIX you can use WINE. EasyRPG Player will detect the RTP path from the WINE registry automatically. Will work with original Japanese RTP filenames even when games are created with English RTP translations (Don Miguel, RPG Advocate) and vice-versa. Read [[/ | + | ===== Build ===== |
+ | * Run: | ||
+ | <code bash> | ||
+ | ./ | ||
+ | make | ||
+ | sudo make install | ||
+ | </ | ||
+ | ===== RTP support with WINE ===== | ||
- | If you don't want to use WINE to check RTP installation | + | For most games, |
+ | |||
+ | ====== Build from Git ===== | ||
===== Step by step setup for Debian based distros (gNewSense, Trisquel, Debian, Mint, Ubuntu...) ===== | ===== Step by step setup for Debian based distros (gNewSense, Trisquel, Debian, Mint, Ubuntu...) ===== | ||
- | * Do the [[../ | + | * Do the [[../ |
* Open the Terminal application | * Open the Terminal application | ||
* Copy the following text and paste it in your terminal window and press the enter key, you will need to enter your password and press again the enter key: | * Copy the following text and paste it in your terminal window and press the enter key, you will need to enter your password and press again the enter key: | ||
- | '' | + | <code bash> |
- | * Go to your Files application and browse into '' | + | sudo apt-get -y install --no-install-recommends libsdl2-mixer-dev libpixman-1-dev libfreetype6-dev |
- | * Move the '' | + | git clone https:// |
- | + | cd Player | |
- | Note: for Trisquel, replace the following words in the text above: '' | + | autoreconf |
- | + | ./configure | |
- | Note: if you compiled liblcf with '' | + | make |
- | + | sudo make install | |
- | Note: For Trisquel and Debian 7 will need SDL2 and SDL2_mixer packages from testing (jessie) or replace '' | + | </ |
===== Step by step setup for Fedora ===== | ===== Step by step setup for Fedora ===== | ||
- | * Do the [[../ | + | * Do the [[../ |
* Open the Terminal application | * Open the Terminal application | ||
* Copy the following text and paste it in your terminal window and press the enter key, you will need to enter your password and press again the enter key: | * Copy the following text and paste it in your terminal window and press the enter key, you will need to enter your password and press again the enter key: | ||
- | '' | + | <code bash> |
- | * Go to your Files application | + | sudo dnf -y install SDL2_mixer-devel pixman-devel |
- | * Move the '' | + | git clone https:// |
+ | cd Player | ||
+ | autoreconf -i | ||
+ | ./configure --enable-fmmidi | ||
+ | make | ||
+ | sudo make install | ||
+ | </code> | ||
+ | ===== Installation on Arch Linux ===== | ||
+ | |||
+ | There is an [[https://aur.archlinux.org/packages/easyrpg-player-git/ | ||
+ | <code bash> | ||
+ | packer | ||
+ | </ | ||
+ | If you prefer a manual compilation, here is a screencast of the compilation procedure for liblcf | ||
+ | |||
+ | https:// | ||
- | Note: if you compiled liblcf with '' |
development/compiling/player/autotools.txt · Last modified: 2019/07/01 01:54 by fdelapena