I decided to try to compile Aseprite on Windows. I had tried to do so previously over a year ago, and failed, but I don’t remember why. This time I managed to successfully complete all of the steps in the INSTALL.md
, except for the very last one, ninja aseprite
.
I’m not sure exactly what went wrong, but the final few lines are:
FAILED: bin/aseprite.exe
[snip]
LINK : warning LNK4044: unrecognized option '/LINK'; ignored
LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
skia.lib(skia.SkColor.obj) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
LINK Pass 1 failed. with 1112
ninja: build stopped: subcommand failed.
The [snip]
line is this: cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intd - Pastebin.com
It seems like it has something to do with my system architecture. Can Aseprite only be built on x86 machines? That doesn’t make much sense.
One more thing that might be worth mentioning is that I had a lot of lines like this:
..\src\app\script\sprite_class.cpp(592): warning C4244: 'initializing': conversion from 'lua_Integer' to 'const int', possible loss of data
There may have been other things, but my command prompt does not scroll back far enough.
Any ideas on why this happens and how to fix it would be greatly appreciated