How to compile Aseprite's source code

5,378 views
Skip to first unread message

Jir-0

unread,
Nov 1, 2015, 2:06:38 AM11/1/15
to aseprite-discuss
I have been trying to compile the source code as shown in the INSTALL.md file.
https://github.com/aseprite/aseprite/blob/master/INSTALL.md

But the instructions aren't clear to me. It's very confusing since I'm new to this. Can anyone try to explain the compiling process with screenshots? I will be thankful.

Liang Ying-Ruei

unread,
Nov 1, 2015, 4:07:37 AM11/1/15
to aseprite...@googlegroups.com
Don't know if you're using Windows, but for Unix-like system here it is.

In short:
1. git clone --recursive https://github.com/aseprite/aseprite.git
2. cd aseprite
3. mkdir build
4. cd build
5. cmake ..
6. make
> --
> You received this message because you are subscribed to the Google Groups
> "aseprite-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to aseprite-discu...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Work hard, but also play hard and have fun.

Jir-0

unread,
Nov 1, 2015, 5:20:08 AM11/1/15
to aseprite-discuss
Yes, I do in fact use Windows. I am still confused at Step 2-4. Where do I put those folders? In the aseprite directory? And I am also unfamiliar with CMake. I might be doing something wrong here. Can you please be more specific? Sorry if I may be annoying. Thanks for answering.

Liang Ying-Ruei

unread,
Nov 1, 2015, 6:21:41 AM11/1/15
to aseprite...@googlegroups.com
>Where do I put those folders
You can put this folder anywhere as you like, even in the root of
aseprite folder. Also the name doesn't matter.

After you're in the folder you desire, you could run CMake with proper
setting. As I know, there's an GUI version CMake for Windows user. All
you need to do is specify the input file (CMakeLists.txt in root of
aseprite folder) and output directory (the place you put compiled
objects and binaries), then CMake will generate a project file for
Visual Studio (or other type if you desire) and the rest steps are out
of my knowledge. I guess using VS to open the generated project file
then run "build" should work fine.

Good luck to you

David Capello

unread,
Nov 1, 2015, 12:44:48 PM11/1/15
to aseprite...@googlegroups.com, wall...@gmail.com
Hi there,

Was you able to compile Aseprite?
Do you have Visual Studio installed? You need to start a command line with Visual Studio tools enabled. (I’m not on a Windows PC right now, but you can search for something like “visual studio command line” or similar in the Start menu.) You can check that you have cmake and cl (the visual studio compiler) available in the command line just writing

cmake [ENTER]

And then

cl [ENTER]

If both commands are working, I think that you should be able to compile Aseprite. On step 2 you should write:

cmake .. -G "NMake Makefiles”

Inside the your-aseprite-clone/build/ directory.
And in step 3 you have to execute:

nmake aseprite

(This will be faster than compiling the whole project + automated tests)

- David

> On Nov 1, 2015, at 07:20, Jir-0 <wall...@gmail.com> wrote:
>
> Yes, I do in fact use Windows. I am still confused at Step 2-4. Where do I put those folders? In the aseprite directory? And I am also unfamiliar with CMake. I might be doing something wrong here. Can you please be more specific? Sorry if I may be annoying. Thanks for answering.
>

Jir-0

unread,
Nov 14, 2015, 11:07:01 PM11/14/15
to aseprite-discuss, wall...@gmail.com
I've been trying to install Visual Studio with no luck. I might have to figure out how to get around it since I really want to compile Aseprite. I'll reply again if I'm able to compile Aseprite or not.
Reply all
Reply to author
Forward
0 new messages