I was getting the same error, and then i did what @dacap says, and now i’m gettin another error as well, but for me, is because the libskshaper is missing:
My pc: R5 1600, 8gb ram and PopOs 20.04
ninja aseprite ─╯
[0/1] Re-running CMake…
CMake Deprecation Warning at CMakeLists.txt:16 (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.
– Symbol prefix:
CMake Warning (dev) at /usr/share/cmake-3.16/Modules/FindOpenGL.cmake:275 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run “cmake --help-policy CMP0072” for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
FindOpenGL found both a legacy GL library:
OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so
and GLVND libraries for OpenGL and GLX:
OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so
OpenGL_GL_PREFERENCE has not been set to “GLVND” or “LEGACY”, so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
third_party/libwebp/cmake/deps.cmake:47 (find_package)
third_party/libwebp/CMakeLists.txt:51 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
– Adding -lm flag.
– Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
– Performing Test WEBP_HAVE_FLAG_SSE41
– Performing Test WEBP_HAVE_FLAG_SSE41 - Failed
– Performing Test WEBP_HAVE_FLAG_SSE41
– Performing Test WEBP_HAVE_FLAG_SSE41 - Success
– Performing Test WEBP_HAVE_FLAG_SSE2
– Performing Test WEBP_HAVE_FLAG_SSE2 - Success
– Performing Test WEBP_HAVE_FLAG_MIPS32
– Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed
– Performing Test WEBP_HAVE_FLAG_MIPS32
– Performing Test WEBP_HAVE_FLAG_MIPS32 - Failed
– Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2
– Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed
– Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2
– Performing Test WEBP_HAVE_FLAG_MIPS_DSP_R2 - Failed
– Performing Test HAS_COMPILE_FLAG
– Performing Test HAS_COMPILE_FLAG - Failed
– Performing Test WEBP_HAVE_FLAG_NEON
– Performing Test WEBP_HAVE_FLAG_NEON - Failed
– Performing Test WEBP_HAVE_FLAG_NEON
– Performing Test WEBP_HAVE_FLAG_NEON - Failed
– Performing Test WEBP_HAVE_FLAG_MSA
– Performing Test WEBP_HAVE_FLAG_MSA - Failed
– Performing Test WEBP_HAVE_FLAG_MSA
– Performing Test WEBP_HAVE_FLAG_MSA - Failed
– Performing Test HAS_COMPILE_FLAG
– Performing Test HAS_COMPILE_FLAG - Failed
– Could NOT find GLUT (missing: GLUT_glut_LIBRARY GLUT_INCLUDE_DIR)
– Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)
– curl version=[7.21.6]
– LDAP_H not found CURL_DISABLE_LDAP set ON
CMake Warning (dev) at third_party/curl/CMakeLists.txt:562 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run “cmake --help-policy CMP0054” for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like “HAVE_FCNTL_O_NONBLOCK” will no longer be
dereferenced when the policy is set to NEW. Since the policy is not set
the OLD behavior will be used.
Call Stack (most recent call first):
third_party/curl/CMakeLists.txt:664 (curl_internal_test)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at third_party/curl/CMakeLists.txt:594 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run “cmake --help-policy CMP0054” for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like “HAVE_GLIBC_STRERROR_R_COMPILE” will no longer be
dereferenced when the policy is set to NEW. Since the policy is not set
the OLD behavior will be used.
Call Stack (most recent call first):
third_party/curl/CMakeLists.txt:673 (curl_internal_test_run)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at third_party/curl/CMake/CurlCheckCSourceCompiles.cmake:16 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run “cmake --help-policy CMP0054” for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like “curl_cv_recv” will no longer be dereferenced when
the policy is set to NEW. Since the policy is not set the OLD behavior
will be used.
Call Stack (most recent call first):
third_party/curl/CMake/OtherTests.cmake:31 (curl_check_c_source_compiles)
third_party/curl/CMakeLists.txt:792 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at third_party/curl/CMake/CurlCheckCSourceRuns.cmake:16 (if):
Policy CMP0054 is not set: Only interpret if() arguments as variables or
keywords when unquoted. Run “cmake --help-policy CMP0054” for policy
details. Use the cmake_policy command to set the policy and suppress this
warning.
Quoted variables like “HAVE_POLL_FINE” will no longer be dereferenced when
the policy is set to NEW. Since the policy is not set the OLD behavior
will be used.
Call Stack (most recent call first):
third_party/curl/CMake/OtherTests.cmake:202 (curl_check_c_source_runs)
third_party/curl/CMakeLists.txt:792 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
– Checking for module ‘harfbuzz>=0.9.7’
– No package ‘harfbuzz’ found
– Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
– Version: 6.2.0
– Build type: RelWithDebInfo
– CXX_STANDARD: 11
– Required features: cxx_variadic_templates
CMake Deprecation Warning at third_party/cmark/CMakeLists.txt:6 (cmake_policy):
The OLD behavior for policy CMP0048 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.
– Could NOT find LIBB2 (missing: LIBB2_LIBRARY LIBB2_INCLUDE_DIR)
– Could NOT find LZ4 (missing: LZ4_LIBRARY LZ4_INCLUDE_DIR)
– Could NOT find ZSTD (missing: ZSTD_LIBRARY ZSTD_INCLUDE_DIR)
– Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
– Extended attributes support: Linux
– ACL support: none
– laf backend: skia
– laf pixman: pixman
– laf freetype: freetype
– laf harfbuzz: harfbuzz
– skia dir: /home/mad/deps/skia
– skia library: /home/mad/deps/skia/out/Release-x64/libskia.a
– skia library dir: /home/mad/deps/skia/out/Release-x64
– Configuring done
– Generating done
– Build files have been written to: /home/mad/aseprite/build
ninja: error: ‘/home/mad/deps/skia/out/Release-x64/libskshaper’, needed by ‘bin/aseprite’, missing and no known rule to make it