mirror of https://github.com/aseprite/aseprite.git
Update INSTALL instructions with new macOS version
This commit is contained in:
parent
674d1d74d9
commit
02e82289dc
34
INSTALL.md
34
INSTALL.md
|
@ -4,18 +4,18 @@
|
||||||
* [Get the source code](#get-the-source-code)
|
* [Get the source code](#get-the-source-code)
|
||||||
* [Dependencies](#dependencies)
|
* [Dependencies](#dependencies)
|
||||||
* [Windows dependencies](#windows-dependencies)
|
* [Windows dependencies](#windows-dependencies)
|
||||||
* [Mac OS X dependencies](#mac-os-x-dependencies)
|
* [macOS dependencies](#macos-dependencies)
|
||||||
* [Linux dependencies](#linux-dependencies)
|
* [Linux dependencies](#linux-dependencies)
|
||||||
* [Compiling](#compiling)
|
* [Compiling](#compiling)
|
||||||
* [Windows details](#windows-details)
|
* [Windows details](#windows-details)
|
||||||
* [Mac OS X details](#mac-os-x-details)
|
* [macOS details](#macos-details)
|
||||||
* [Issues with Retina displays](#issues-with-retina-displays)
|
* [Issues with Retina displays](#issues-with-retina-displays)
|
||||||
* [Linux details](#linux-details)
|
* [Linux details](#linux-details)
|
||||||
* [Using shared third party libraries](#using-shared-third-party-libraries)
|
* [Using shared third party libraries](#using-shared-third-party-libraries)
|
||||||
* [Linux issues](#linux-issues)
|
* [Linux issues](#linux-issues)
|
||||||
* [Building Skia dependency](#building-skia-dependency)
|
* [Building Skia dependency](#building-skia-dependency)
|
||||||
* [Skia on Windows](#skia-on-windows)
|
* [Skia on Windows](#skia-on-windows)
|
||||||
* [Skia on Mac OS X](#skia-on-mac-os-x)
|
* [Skia on macOS](#skia-on-macos)
|
||||||
|
|
||||||
# Platforms
|
# Platforms
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@ You should be able to compile Aseprite successfully on the following
|
||||||
platforms:
|
platforms:
|
||||||
|
|
||||||
* Windows 10 + VS2015 Community Edition + Windows 10 SDK
|
* Windows 10 + VS2015 Community Edition + Windows 10 SDK
|
||||||
* Mac OS X 10.11.4 El Capitan + Xcode 7.3 + OS X 10.11 SDK + Skia (without GPU)
|
* macOS 10.12.1 Sierra + Xcode 8.0 + macOS 10.12 SDK + Skia
|
||||||
* Linux + gcc 4.8 with some C++11 support
|
* Linux + gcc 4.8 with some C++11 support
|
||||||
|
|
||||||
# Get the source code
|
# Get the source code
|
||||||
|
@ -62,7 +62,7 @@ Aseprite can be compiled with two different back-ends:
|
||||||
removed in future versions. All new development is being done in
|
removed in future versions. All new development is being done in
|
||||||
the new Skia back-end.
|
the new Skia back-end.
|
||||||
|
|
||||||
2. Skia back-end (Windows, Mac OS X): You will need a compiled version
|
2. Skia back-end (Windows, macOS): You will need a compiled version
|
||||||
of the Skia library. Please check the details about
|
of the Skia library. Please check the details about
|
||||||
[how to build Skia](#building-skia-dependency) on your platform.
|
[how to build Skia](#building-skia-dependency) on your platform.
|
||||||
|
|
||||||
|
@ -83,12 +83,12 @@ After that you have to choose the back-end:
|
||||||
[Windows details](#windows-details) section to know how to call
|
[Windows details](#windows-details) section to know how to call
|
||||||
`cmake` correctly.
|
`cmake` correctly.
|
||||||
|
|
||||||
## Mac OS X dependencies
|
## macOS dependencies
|
||||||
|
|
||||||
On OS X you will need Mac OS X 10.11 SDK and Xcode 7.3 (maybe older
|
On macOS you will need macOS 10.12 SDK and Xcode 8.0 (older versions
|
||||||
versions might work).
|
might work).
|
||||||
|
|
||||||
Also, you must compile [Skia](#skia-on-mac-os-x) before starting with
|
Also, you must compile [Skia](#skia-on-macos) before starting with
|
||||||
the [compilation](#compiling).
|
the [compilation](#compiling).
|
||||||
|
|
||||||
## Linux dependencies
|
## Linux dependencies
|
||||||
|
@ -121,7 +121,7 @@ The `libxcursor-dev` package is needed to
|
||||||
|
|
||||||
Here `cmake` needs different options depending on your
|
Here `cmake` needs different options depending on your
|
||||||
platform. You must check the details for
|
platform. You must check the details for
|
||||||
[Windows](#windows-details), [OS X](#mac-os-x-details), and
|
[Windows](#windows-details), [macOS](#macos-details), and
|
||||||
[Linux](#linux-details). Some `cmake` options can be modified using tools like
|
[Linux](#linux-details). Some `cmake` options can be modified using tools like
|
||||||
[`ccmake`](https://cmake.org/cmake/help/latest/manual/ccmake.1.html)
|
[`ccmake`](https://cmake.org/cmake/help/latest/manual/ccmake.1.html)
|
||||||
or [`cmake-gui`](https://cmake.org/cmake/help/latest/manual/cmake-gui.1.html).
|
or [`cmake-gui`](https://cmake.org/cmake/help/latest/manual/cmake-gui.1.html).
|
||||||
|
@ -150,9 +150,9 @@ with the following arguments:
|
||||||
In this case, `C:\deps\skia` is the directory where Skia was compiled
|
In this case, `C:\deps\skia` is the directory where Skia was compiled
|
||||||
as described in [Skia on Windows](#skia-on-windows) section.
|
as described in [Skia on Windows](#skia-on-windows) section.
|
||||||
|
|
||||||
## Mac OS X details
|
## macOS details
|
||||||
|
|
||||||
After [compiling Skia](#skia-on-mac-os-x), you should run `cmake` with
|
After [compiling Skia](#skia-on-macos), you should run `cmake` with
|
||||||
the following parameters and then `ninja`:
|
the following parameters and then `ninja`:
|
||||||
|
|
||||||
cd aseprite
|
cd aseprite
|
||||||
|
@ -161,7 +161,7 @@ the following parameters and then `ninja`:
|
||||||
cmake \
|
cmake \
|
||||||
-DCMAKE_OSX_ARCHITECTURES=x86_64 \
|
-DCMAKE_OSX_ARCHITECTURES=x86_64 \
|
||||||
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 \
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.7 \
|
||||||
-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk \
|
-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk \
|
||||||
-DUSE_ALLEG4_BACKEND=OFF \
|
-DUSE_ALLEG4_BACKEND=OFF \
|
||||||
-DUSE_SKIA_BACKEND=ON \
|
-DUSE_SKIA_BACKEND=ON \
|
||||||
-DSKIA_DIR=$HOME/deps/skia \
|
-DSKIA_DIR=$HOME/deps/skia \
|
||||||
|
@ -171,7 +171,7 @@ the following parameters and then `ninja`:
|
||||||
ninja aseprite
|
ninja aseprite
|
||||||
|
|
||||||
In this case, `$HOME/deps/skia` is the directory where Skia was
|
In this case, `$HOME/deps/skia` is the directory where Skia was
|
||||||
compiled as described in [Skia on Mac OS X](#skia-on-mac-os-x) section.
|
compiled as described in [Skia on macOS](#skia-on-macos) section.
|
||||||
|
|
||||||
### Issues with Retina displays
|
### Issues with Retina displays
|
||||||
|
|
||||||
|
@ -220,7 +220,7 @@ known issues solved in
|
||||||
# Building Skia dependency
|
# Building Skia dependency
|
||||||
|
|
||||||
When you compile Aseprite with [Skia](https://skia.org) as back-end on
|
When you compile Aseprite with [Skia](https://skia.org) as back-end on
|
||||||
Windows or OS X, you need to compile a specific version of Skia. In
|
Windows or macOS, you need to compile a specific version of Skia. In
|
||||||
the following sections you will find straightforward steps to compile
|
the following sections you will find straightforward steps to compile
|
||||||
Skia.
|
Skia.
|
||||||
|
|
||||||
|
@ -260,7 +260,7 @@ lot of packages, please wait and re-run the same command in case it fails.)
|
||||||
More information about these steps in the
|
More information about these steps in the
|
||||||
[official Skia documentation](https://skia.org/user/quick/windows).
|
[official Skia documentation](https://skia.org/user/quick/windows).
|
||||||
|
|
||||||
## Skia on Mac OS X
|
## Skia on macOS
|
||||||
|
|
||||||
These steps will create a `deps` folder in your home directory with a
|
These steps will create a `deps` folder in your home directory with a
|
||||||
couple of subdirectories needed to build Skia (you can change the
|
couple of subdirectories needed to build Skia (you can change the
|
||||||
|
@ -280,7 +280,7 @@ several minutes to finish:
|
||||||
After this you should have all Skia libraries compiled. When you
|
After this you should have all Skia libraries compiled. When you
|
||||||
[compile Aseprite](#compiling), remember to add
|
[compile Aseprite](#compiling), remember to add
|
||||||
`-DSKIA_DIR=$HOME/deps/skia` parameter to your `cmake` call as
|
`-DSKIA_DIR=$HOME/deps/skia` parameter to your `cmake` call as
|
||||||
described in the [Mac OS X details](#mac-os-x-details) section.
|
described in the [macOS details](#macos-details) section.
|
||||||
|
|
||||||
More information about these steps in the
|
More information about these steps in the
|
||||||
[official Skia documentation](https://skia.org/user/quick/macos).
|
[official Skia documentation](https://skia.org/user/quick/macos).
|
||||||
|
|
Loading…
Reference in New Issue