Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build #5

Closed
yav12 opened this issue Feb 13, 2023 · 0 comments
Closed

Failed to build #5

yav12 opened this issue Feb 13, 2023 · 0 comments

Comments

@yav12
Copy link

yav12 commented Feb 13, 2023

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

AlanParadis added a commit to AlanParadis/aseprite-windows-docker-build that referenced this issue Feb 19, 2023
Aseprite1.2.40 required  a compiled version of the aseprite-m102 branch of the Skia library (https://github.com/aseprite/aseprite/blob/v1.2.40/INSTALL.md)
This fix this issue : eddex#5
@eddex eddex closed this as completed Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants