Skip to content

Instantly share code, notes, and snippets.

@detached
Last active May 13, 2021 02:16
Show Gist options
  • Save detached/b544d344926f4a7eb69038d9d385fcb0 to your computer and use it in GitHub Desktop.
Save detached/b544d344926f4a7eb69038d9d385fcb0 to your computer and use it in GitHub Desktop.
Compile Aseprite for Windows X86
I had to compile Aseprite for my girlfriends Windows. This is how I did it.
(As I had installed VS 2017 in german language I have to guess the right translation of the menu lables)
1. Download and install Git for Windows: https://git-scm.com/download/win
2. Download VS 2017 Community: https://www.visualstudio.com
3. When installing VS 2017 select the install option 'Desktop development with C++'
4. Download and install cmake: https://cmake.org/download/
5. Download and install MozillaBuild: https://wiki.mozilla.org/MozillaBuild
6. Open git bash and type
```
git clone --recursive https://github.com/aseprite/aseprite.git
```
7. Open the file ./aseprite/cmake/FindDXGuid.cmake with a texteditor and change the PATHS line to
```
PATHS "C:/Program Files (x86)/Windows Kits/10/Lib/10.0.15063.0/um/x86/"
```
Maybe you have to adjust the build number to fit your installation.
8. Open Powershell and changedir into the aseprite directory
9. Create build directory. Chang dir into build directory.
```
mkdir build
cd build
```
10. Execute cmake
```
& 'C:\Program Files\CMake\bin\cmake.exe' ..\
```
11. Open the generated project file (aseprite.sln) with VisualStudio
12. Fix the libcurl.lib include
* Right click on aseprite in the project explorer
* Select Properties
* Open the Linker section
* Select input (DE: Eingabe)
* Change the additional dependencies (DE: Zusätzliche Abhängigkeiten)
* Find the ../lib/../libcurl.lib entry and change it to ../lib/libcurl.lib
13. Right click on ALL_BUILD entry in project explorer and select build
14. Find aseprite.exe in the ./build/bin/ directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment