Trouble compiling: Ninja build stopped, subcommand failed

Hello, this is my first time compiling, I found no answers similar to my problem. I ended up getting FIVE failures when I do ‘ninja aseprite’.

c:\aseprite\build>ninja aseprite
[1/1065] Building CXX object laf\os\CMakeFiles\laf-os.dir\skia\skia_color_space.cpp.obj
FAILED: laf/os/CMakeFiles/laf-os.dir/skia/skia_color_space.cpp.obj
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DCMARK_STATIC_DEFINE -DGR_GL_FUNCTION_TYPE=__stdcall -DHAVE_CONFIG_H -DHAVE_CONFIG_OVERRIDE_H=1 -DLAF_FREETYPE -DLAF_SKIA -DLAF_WINDOWS -DLAF_WITH_REGION -DNDEBUG -DPNG_NO_MMX_CODE -DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=1 -DSK_BUILD_FOR_WIN32 -DSK_FORCE_DISTANCE_FIELD_TEXT=0 -DSK_GAMMA_APPLY_TO_A8 -DSK_GAMMA_SRGB -DSK_INTERNAL -DSK_SCALAR_TO_FLOAT_EXCLUDED -DSK_SUPPORT_GPU=0 -DSK_SUPPORT_OPENCL=0 -DUNICODE -DWINVER=0x0A00 -D_CRT_SECURE_NO_WARNINGS -D_UNICODE -D_WIN32_WINNT=0x0A00 -IC:\aseprite\third_party\zlib -IC:\aseprite\build\third_party\zlib -IC:\aseprite\third_party\libpng -IC:\aseprite\build\third_party\libpng -IC:\aseprite\third_party\libwebp\src -IC:\aseprite\third_party\tinyxml -IC:\aseprite\third_party\pixman\pixman -IC:\aseprite\build -IC:\aseprite\third_party\giflib -IC:\aseprite\third_party\jpeg -IC:\aseprite\third_party\curl\include -IC:\aseprite\third_party\simpleini -IC:\aseprite\laf\os…\third_party -IC:\aseprite\laf -IC:\aseprite\build\laf -IC:\aseprite\src -IC:\aseprite\laf\third_party\stringencoders\src -IC:\deps\skia -IC:\deps\skia\third_party\externals\freetype\include -IC:\deps\skia\third_party\externals\harfbuzz\src /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MT /Zi /O2 /Ob1 /D NDEBUG -DNOMINMAX -std:c++14 /showIncludes /Folaf\os\CMakeFiles\laf-os.dir\skia\skia_color_space.cpp.obj /Fdlaf\os\CMakeFiles\laf-os.dir\laf-os.pdb /FS -c C:\aseprite\laf\os\skia\skia_color_space.cpp
C:\aseprite\laf\os\skia\skia_color_space.cpp(18): fatal error C1083: Cannot open include file: ‘src/core/SkConvertPixels.h’: No such file or directory
[2/1065] Building CXX object laf\os\CMakeFiles\laf-os.dir\skia\skia_draw_text.cpp.obj
FAILED: laf/os/CMakeFiles/laf-os.dir/skia/skia_draw_text.cpp.obj
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DCMARK_STATIC_DEFINE -DGR_GL_FUNCTION_TYPE=__stdcall -DHAVE_CONFIG_H -DHAVE_CONFIG_OVERRIDE_H=1 -DLAF_FREETYPE -DLAF_SKIA -DLAF_WINDOWS -DLAF_WITH_REGION -DNDEBUG -DPNG_NO_MMX_CODE -DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=1 -DSK_BUILD_FOR_WIN32 -DSK_FORCE_DISTANCE_FIELD_TEXT=0 -DSK_GAMMA_APPLY_TO_A8 -DSK_GAMMA_SRGB -DSK_INTERNAL -DSK_SCALAR_TO_FLOAT_EXCLUDED -DSK_SUPPORT_GPU=0 -DSK_SUPPORT_OPENCL=0 -DUNICODE -DWINVER=0x0A00 -D_CRT_SECURE_NO_WARNINGS -D_UNICODE -D_WIN32_WINNT=0x0A00 -IC:\aseprite\third_party\zlib -IC:\aseprite\build\third_party\zlib -IC:\aseprite\third_party\libpng -IC:\aseprite\build\third_party\libpng -IC:\aseprite\third_party\libwebp\src -IC:\aseprite\third_party\tinyxml -IC:\aseprite\third_party\pixman\pixman -IC:\aseprite\build -IC:\aseprite\third_party\giflib -IC:\aseprite\third_party\jpeg -IC:\aseprite\third_party\curl\include -IC:\aseprite\third_party\simpleini -IC:\aseprite\laf\os…\third_party -IC:\aseprite\laf -IC:\aseprite\build\laf -IC:\aseprite\src -IC:\aseprite\laf\third_party\stringencoders\src -IC:\deps\skia -IC:\deps\skia\third_party\externals\freetype\include -IC:\deps\skia\third_party\externals\harfbuzz\src /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MT /Zi /O2 /Ob1 /D NDEBUG -DNOMINMAX -std:c++14 /showIncludes /Folaf\os\CMakeFiles\laf-os.dir\skia\skia_draw_text.cpp.obj /Fdlaf\os\CMakeFiles\laf-os.dir\laf-os.pdb /FS -c C:\aseprite\laf\os\skia\skia_draw_text.cpp
C:\deps\skia\include/core/SkMatrix.h(113): warning C4244: ‘argument’: conversion from ‘int32_t’ to ‘SkScalar’, possible loss of data
C:\deps\skia\include/core/SkMatrix.h(113): warning C4244: ‘argument’: conversion from ‘int32_t’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\gfx/matrix_skia.h(25): error C2039: ‘Scale’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(25): error C3861: ‘Scale’: identifier not found
C:\aseprite\laf\gfx/matrix_skia.h(29): error C2039: ‘Scale’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(29): error C3861: ‘Scale’: identifier not found
C:\aseprite\laf\gfx/matrix_skia.h(33): error C2039: ‘Translate’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(33): error C3861: ‘Translate’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(704): error C3646: ‘DefaultSamplingOptions’: unknown override specifier
C:\aseprite\laf\os/skia/skia_surface.h(704): error C2059: syntax error: ‘(’
C:\aseprite\laf\os/skia/skia_surface.h(704): error C2334: unexpected token(s) preceding ‘{’; skipping apparent function body
C:\aseprite\laf\os/skia/skia_surface.h(219): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(259): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(372): error C2661: ‘SkPixmap::erase’: no overloaded function takes 3 arguments
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(413): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(421): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(484): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2065: ‘SkSamplingOptions’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2146: syntax error: missing ‘;’ before identifier ‘sampling’
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(498): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(498): error C3861: ‘DefaultSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(503): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(525): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(544): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2065: ‘SkSamplingOptions’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2146: syntax error: missing ‘;’ before identifier ‘sampling’
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(558): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(558): error C3861: ‘DefaultSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(563): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(593): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(679): error C2653: ‘SkFilterMode’: is not a class or namespace name
C:\aseprite\laf\os/skia/skia_surface.h(679): error C2065: ‘kNearest’: undeclared identifier
[3/1065] Building CXX object laf\os\CMakeFiles\laf-os.dir\skia\skia_draw_text_with_shaper.cpp.obj
FAILED: laf/os/CMakeFiles/laf-os.dir/skia/skia_draw_text_with_shaper.cpp.obj
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DCMARK_STATIC_DEFINE -DGR_GL_FUNCTION_TYPE=__stdcall -DHAVE_CONFIG_H -DHAVE_CONFIG_OVERRIDE_H=1 -DLAF_FREETYPE -DLAF_SKIA -DLAF_WINDOWS -DLAF_WITH_REGION -DNDEBUG -DPNG_NO_MMX_CODE -DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=1 -DSK_BUILD_FOR_WIN32 -DSK_FORCE_DISTANCE_FIELD_TEXT=0 -DSK_GAMMA_APPLY_TO_A8 -DSK_GAMMA_SRGB -DSK_INTERNAL -DSK_SCALAR_TO_FLOAT_EXCLUDED -DSK_SUPPORT_GPU=0 -DSK_SUPPORT_OPENCL=0 -DUNICODE -DWINVER=0x0A00 -D_CRT_SECURE_NO_WARNINGS -D_UNICODE -D_WIN32_WINNT=0x0A00 -IC:\aseprite\third_party\zlib -IC:\aseprite\build\third_party\zlib -IC:\aseprite\third_party\libpng -IC:\aseprite\build\third_party\libpng -IC:\aseprite\third_party\libwebp\src -IC:\aseprite\third_party\tinyxml -IC:\aseprite\third_party\pixman\pixman -IC:\aseprite\build -IC:\aseprite\third_party\giflib -IC:\aseprite\third_party\jpeg -IC:\aseprite\third_party\curl\include -IC:\aseprite\third_party\simpleini -IC:\aseprite\laf\os…\third_party -IC:\aseprite\laf -IC:\aseprite\build\laf -IC:\aseprite\src -IC:\aseprite\laf\third_party\stringencoders\src -IC:\deps\skia -IC:\deps\skia\third_party\externals\freetype\include -IC:\deps\skia\third_party\externals\harfbuzz\src /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MT /Zi /O2 /Ob1 /D NDEBUG -DNOMINMAX -std:c++14 /showIncludes /Folaf\os\CMakeFiles\laf-os.dir\skia\skia_draw_text_with_shaper.cpp.obj /Fdlaf\os\CMakeFiles\laf-os.dir\laf-os.pdb /FS -c C:\aseprite\laf\os\skia\skia_draw_text_with_shaper.cpp
C:\deps\skia\include/core/SkMatrix.h(113): warning C4244: ‘argument’: conversion from ‘int32_t’ to ‘SkScalar’, possible loss of data
C:\deps\skia\include/core/SkMatrix.h(113): warning C4244: ‘argument’: conversion from ‘int32_t’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\gfx/matrix_skia.h(25): error C2039: ‘Scale’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(25): error C3861: ‘Scale’: identifier not found
C:\aseprite\laf\gfx/matrix_skia.h(29): error C2039: ‘Scale’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(29): error C3861: ‘Scale’: identifier not found
C:\aseprite\laf\gfx/matrix_skia.h(33): error C2039: ‘Translate’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(33): error C3861: ‘Translate’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(704): error C3646: ‘DefaultSamplingOptions’: unknown override specifier
C:\aseprite\laf\os/skia/skia_surface.h(704): error C2059: syntax error: ‘(’
C:\aseprite\laf\os/skia/skia_surface.h(704): error C2334: unexpected token(s) preceding ‘{’; skipping apparent function body
C:\aseprite\laf\os/skia/skia_surface.h(219): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(259): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(372): error C2661: ‘SkPixmap::erase’: no overloaded function takes 3 arguments
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(413): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(421): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(484): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2065: ‘SkSamplingOptions’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2146: syntax error: missing ‘;’ before identifier ‘sampling’
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(498): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(498): error C3861: ‘DefaultSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(503): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(525): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(544): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2065: ‘SkSamplingOptions’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2146: syntax error: missing ‘;’ before identifier ‘sampling’
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(558): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(558): error C3861: ‘DefaultSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(563): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(593): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(679): error C2653: ‘SkFilterMode’: is not a class or namespace name
C:\aseprite\laf\os/skia/skia_surface.h(679): error C2065: ‘kNearest’: undeclared identifier
[4/1065] Building CXX object laf\os\CMakeFiles\laf-os.dir\skia\skia_window_win.cpp.obj
FAILED: laf/os/CMakeFiles/laf-os.dir/skia/skia_window_win.cpp.obj
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DCMARK_STATIC_DEFINE -DGR_GL_FUNCTION_TYPE=__stdcall -DHAVE_CONFIG_H -DHAVE_CONFIG_OVERRIDE_H=1 -DLAF_FREETYPE -DLAF_SKIA -DLAF_WINDOWS -DLAF_WITH_REGION -DNDEBUG -DPNG_NO_MMX_CODE -DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=1 -DSK_BUILD_FOR_WIN32 -DSK_FORCE_DISTANCE_FIELD_TEXT=0 -DSK_GAMMA_APPLY_TO_A8 -DSK_GAMMA_SRGB -DSK_INTERNAL -DSK_SCALAR_TO_FLOAT_EXCLUDED -DSK_SUPPORT_GPU=0 -DSK_SUPPORT_OPENCL=0 -DUNICODE -DWINVER=0x0A00 -D_CRT_SECURE_NO_WARNINGS -D_UNICODE -D_WIN32_WINNT=0x0A00 -IC:\aseprite\third_party\zlib -IC:\aseprite\build\third_party\zlib -IC:\aseprite\third_party\libpng -IC:\aseprite\build\third_party\libpng -IC:\aseprite\third_party\libwebp\src -IC:\aseprite\third_party\tinyxml -IC:\aseprite\third_party\pixman\pixman -IC:\aseprite\build -IC:\aseprite\third_party\giflib -IC:\aseprite\third_party\jpeg -IC:\aseprite\third_party\curl\include -IC:\aseprite\third_party\simpleini -IC:\aseprite\laf\os…\third_party -IC:\aseprite\laf -IC:\aseprite\build\laf -IC:\aseprite\src -IC:\aseprite\laf\third_party\stringencoders\src -IC:\deps\skia -IC:\deps\skia\third_party\externals\freetype\include -IC:\deps\skia\third_party\externals\harfbuzz\src /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MT /Zi /O2 /Ob1 /D NDEBUG -DNOMINMAX -std:c++14 /showIncludes /Folaf\os\CMakeFiles\laf-os.dir\skia\skia_window_win.cpp.obj /Fdlaf\os\CMakeFiles\laf-os.dir\laf-os.pdb /FS -c C:\aseprite\laf\os\skia\skia_window_win.cpp
C:\deps\skia\include/core/SkMatrix.h(113): warning C4244: ‘argument’: conversion from ‘int32_t’ to ‘SkScalar’, possible loss of data
C:\deps\skia\include/core/SkMatrix.h(113): warning C4244: ‘argument’: conversion from ‘int32_t’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\gfx/matrix_skia.h(25): error C2039: ‘Scale’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(25): error C3861: ‘Scale’: identifier not found
C:\aseprite\laf\gfx/matrix_skia.h(29): error C2039: ‘Scale’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(29): error C3861: ‘Scale’: identifier not found
C:\aseprite\laf\gfx/matrix_skia.h(33): error C2039: ‘Translate’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(33): error C3861: ‘Translate’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(704): error C3646: ‘DefaultSamplingOptions’: unknown override specifier
C:\aseprite\laf\os/skia/skia_surface.h(704): error C2059: syntax error: ‘(’
C:\aseprite\laf\os/skia/skia_surface.h(704): error C2334: unexpected token(s) preceding ‘{’; skipping apparent function body
C:\aseprite\laf\os/skia/skia_surface.h(219): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(259): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(372): error C2661: ‘SkPixmap::erase’: no overloaded function takes 3 arguments
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(413): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(421): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(484): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2065: ‘SkSamplingOptions’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2146: syntax error: missing ‘;’ before identifier ‘sampling’
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(498): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(498): error C3861: ‘DefaultSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(503): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(525): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(544): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2065: ‘SkSamplingOptions’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2146: syntax error: missing ‘;’ before identifier ‘sampling’
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(558): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(558): error C3861: ‘DefaultSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(563): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(593): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(679): error C2653: ‘SkFilterMode’: is not a class or namespace name
C:\aseprite\laf\os/skia/skia_surface.h(679): error C2065: ‘kNearest’: undeclared identifier
[5/1065] Building CXX object laf\os\CMakeFiles\laf-os.dir\skia\os.cpp.obj
FAILED: laf/os/CMakeFiles/laf-os.dir/skia/os.cpp.obj
C:\PROGRA~2\MICROS~2\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /TP -DCMARK_STATIC_DEFINE -DGR_GL_FUNCTION_TYPE=__stdcall -DHAVE_CONFIG_H -DHAVE_CONFIG_OVERRIDE_H=1 -DLAF_FREETYPE -DLAF_SKIA -DLAF_WINDOWS -DLAF_WITH_REGION -DNDEBUG -DPNG_NO_MMX_CODE -DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=1 -DSK_BUILD_FOR_WIN32 -DSK_FORCE_DISTANCE_FIELD_TEXT=0 -DSK_GAMMA_APPLY_TO_A8 -DSK_GAMMA_SRGB -DSK_INTERNAL -DSK_SCALAR_TO_FLOAT_EXCLUDED -DSK_SUPPORT_GPU=0 -DSK_SUPPORT_OPENCL=0 -DUNICODE -DWINVER=0x0A00 -D_CRT_SECURE_NO_WARNINGS -D_UNICODE -D_WIN32_WINNT=0x0A00 -IC:\aseprite\third_party\zlib -IC:\aseprite\build\third_party\zlib -IC:\aseprite\third_party\libpng -IC:\aseprite\build\third_party\libpng -IC:\aseprite\third_party\libwebp\src -IC:\aseprite\third_party\tinyxml -IC:\aseprite\third_party\pixman\pixman -IC:\aseprite\build -IC:\aseprite\third_party\giflib -IC:\aseprite\third_party\jpeg -IC:\aseprite\third_party\curl\include -IC:\aseprite\third_party\simpleini -IC:\aseprite\laf\os…\third_party -IC:\aseprite\laf -IC:\aseprite\build\laf -IC:\aseprite\src -IC:\aseprite\laf\third_party\stringencoders\src -IC:\deps\skia -IC:\deps\skia\third_party\externals\freetype\include -IC:\deps\skia\third_party\externals\harfbuzz\src /DWIN32 /D_WINDOWS /W3 /GR /EHsc /MT /Zi /O2 /Ob1 /D NDEBUG -DNOMINMAX -std:c++14 /showIncludes /Folaf\os\CMakeFiles\laf-os.dir\skia\os.cpp.obj /Fdlaf\os\CMakeFiles\laf-os.dir\laf-os.pdb /FS -c C:\aseprite\laf\os\skia\os.cpp
C:\deps\skia\include/core/SkMatrix.h(113): warning C4244: ‘argument’: conversion from ‘int32_t’ to ‘SkScalar’, possible loss of data
C:\deps\skia\include/core/SkMatrix.h(113): warning C4244: ‘argument’: conversion from ‘int32_t’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\gfx/matrix_skia.h(25): error C2039: ‘Scale’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(25): error C3861: ‘Scale’: identifier not found
C:\aseprite\laf\gfx/matrix_skia.h(29): error C2039: ‘Scale’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(29): error C3861: ‘Scale’: identifier not found
C:\aseprite\laf\gfx/matrix_skia.h(33): error C2039: ‘Translate’: is not a member of ‘SkMatrix’
C:\deps\skia\include/core/SkMatrix.h(45): note: see declaration of ‘SkMatrix’
C:\aseprite\laf\gfx/matrix_skia.h(33): error C3861: ‘Translate’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(704): error C3646: ‘DefaultSamplingOptions’: unknown override specifier
C:\aseprite\laf\os/skia/skia_surface.h(704): error C2059: syntax error: ‘(’
C:\aseprite\laf\os/skia/skia_surface.h(704): error C2334: unexpected token(s) preceding ‘{’; skipping apparent function body
C:\aseprite\laf\os/skia/skia_surface.h(219): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(259): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(372): error C2661: ‘SkPixmap::erase’: no overloaded function takes 3 arguments
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(403): warning C4244: ‘argument’: conversion from ‘int’ to ‘SkScalar’, possible loss of data
C:\aseprite\laf\os/skia/skia_surface.h(413): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(421): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(484): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2065: ‘SkSamplingOptions’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2146: syntax error: missing ‘;’ before identifier ‘sampling’
C:\aseprite\laf\os/skia/skia_surface.h(496): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(498): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(498): error C3861: ‘DefaultSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(503): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(525): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(544): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2065: ‘SkSamplingOptions’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2146: syntax error: missing ‘;’ before identifier ‘sampling’
C:\aseprite\laf\os/skia/skia_surface.h(556): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(558): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(558): error C3861: ‘DefaultSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(563): error C2065: ‘sampling’: undeclared identifier
C:\aseprite\laf\os/skia/skia_surface.h(593): error C3861: ‘SkSamplingOptions’: identifier not found
C:\aseprite\laf\os/skia/skia_surface.h(679): error C2653: ‘SkFilterMode’: is not a class or namespace name
C:\aseprite\laf\os/skia/skia_surface.h(679): error C2065: ‘kNearest’: undeclared identifier
[6/1065] Building CXX object laf\os\CMakeFiles\laf-os.dir\win\wintab.cpp.obj
ninja: build stopped: subcommand failed.

Hi @Jorts, it looks a mismatch between your copy of Aseprite and the Skia version required to compile that specific version of Aseprite.

3 Likes

Thank you, got it compiled successfully.
Sorry if it’s a hassle for you though.

2 Likes