mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 21:20:07 -05:00
51dbe8e59d
-Migrate to bitbucket.
43 lines
691 B
Markdown
43 lines
691 B
Markdown
# Build Guide for Mac OS/X
|
|
|
|
Install Xcode from the App Store. Install [homebrew](http://brew.sh/).
|
|
|
|
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 dbus 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
|
|
```
|
|
|
|
Compile the binary:
|
|
|
|
```
|
|
cd fractorium
|
|
qmake CONFIG-=app_bundle
|
|
make
|
|
```
|
|
|
|
Run the binary from the release folder:
|
|
|
|
```
|
|
cd Bin/release
|
|
./fractorium
|
|
```
|
|
|