Jump to content

Hey can anybody help me with this error trying to compile aseprite? Help pls :D

Hey, I'm trying to compile aseprite but keep ending up with this set of errors, any ideas on how I can fix it? I'm going based off of this video - 

 

 

 

CMake Deprecation Warning at src/observable/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/clip/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/undo/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Configuring done (154.2s)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
WEBP_LIBRARIES
    linked by target "app-lib" in directory C:/aseprite/src/app

-- Generating done (0.4s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

 

 

Thanks for any help in advance, 

Lex.

Link to comment
Share on other sites

Link to post
Share on other sites

The first few are deprecation warnings, so you can technically ignore them (for now). They will lead to errors in newer versions of CMake.

 

The actual error is the message that the "WEBP_LIBRARIES" variable is set to not found. This likely means you're missing a library that is a dependency for the project to build correctly. Make sure you've installed the pre-requisites for the project correctly.

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

What @Eigenvektor said

 

In this case specifically at least from what I quickly googled and found was that it relates to the Skia step:

 

See

https://github.com/aseprite/aseprite/blob/main/INSTALL.md

Under dependencies.  You need to download and extract the pre-compiled ones

 

Then you need to also do the stuff at the Windows Details portion as shown in the YouTube video...but it can also be found in the INSTALL.md...just look for "Windows Details"

 

An important thing here is the following line, make sure you use the correct directly that you extracted Skia to

Quote

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 ..

So when following the YouTube video, make sure to change it when typing out the above line

3735928559 - Beware of the dead beef

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×