If you are here from youtube video and ran into some issues kindly check issues and possible fixes
Getting the source code
Method 1: From releases (recommended)
You can download the source zip from release page
Method 2: Clone from github
git clone --recursive https://github.com/aseprite/aseprite.git
Dependencies
Installing/Setting-Up Dependencies
- Make a folder called
bin
inC:
drive. It should look likec:/bin
and paste ninja binary in it. - Add this bin folder in PATH environment variable.
- Make another folder called
c:/deps/skia
and extract skia prebuilt binaries in it.
# File tree should look like this
C:/
└── deps
└── skia
├── include
├── modules
├── out
├── src
└── third_party
Windows Dependencies
- Windows 10 or higher
- Visual Studio Community
- The Desktop development with C++ item + Windows 10/11 SDK from the Visual Studio installer
Building
Extract aseprite code in c:/aseprite
Open command prompt and run following commands.
call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" -arch=x64
cd c:\aseprite
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLAF_BACKEND=skia -DSKIA_DIR=C:\deps\skia -DSKIA_LIBRARY_DIR=C:\deps\skia\out\Release-x64 -DSKIA_LIBRARY=C:\deps\skia\out\Release-x64\skia.lib -G Ninja ..
ninja aseprite
Issues and Possible Fixes
’hb.h’: No such file or directory
hb (HarfBuzz) is text shaping library that puts together characters into words/sentences
So, in order to compile properly you have to change system language.