How to build/compile aseprite from source? Windows 10/11, 2024 - No sound!

Subscribers:
2,330
Published on ● Video Link: https://www.youtube.com/watch?v=7P56SSinENw



Aseprite
Game:
Aseprite (2016)
Duration: 0:00
143 views
10


Let's build/compile aseprite from source!

My GUI will have text in brazilian portuguese, but I will focus where are the options you need to choose. The english installer is almost equal. I'm running a Windows Sandbox, so some warnings may appear during the tutorial.

Warning: in order to the build process succeeds, another C++ compilers must not be in the Windows path!

------------------------------------

Chapters:
00:00 - Introduction;
00:28 - Downloading and installing Visual Studio 2022;
08:47 - Downloading and installing Git;
10:25 - Opening the Windows command prompt;
10:52 - Preparing the build envinroment;
11:51 - Cloning the aseprite repository;
13:52 - Changing the current directory to the aseprite source directory;
14:05 - Preparing the build;
15:05 - Starting the actual build;
21:01 - Finishing the build;
21:44 - Testing the finished build;
22:24 - Copying the finished build and excluding the source folder.

------------------------------------

Steps:
1) Install Visual Studio 2022 Community if you don't have it installed.
Download link: https://visualstudio.microsoft.com/vs/community/

You can use MS Build tools too, but the path to the developer command prompt below will change.

During the installer, select C++ development.
Wait the installer to finish.

2) Install git if you don't have it installed.
Download link: https://git-scm.com/downloads/win

3) Open a command prompt.

4) Inside the command prompt, run the following commands:

Start the developer command prompt:
call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" -arch=x64 <ENTER>

Change directory to the desired folder where aseprite source will be downloaded. In the example, this folder will be the Desktop folder of my user (WDAGUtilityAccount). You will need to change to where you want:
cd Desktop <ENTER>

Clone the aseprite repository:
git clone --recursive https://github.com/aseprite/aseprite.git <ENTER>

Change directory to the aseprite source code folder:
cd aseprite <ENTER>

Run the build batch file:
build.cmd <ENTER>

Now the build process will begin. First option, choose U:
U (just press U)

Press <ENTER> to confirm the location of the skia library download:
<ENTER>

Press Y to download the skia library:
Y (just press Y)

After the download finishes, press enter to start the actual build:
<ENTER>

Wait the build to finish. It may take a while... The last message will be something like "Run Aseprite with the following command:". When it finishes, press <ENTER> and close the terminal. The compiled version of aseprite will be inside the build\bin folder of the aseprite source code folder. You can copy this folder to anywhere you want and have fun and exclude the source folder.

Hope you liked! Please, leave a like!!!