Issue when compiling aseprite

I’m trying to compile aseprite but I’m getting an error when I copy and paste this line:

cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLAF_BACKEND=skia -DSKIA_DIR=C:\deps\skia -DSKIA_LIBRARY_DIR=C:\deps\skia\out\Release-x64 -DSKIA_LIBRARY=C:\deps\skia\out\Release-x64\skia.lib -G Ninja ..

When I copy and enter this line. The following error shows up:

C:\aseprite>cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLAF_BACKEND=skia -DSKIA_DIR=C:\deps\skia -DSKIA_LIBRARY_DIR=C:\deps\skia\out\Release-x64 -DSKIA_LIBRARY=C:\deps\skia\out\Release-x64\skia.lib -G Ninja …
CMake Warning:
Ignoring extra path from command line:

“…”

CMake Error: The source directory “C:/” does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

C:\aseprite>build
“build” no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

C:\aseprite>cd build

C:\aseprite\build>cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLAF_BACKEND=skia -DSKIA_DIR=C:\deps\skia -DSKIA_LIBRARY_DIR=C:\deps\skia\out\Release-x64 -DSKIA_LIBRARY=C:\deps\skia\out\Release-x64\skia.lib -G Ninja …
CMake Error at CMakeLists.txt:5:
Parse error. Expected a command name, got unquoted argument with text
“-DS”.

– Configuring incomplete, errors occurred!
See also “C:/aseprite/build/CMakeFiles/CMakeOutput.log”.
See also “C:/aseprite/build/CMakeFiles/CMakeError.log”.

C:\aseprite\build>cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLAF_BACKEND=skia -DSKIA_DIR=C:\deps\skia -DSKIA_LIBRARY_DIR=C:\deps\skia\out\Release-x64 -DSKIA_LIBRARY=C:\deps\skia\out\Release-x64\skia.lib -G Ninja …
CMake Deprecation Warning at CMakeLists.txt:17 (cmake_policy):
The OLD behavior for policy CMP0046 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

– The C compiler identification is MSVC 19.32.31332.0
– The CXX compiler identification is MSVC 19.32.31332.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - failed
– Check for working C compiler: C:/Archivos de programa/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe
– Check for working C compiler: C:/Archivos de programa/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe - broken
CMake Error at C:/Program Files/CMake/share/cmake-3.24/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler

"C:/Archivos de programa/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: C:/aseprite/build/CMakeFiles/CMakeTmp

Run Build Command(s):C:/ninja/ninja.exe cmTC_9f627 &&
CreateProcess failed. Command attempted:
"""  /nologo   /DWIN32 /D_WINDOWS  /D_DEBUG /MTd /Zi /Ob0 /Od /RTC1 -MTd /showIncludes /FoCMakeFiles\cmTC_9f627.dir\testCCompiler.c.obj /FdCMakeFiles\cmTC_9f627.dir\ /FS -c C:\aseprite\build\CMakeFiles\CMakeTmp\testCCompiler.c"
ninja: fatal: CreateProcess: El parámetro no es correcto.
 (is the command line too long?)

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:32 (project)

– Configuring incomplete, errors occurred!
See also “C:/aseprite/build/CMakeFiles/CMakeOutput.log”.
See also “C:/aseprite/build/CMakeFiles/CMakeError.log”.

Please, I need help. I’ve been trying to compile it but I can’t get it to work.
I downloaded the latest version of Aseprite beta 3.16 and skia m102 (latest)

1 Like