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.1440350138.txt.gz · Last modified: 2015/08/23 17:15 by fdelapena