fractorium/Data/BuildGuideMacOSX.md
2017-03-16 00:39:22 +00:00

1.0 KiB

Build Guide for Mac OS/X

Install Xcode from the App Store Install Qt 5.4.2 (Note, newer versions of Qt up to and including 5.8 have a bug with drawing OpenGL lines) Install homebrew.

Install git and clone the repository:

brew install git
git clone https://mfeemster@bitbucket.org/mfeemster/fractorium.git

Install the dependencies:

brew install qt5 tbb glm jpeg libpng glib libxml2

TODO: Confirm if glib and libxml2 are actually needed.

Add the Qt bin folder to PATH to make qmake available. In ~/.bash_profile or ~/.bashrc:

PATH=/usr/local/opt/qt5/bin:$PATH
export PATH

Obtain the source:

git clone https://mfeemster@bitbucket.org/mfeemster/fractorium.git

Compile the binary:

cd fractorium
qmake CONFIG+=release
make

Creating the app bundle:

cd fractorium
cd archive
./build.sh

Run the binary from the release folder:

cd Bin/release
./fractorium

Installing:

Open Fractorium.dmg and copy Fractorium.app to /Applications.