aseprite / aseprite/laf

cmake error in linux

Open
#56 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
349
Forks
97
Avg merge
4d 7h
Merged PRs (30d)
2

Description

Hi there, currently I am having a problem compiling laf at the cmake command

cmake -G Ninja \
-DLAF_BACKEND=skia \
-DSKIA_DIR=/skiadir \
-DSKIA_LIBRARY_DIR=/skiadir/out/Release-x64 \

when I put that on the terminal it throws me a cmake error:

~/laf/build$ cmake -G Ninja -DLAF_BACKEND=skia -DSKIA_DIR=/skiadir -DSKIA_LIBRARY_DIR=skiadir/out/Release-x64 ..
CMake Error at third_party/CMakeLists.txt:10 (add_subdirectory):
The source directory

/home/m/laf/third_party/googletest

does not contain a CMakeLists.txt file.

-- laf backend: skia
-- laf zlib: zlib
-- laf pixman:
-- laf freetype: FREETYPE_LIBRARY-NOTFOUND
-- laf harfbuzz: HARFBUZZ_LIBRARY-NOTFOUND
-- skia dir: /skiadir
-- skia library: SKIA_LIBRARY-NOTFOUND
-- skia library dir: /home/m/laf/build/skiadir/out/Release-x64
CMake Error at CMakeLists.txt:89 (message):
set SKIA_DIR/SKIA_LIBRARY/SKIA_LIBRARY_DIR to compile w/skia backend

So I dont know exactly what to do after this. I have the skia library m102 and everything else but this is giving me problems and I dont know if it is important to not have problems later when I use the ninja aseprite command.

Im on Linux Mint Vera 21.1.(newbie in linux btw)

Id be very glad If someone could help me to compile it :)

Contributor guide

Open the contributing guide

Research direction

Start with third_party/CMakeLists.txt at line 10 and the top-level CMakeLists.txt around line 89, then reproduce the reported Ninja configuration command. Check how the googletest and Skia paths are resolved and compare them with the paths shown in the error; done means the configuration completes without these CMake errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, linux
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.