User Tools

Site Tools


development:compiling:player:osx:autotools

This is an old revision of the document!


Building Player on OS X with Autotools

Build and install liblcf:

Install requirements with Homebrew:

brew install jpeg libpng libvorbis sdl2 sdl2_mixer pixman freetype boost

Download Player sources from git:

git clone https://github.com/EasyRPG/Player

Enter to the Player folder:

cd Player

Set up pkgconfig to see expat and icu4c configurations:

export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig:/usr/local/opt/expat/lib/pkgconfig:$PKG_CONFIG_PATH"

Generate configure script:

autoreconf -i

Generate Makefile:

To use the ./configure script, you have to specify the path of boost files, CXXFLAGS and LDFLAGS's values may be different depending on the version of boost.

./configure CXXFLAGS="-I/usr/local/Cellar/boost/1.57.0/include" LDFLAGS="-L/usr/local/Cellar/boost/1.57.0/lib"

Build:

make -j4

Install:

sudo make install
development/compiling/player/osx/autotools.1443866106.txt.gz · Last modified: 2016/04/01 17:34 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki