2016-03-15 23:40:02 -04:00
|
|
|
# Build Guide for Mac OS/X
|
2016-01-20 13:48:21 -05:00
|
|
|
|
2017-03-15 20:39:22 -04:00
|
|
|
Install Xcode from the App Store
|
2017-03-15 20:42:06 -04:00
|
|
|
|
2023-08-06 02:11:06 -04:00
|
|
|
Install Qt 6.5.1
|
2017-03-15 20:42:06 -04:00
|
|
|
|
2017-03-15 20:39:22 -04:00
|
|
|
Install [homebrew](http://brew.sh/).
|
2016-01-20 13:48:21 -05:00
|
|
|
|
2023-08-06 02:11:06 -04:00
|
|
|
Install Command Line Tools for Xcode
|
|
|
|
|
|
|
|
Clone the repository:
|
2016-01-20 13:48:21 -05:00
|
|
|
|
|
|
|
```
|
2016-05-30 17:51:54 -04:00
|
|
|
git clone https://mfeemster@bitbucket.org/mfeemster/fractorium.git
|
2016-01-20 13:48:21 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
Install the dependencies:
|
|
|
|
|
|
|
|
```
|
2023-08-06 02:11:06 -04:00
|
|
|
brew install glm jpeg libpng glib openexr@2
|
2016-01-20 13:48:21 -05:00
|
|
|
```
|
|
|
|
|
|
|
|
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
|
|
|
|
```
|
|
|
|
|
2017-03-15 20:47:48 -04:00
|
|
|
Building:
|
2016-01-20 13:48:21 -05:00
|
|
|
|
|
|
|
```
|
|
|
|
cd fractorium
|
2017-03-15 20:39:22 -04:00
|
|
|
qmake CONFIG+=release
|
2016-01-20 13:48:21 -05:00
|
|
|
make
|
|
|
|
```
|
2017-03-15 20:47:03 -04:00
|
|
|
Or open main.pro in Qt Creator, select release and build all.
|
2016-01-20 13:48:21 -05:00
|
|
|
|
2017-03-15 20:39:22 -04:00
|
|
|
Creating the app bundle:
|
|
|
|
|
|
|
|
```
|
|
|
|
cd archive
|
|
|
|
./build.sh
|
|
|
|
```
|
|
|
|
|
2017-03-15 20:47:48 -04:00
|
|
|
Running the binary from the release folder:
|
2016-01-20 13:48:21 -05:00
|
|
|
|
|
|
|
```
|
2017-03-15 20:42:06 -04:00
|
|
|
cd ..
|
2016-01-20 13:48:21 -05:00
|
|
|
cd Bin/release
|
|
|
|
./fractorium
|
|
|
|
```
|
|
|
|
|
2017-03-15 20:39:22 -04:00
|
|
|
Installing:
|
|
|
|
|
|
|
|
```
|
|
|
|
Open Fractorium.dmg and copy Fractorium.app to /Applications.
|
|
|
|
```
|