Skip to content

Instantly share code, notes, and snippets.

@jrmedd
Forked from tigregalis/build-aseprite-win10.md
Created October 13, 2025 11:31
Show Gist options
  • Select an option

  • Save jrmedd/878ec34abad5efaf3abd9634c9f9001f to your computer and use it in GitHub Desktop.

Select an option

Save jrmedd/878ec34abad5efaf3abd9634c9f9001f to your computer and use it in GitHub Desktop.
building aseprite on windows

https://github.com/aseprite/aseprite/blob/master/INSTALL.md

instructions taken from above, but a complete summary specifically for windows (in the right order) is below

  1. download cmake and install it
  2. download ninja and install it
  3. download Visual Studio Community 2022
  4. install Visual Studio Community 2022 with the "Desktop development with C++ item", ensuring "Windows 10.0.18362.0 SDK" is selected
  5. download latest pre-built skia library (aseprite branch)
  6. extract the skia library to a directory (e.g. C:\deps\skia) (make note of this directory*)
  7. open a terminal (command prompt)
  8. in the terminal, run this command:
# the below line assumes you installed it to the default location `C:\Program Files (x86)\Microsoft Visual Studio\2022\Community`, otherwise replace with your install location
call "C:\Program Files (x86)\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" -arch=x64
# `VsDevCmd.bat` sets the Visual Studio related environment variables that are necessary for compiling, linking and building applications on the command line.
  1. clone repo, create build directory, create the build files, build it, with these commands:
# clone the repository (assuming you have git installed)
git clone --recursive https://github.com/aseprite/aseprite.git
# open the repository
cd aseprite
# create a build directory
mkdir build
# open the build diretory
cd build
# create build files. NOTE: replace `C:\deps\skia` (3x) in the command below with the directory you created above*
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 ..
# build it
ninja aseprite
  1. open the aseprite executable in the bin folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment