eddex / aseprite-windows-docker-build

Build Aseprite executable for Windows using Docker :space_invader::whale2:
191 stars 30 forks source link

Failed to build #5

Closed yav12 closed 1 year ago

yav12 commented 1 year ago

When i try to build, i run into this error:

[1296/1440] Building CXX object src\app\CMakeFiles\app-lib.dir\ui\color_selector.cpp.obj
FAILED: src/app/CMakeFiles/app-lib.dir/ui/color_selector.cpp.obj
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\cl.exe"  /nologo /TP -DCMARK_STATIC_DEFINE -DCURL_STATICLIB -DENABLE_DATA_RECOVERY -DENABLE_NEWS -DENABLE_SAVE -DENABLE_SCRIPTING -DENABLE_UI -DENABLE_UPDATER -DENABLE_WEBP -DENABLE_WEBSOCKET -DFMT_LOCALE -DHAVE_CONFIG_H -DHAVE_CONFIG_OVERRIDE_H=1 -DIXWEBSOCKET_USE_ZLIB -DLAF_SKIA -DLAF_WINDOWS -DLAF_WITH_REGION -DLIBARCHIVE_STATIC -DLUA_FLOORN2I=1 -DNDEBUG -DPNG_NO_MMX_CODE -DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=1 -DSK_BUILD_FOR_WIN -DSK_ENABLE_SKSL=1 -DSK_GAMMA_APPLY_TO_A8 -DSK_GAMMA_SRGB -DSK_GL=1 -DSK_INTERNAL -DSK_SCALAR_TO_FLOAT_EXCLUDED -DSK_SUPPORT_GPU=1 -DTIXML_USE_STL -DUNICODE -DWINVER=0x0A00 -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -D_UNICODE -D_WIN32_WINNT=0x0A00 -I..\third_party\zlib -Ithird_party\zlib -I..\third_party\libpng -Ithird_party\libpng -I..\third_party\tinyxml -I..\third_party\pixman\pixman -I. -I..\third_party\giflib -I..\third_party\jpeg -I..\third_party\curl\include -I..\third_party\simpleini -IC:\deps\skia\third_party\externals\libwebp\src -I..\src\.. -I..\src\observable -Isrc\app -I..\laf -Ilaf -I..\src -I..\src\doc\.. -IC:\deps\skia -IC:\deps\skia\third_party\externals\freetype\include -IC:\deps\skia\third_party\externals\harfbuzz\src -I..\src\fixmath\.. -I..\src\dio\.. -I..\third_party\fmt\include -I..\src\observable\. -I..\third_party\cmark\src -Ithird_party\cmark\src -I..\third_party\giflib\lib -I..\third_party\json11 -I..\third_party\libarchive\libarchive -I..\third_party\tinyexpr -I..\third_party\lua -I..\third_party\IXWebSocket /DWIN32 /D_WINDOWS /GR /EHsc /MT /Zi /O2 /Ob1 /D NDEBUG -MT   -wd4267 -wd4244 -std:c++17 /showIncludes /Fosrc\app\CMakeFiles\app-lib.dir\ui\color_selector.cpp.obj /Fdsrc\app\CMakeFiles\app-lib.dir\app-lib.pdb /FS -c ..\src\app\ui\color_selector.cpp
..\src\app\ui\color_selector.cpp(474): error C2660: 'SkRuntimeShaderBuilder::makeShader': function does not take 0 arguments
C:\deps\skia\include/effects/SkRuntimeEffect.h(452): note: see declaration of 'SkRuntimeShaderBuilder::makeShader'
..\src\app\ui\color_selector.cpp(489): error C2660: 'SkRuntimeShaderBuilder::makeShader': function does not take 0 arguments
C:\deps\skia\include/effects/SkRuntimeEffect.h(452): note: see declaration of 'SkRuntimeShaderBuilder::makeShader'
..\src\app\ui\color_selector.cpp(502): error C2660: 'SkRuntimeShaderBuilder::makeShader': function does not take 0 arguments
C:\deps\skia\include/effects/SkRuntimeEffect.h(452): note: see declaration of 'SkRuntimeShaderBuilder::makeShader'
[1297/1440] Building CXX object src\app\CMakeFiles\app-lib.dir\ui\color_spectrum.cpp.obj
[1298/1440] Building CXX object src\app\CMakeFiles\app-lib.dir\ui\color_shades.cpp.obj
ninja: build stopped: subcommand failed.
The command 'cmd /S /C C:\build.bat' returned a non-zero code: 1

C:\Users\.\aseprite-windows-docker-build>

Did i miss a step or do something wrong? I did have to follow the instructions in #4