Merge pull request #3181 from artisteacher/update_mac_build_directions

Update macOS build steps
This commit is contained in:
Rodney 2020-03-26 11:30:16 -05:00 committed by GitHub
commit c0fc408c99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
# Setting Up the Development Environment on MacOSX
# Setting Up the Development Environment on macOS
## Necessary Software
@ -10,10 +10,10 @@
- Qt (5.9.2 or later)
- boost (1.55.0 or later)
## Building on MacOSX
## Building on macOS
### Download boost from https://boost.org
Download the .bz2 mac (unix if mac not specified) version 1_55_0 or later (last tested with 1_69_0)
Download the .bz2 mac (unix if mac not specified) version 1_55_0 or later (last tested with 1_72_0)
Save for later step.
@ -32,7 +32,7 @@ Check site for any changes in installation instructions, but they will probably
1. Open a Terminal window
2. Execute the following statement:
```
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
```
### Install required software using brew
@ -47,6 +47,13 @@ NOTE: This will install the latest version of QT which may not be compatible wit
If you cannot use the most recent version, download the online installer from https://www.qt.io/download and install the appropriate `macOS` version (min 5.9.2). If installing via this method, be sure to install the `Qt Script (Deprecated)` libraries.
### Remove incompatible symbolic directory
Check to see if this symbolic glew directory exists. If so, remove it:
```
$ ls -l /usr/local/lib/cmake/glew
$ rm /usr/local/lib/cmake/glew
```
### Set up OpenToonz repository
These steps will put the OpenToonz repository under /Users/yourlogin/Documents.