Ninja build stopped, building aseprite [ubuntu 19.10]

Hello everyone.
I have several days trying to build aseprite with ninja

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

git clone -b aseprite-m81 https://github.com/aseprite/skia.git

export PATH="${PWD}/depot_tools:${PATH}"

python tools/git-sync-deps

gn gen out/Release-x64 --args=“is_debug=false is_official_build=true skia_use_system_expat=false skia_use_system_icu=false skia_use_system_libjpeg_turbo=false skia_use_system_libpng=false skia_use_system_libwebp=false skia_use_system_zlib=false”

ninja -C out/Release-x64 skia modules
at this point, show this error: modules/skshaper/src/SkShaper_harfbuzz.cpp:32:10: fatal error: hb.h: No existe el archivo o el directorio, and then i changed the instruction to this:

ninja -C out/Release-x64 skia

Then i run the cmake with this instructions:>

cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLAF_OS_BACKEND=skia -DSKIA_DIR=$HOME/deps/skia -DSKIA_LIBRARY=$HOME/deps/skia -DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release-x64 -DSKIA_OUT_DIR=$HOME/deps/skia/out/Release-x64 -G Ninja …

Once the generating was done and build the files on “aseprite/build” folder, i proceed to run “ninja aseprite”, and it’s stuck with this log when i make the build:

ninja aseprite
[65/701] Building CXX object src/doc/C…les/doc-lib.dir/algorithm/rotate.cpp.o
In file included from …/src/doc/image_impl.h:19,

  •             from ../src/doc/algorithm/rotate.cpp:16:*
    

…/src/doc/image_iterator.h: In function ‘void doc::algorithm::ase_parallelogram_map_standard(doc::Image, const doc::Image*, const doc::Image*, fixmath::fixed*, fixmath::fixed*)’:*
…/src/doc/image_iterator.h:43:21: warning: ‘((void*)(& delegate)+24).doc::ImageIteratorT<doc::RgbTraits, unsigned int*, unsigned int&>::m_image’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 43 | m_image(other.m_image),*
  •  |               ~~~~~~^~~~~~~*
    

…/src/doc/image_iterator.h:45:17: warning: ‘((void*)& delegate +40)’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 45 | m_x(other.m_x),*
  •  |           ~~~~~~^~~*
    

…/src/doc/image_iterator.h:47:22: warning: ‘((void*)& delegate +48)’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 47 | m_xbegin(other.m_xbegin),*
  •  |                ~~~~~~^~~~~~~~*
    

…/src/doc/image_iterator.h:43:21: warning: ‘((void*)(& delegate)+56).doc::ImageIteratorT<doc::RgbTraits, unsigned int*, unsigned int&>::m_image’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 43 | m_image(other.m_image),*
  •  |               ~~~~~~^~~~~~~*
    

…/src/doc/image_iterator.h:45:17: warning: ‘((void*)& delegate +72)’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 45 | m_x(other.m_x),*
  •  |           ~~~~~~^~~*
    

…/src/doc/image_iterator.h:47:22: warning: ‘((void*)& delegate +80)’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 47 | m_xbegin(other.m_xbegin),*
  •  |                ~~~~~~^~~~~~~~*
    

…/src/doc/image_iterator.h:43:21: warning: ‘((void*)(& delegate)+24).doc::ImageIteratorT<doc::GrayscaleTraits, short unsigned int*, short unsigned int&>::m_image’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 43 | m_image(other.m_image),*
  •  |               ~~~~~~^~~~~~~*
    

…/src/doc/image_iterator.h:45:17: warning: ‘((void*)& delegate +40)’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 45 | m_x(other.m_x),*
  •  |           ~~~~~~^~~*
    

…/src/doc/image_iterator.h:47:22: warning: ‘((void*)& delegate +48)’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 47 | m_xbegin(other.m_xbegin),*
  •  |                ~~~~~~^~~~~~~~*
    

…/src/doc/image_iterator.h:43:21: warning: ‘((void*)(& delegate)+56).doc::ImageIteratorT<doc::GrayscaleTraits, short unsigned int*, short unsigned int&>::m_image’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 43 | m_image(other.m_image),*
  •  |               ~~~~~~^~~~~~~*
    

…/src/doc/image_iterator.h:45:17: warning: ‘((void*)& delegate +72)’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 45 | m_x(other.m_x),*
  •  |           ~~~~~~^~~*
    

…/src/doc/image_iterator.h:47:22: warning: ‘((void*)& delegate +80)’ may be used uninitialized in this function [-Wmaybe-uninitialized]*

  • 47 | m_xbegin(other.m_xbegin),*
  •  |                ~~~~~~^~~~~~~~*
    

[150/701] Building CXX object src/ui/CMakeFiles/ui-lib.dir/view.cpp.o
…/src/ui/view.cpp: In member function ‘void ui::View::updateView(bool)’:
…/src/ui/view.cpp:182:15: warning: unused variable ‘child’ [-Wunused-variable]

  • 182 | if (Widget* child = attachedWidget()) {*
  •  |               ^~~~~*
    

[701/701] Linking CXX executable bin/aseprite
*FAILED: bin/aseprite *
: && /usr/bin/c++ -Wall -Wno-switch -O2 -g -DNDEBUG src/CMakeFiles/aseprite.dir/main/main.cpp.o -o bin/aseprite lib/libapp-lib.a lib/libclip.a -lxcb -lpthread lib/libdio-lib.a lib/libfilters-lib.a lib/libflic-lib.a lib/libtga-lib.a lib/librender-lib.a lib/libdoc-lib.a lib/libfixmath-lib.a lib/libui-lib.a lib/liblaf-os.a lib/liblaf-gfx.a lib/liblaf-ft.a /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libfontconfig.so /usr/lib/x86_64-linux-gnu/libSM.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so /usr/lib/x86_64-linux-gnu/libXcursor.so -lSKSHAPER_LIBRARY-NOTFOUND lib/libobs.a lib/libundo.a lib/libcmark.a lib/libjpeg.a lib/libgiflib.a lib/libwebpdemux.a lib/libwebpmux.a lib/libwebp.a -lpthread -lm lib/libfreetype.a lib/libharfbuzz.a lib/libfreetype.a lib/libharfbuzz.a lib/libpng16.a -lm lib/libjson11.a lib/libarchive.a /usr/lib/x86_64-linux-gnu/libexpat.so lib/libfmt.a lib/libtinyexpr.a lib/liblauxlib.a lib/liblua.a lib/liblualib.a lib/libupdater-lib.a lib/libcfg-lib.a lib/libver-lib.a lib/libtinyxml.a lib/libnet-lib.a lib/liblaf-base.a lib/libmodpbase64.a /usr/lib/x86_64-linux-gnu/libdl.so lib/libcurl.a lib/libz.a -ldl && :
/usr/bin/ld: no se puede encontrar -lSKSHAPER_LIBRARY-NOTFOUND
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

I hope somebody has any answer about this, i follow the git instructions for made the aseprite built.

Thank you.

1 Like

It’s probable that the python tools/git-sync-deps command in the Skia directory didn’t finish correctly. I would run a couple of times just to check that it downloaded all external repositories.

Hi @dacap.

I do all the things you say, but when i run again “ninja aseprite”, it show this log at the end of compiling:

[1498/1498] Linking CXX executable bin/aseprite
FAILED: bin/aseprite
: && /usr/bin/c++ -Wall -Wno-switch -O2 -g -DNDEBUG src/CMakeFiles/aseprite.dir/main/main.cpp.o -o bin/aseprite lib/libapp-lib.a lib/libclip.a -lxcb -lpthread lib/libdio-lib.a lib/libfilters-lib.a lib/libflic-lib.a lib/libtga-lib.a lib/librender-lib.a lib/libdoc-lib.a lib/libfixmath-lib.a lib/libui-lib.a lib/liblaf-os.a lib/liblaf-gfx.a lib/liblaf-ft.a /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libfontconfig.so /usr/lib/x86_64-linux-gnu/libSM.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so /usr/lib/x86_64-linux-gnu/libXcursor.so -lSKSHAPER_LIBRARY-NOTFOUND lib/libobs.a lib/libundo.a lib/libcmark.a lib/libjpeg.a lib/libgiflib.a lib/libwebpdemux.a lib/libwebpmux.a lib/libwebp.a -lpthread -lm lib/libfreetype.a lib/libharfbuzz.a lib/libfreetype.a lib/libharfbuzz.a lib/libpng16.a -lm lib/libjson11.a lib/libarchive.a /usr/lib/x86_64-linux-gnu/libexpat.so lib/libfmt.a lib/libtinyexpr.a lib/liblauxlib.a lib/liblua.a lib/liblualib.a lib/libupdater-lib.a lib/libcfg-lib.a lib/libver-lib.a lib/libtinyxml.a lib/libnet-lib.a lib/liblaf-base.a lib/libmodpbase64.a /usr/lib/x86_64-linux-gnu/libdl.so lib/libcurl.a lib/libz.a -ldl && :
/usr/bin/ld: no se puede encontrar -lSKSHAPER_LIBRARY-NOTFOUND
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

And i still stuck, but googling on the web there’s nothing about it.

Thanks

Open the CMakeCache.txt file and search for SKSHAPER_LIBRARY, change it to something similar to this (:warning: this is only an example):

SKSHAPER_LIBRARY:FILEPATH=/Users/david/deps/skia/out/Release-x64/libskshaper.a

The exact path for SKSHAPER_LIBRARY should match the SKIA_LIBRARY_DIR value. E.g.

SKIA_LIBRARY_DIR:PATH=/Users/david/deps/skia/out/Release-x64

And the file libskshaper.a (on maxOS/Linux) or skshaper.lib (on Windows) must exists.

It’s me again @dacap.

I did it the change on CMakeCache.txt, but now throw me the next log:

FAILED: bin/aseprite
: && /usr/bin/c++ -Wall -Wno-switch -O2 -g -DNDEBUG src/CMakeFiles/aseprite.dir/main/main.cpp.o -o bin/aseprite lib/libapp-lib.a lib/libclip.a -lxcb -lpthread lib/libdio-lib.a lib/libfilters-lib.a lib/libflic-lib.a lib/libtga-lib.a lib/librender-lib.a lib/libdoc-lib.a lib/libfixmath-lib.a lib/libui-lib.a lib/liblaf-os.a lib/liblaf-gfx.a lib/liblaf-ft.a /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libfontconfig.so /usr/lib/x86_64-linux-gnu/libSM.so /usr/lib/x86_64-linux-gnu/libICE.so /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libXext.so /usr/lib/x86_64-linux-gnu/libXcursor.so lib/libobs.a lib/libundo.a lib/libcmark.a lib/libjpeg.a lib/libgiflib.a lib/libwebpdemux.a lib/libwebpmux.a lib/libwebp.a -lpthread -lm lib/libfreetype.a lib/libharfbuzz.a lib/libfreetype.a lib/libharfbuzz.a lib/libpng16.a -lm lib/libjson11.a lib/libarchive.a /usr/lib/x86_64-linux-gnu/libexpat.so lib/libfmt.a lib/libtinyexpr.a lib/liblauxlib.a lib/liblua.a lib/liblualib.a lib/libupdater-lib.a lib/libcfg-lib.a lib/libver-lib.a lib/libtinyxml.a lib/libnet-lib.a lib/liblaf-base.a lib/libmodpbase64.a /usr/lib/x86_64-linux-gnu/libdl.so lib/libcurl.a lib/libz.a -ldl && :
/usr/bin/ld: lib/libapp-lib.a(filter_manager_impl.cpp.o): en la función `gfx::Region::~Region()’:

/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:499: referencia a SkPaint::setFilterQuality(SkFilterQuality)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:503: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:497: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:497: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::drawSurface(os::Surface const*, gfx::RectT<int> const&, gfx::RectT<int> const&)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:447: referencia a SkPaint::SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:449: referencia a SkPaint::setFilterQuality(SkFilterQuality)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:453: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:447: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:447: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función SkCanvas::clear(unsigned int)': /home/kaiju/deps/skia/include/core/SkCanvas.h:1129: referencia a SkCanvas::drawColor(unsigned int, SkBlendMode)’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::matrix() const': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:168: referencia a SkCanvas::getTotalMatrix() const’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::restore()': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:164: referencia a SkCanvas::restore()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::restoreClip()': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:139: referencia a SkCanvas::restore()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::resetMatrix()': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:160: referencia a SkCanvas::resetMatrix()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::setMatrix(gfx::Matrix const&)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:156: referencia a SkCanvas::setMatrix(SkMatrix const&)’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::concat(gfx::Matrix const&)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:152: referencia a SkCanvas::concat(SkMatrix const&)’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::save()': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:148: referencia a SkCanvas::save()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::saveClip()': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:135: referencia a SkCanvas::save()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función SkCanvas::clipRect(SkRect const&, bool)': /home/kaiju/deps/skia/include/core/SkCanvas.h:935: referencia a SkCanvas::clipRect(SkRect const&, SkClipOp, bool)’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función SkCanvas::getDeviceClipBounds(SkIRect*) const': /home/kaiju/deps/skia/include/core/SkCanvas.h:1109: referencia a SkCanvas::getDeviceClipBounds() const’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::getSaveCount() const': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:123: referencia a SkCanvas::getSaveCount() const’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función SkImageInfo::bytesPerPixel() const': /home/kaiju/deps/skia/include/core/SkImageInfo.h:634: referencia a SkColorInfo::bytesPerPixel() const’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::putPixel(unsigned int, int, int)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:341: referencia a SkPaint::setColor(unsigned int)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:342: referencia a SkCanvas::drawPoint(float, float, SkPaint const&)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:345: referencia a SkBitmap::erase(unsigned int, SkIRect const&) const’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::drawSurface(os::Surface const*, int, int)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:435: referencia a SkPaint::SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:438: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:435: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:435: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::drawRgbaSurface(os::Surface const*, int, int)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:469: referencia a SkPaint::SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:472: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:469: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:469: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::drawRgbaSurface(os::Surface const*, int, int, int, int, int, int)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:485: referencia a SkPaint::SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:488: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:485: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:485: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::blitTo(os::Surface*, int, int, int, int, int, int) const’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:369: referencia a SkPaint::SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:373: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkIRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:369: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:376: referencia a SkSurface::makeImageSnapshot(SkIRect const&)’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función SkCanvas::drawImageRect(sk_sp<SkImage> const&, SkIRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)': /home/kaiju/deps/skia/include/core/SkCanvas.h:1618: referencia a SkCanvas::drawImageRect(SkImage const*, SkIRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::blitTo(os::Surface*, int, int, int, int, int, int) const': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:369: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::drawColoredRgbaSurface(os::Surface const*, unsigned int, unsigned int, gfx::ClipT<int> const&)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:516: referencia a SkPaint::SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:520: referencia a SkPaint::SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:521: referencia a SkPaint::setColor(unsigned int)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:522: referencia a SkPaint::setStyle(SkPaint::Style)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:523: referencia a SkCanvas::drawRect(SkRect const&, SkPaint const&)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:520: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:527: referencia a SkColorFilters::Blend(unsigned int, SkBlendMode)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:528: referencia a SkPaint::setColorFilter(sk_sp<SkColorFilter>)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:530: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:516: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:516: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:520: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::drawSurfaceNine(os::Surface*, gfx::RectT const&, gfx::RectT const&, gfx::RectT const&, os::Paint const*)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:544: referencia a SkPaint::SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:613: referencia a SkCanvas::drawBitmapLattice(SkBitmap const&, SkCanvas::Lattice const&, SkRect const&, SkPaint const*)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:544: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:549: referencia a SkColorFilters::Blend(unsigned int, SkBlendMode)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:550: referencia a SkPaint::setColorFilter(sk_sp<SkColorFilter>)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:544: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::blitTo(os::Surface*, int, int, int, int, int, int) const': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:369: referencia a SkPaint::SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:373: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkIRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:369: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:376: referencia a SkSurface::makeImageSnapshot(SkIRect const&)' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función SkCanvas::drawImageRect(sk_sp const&, SkIRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)’:
/home/kaiju/deps/skia/include/core/SkCanvas.h:1618: referencia a SkCanvas::drawImageRect(SkImage const*, SkIRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función SkImageInfo::bytesPerPixel() const’:
/home/kaiju/deps/skia/include/core/SkImageInfo.h:634: referencia a SkColorInfo::bytesPerPixel() const' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::scrollTo(gfx::RectT const&, int, int)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:421: referencia a SkBitmap::notifyPixelsChanged() const' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::blitTo(os::Surface*, int, int, int, int, int, int) const’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:369: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::setDrawMode(os::DrawMode, int, unsigned int, unsigned int)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:186: referencia a SkBitmap::SkBitmap()' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función SkImageInfo::bytesPerPixel() const’:
/home/kaiju/deps/skia/include/core/SkImageInfo.h:634: referencia a SkColorInfo::bytesPerPixel() const' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función SkBitmap::tryAllocPixels(SkImageInfo const&)’:
/home/kaiju/deps/skia/include/core/SkBitmap.h:547: referencia a SkBitmap::tryAllocPixels(SkImageInfo const&, unsigned long)' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::setDrawMode(os::DrawMode, int, unsigned int, unsigned int)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:193: referencia a SkPreMultiplyARGB(unsigned int, unsigned int, unsigned int, unsigned int)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:194: referencia a SkPreMultiplyARGB(unsigned int, unsigned int, unsigned int, unsigned int)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:203: referencia a SkBitmap::makeShader(SkTileMode, SkTileMode, SkMatrix const*) const' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:204: referencia a SkPaint::setShader(sk_sp)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:186: referencia a SkBitmap::~SkBitmap()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:177: referencia a SkPaint::setShader(sk_sp)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:181: referencia a SkPaint::setShader(sk_sp<SkShader>)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:186: referencia a SkBitmap::~SkBitmap()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::loadSurface(char const*)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.cpp:80: referencia a SkBitmap::~SkBitmap()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::SkiaSurface()': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:37: referencia a SkBitmap::~SkBitmap()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::applyScale(int)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:228: referencia a SkBitmap::SkBitmap()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función SkImageInfo::bytesPerPixel() const': /home/kaiju/deps/skia/include/core/SkImageInfo.h:634: referencia a SkColorInfo::bytesPerPixel() const’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función SkBitmap::tryAllocPixels(SkImageInfo const&)': /home/kaiju/deps/skia/include/core/SkBitmap.h:547: referencia a SkBitmap::tryAllocPixels(SkImageInfo const&, unsigned long)’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::applyScale(int)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:235: referencia a SkPaint::SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:238: referencia a SkCanvas::SkCanvas(SkBitmap const&)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:241: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::swapBitmap(SkBitmap&)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:624: referencia a SkBitmap::swap(SkBitmap&)’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::rebuild()': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:635: referencia a SkCanvas::SkCanvas(SkBitmap const&)’ sin definir
/usr/bin/ld: lib/liblaf-os.a(skia_surface.cpp.o): en la función os::SkiaSurface::applyScale(int)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:238: referencia a SkCanvas::~SkCanvas()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:235: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:228: referencia a SkBitmap::~SkBitmap()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:238: referencia a SkCanvas::~SkCanvas()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:235: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:228: referencia a SkBitmap::~SkBitmap()' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_window_x11.cpp.o): en la función SkImageInfo::bytesPerPixel() const’:
/home/kaiju/deps/skia/include/core/SkImageInfo.h:634: referencia a SkColorInfo::bytesPerPixel() const' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_window_x11.cpp.o): en la función os::SkiaWindow::onPaint(gfx::RectT const&)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_window_x11.cpp:103: referencia a SkBitmap::SkBitmap()' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_window_x11.cpp.o): en la función SkImageInfo::bytesPerPixel() const’:
/home/kaiju/deps/skia/include/core/SkImageInfo.h:634: referencia a SkColorInfo::bytesPerPixel() const' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_window_x11.cpp.o): en la función os::SkiaWindow::onPaint(gfx::RectT const&)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_window_x11.cpp:111: referencia a SkImageInfo::computeByteSize(unsigned long) const' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_window_x11.cpp.o): en la función SkBitmap::installPixels(SkImageInfo const&, void*, unsigned long)’:
/home/kaiju/deps/skia/include/core/SkBitmap.h:647: referencia a SkBitmap::installPixels(SkImageInfo const&, void*, unsigned long, void (*)(void*, void*), void*)' sin definir /usr/bin/ld: lib/liblaf-os.a(skia_window_x11.cpp.o): en la función os::SkiaWindow::onPaint(gfx::RectT const&)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_window_x11.cpp:103: referencia a SkBitmap::~SkBitmap()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_window_x11.cpp:116: referencia a SkPaint::SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_window_x11.cpp:119: referencia a SkCanvas::SkCanvas(SkBitmap const&)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_window_x11.cpp:122: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_window_x11.cpp:119: referencia a SkCanvas::~SkCanvas()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_window_x11.cpp:116: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_window_x11.cpp:119: referencia a SkCanvas::~SkCanvas()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_window_x11.cpp:116: referencia a SkPaint::~SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_window_x11.cpp:103: referencia a SkBitmap::~SkBitmap()' sin definir /usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función os::SkiaSurface::~SkiaSurface()’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:51: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:51: referencia a SkBitmap::~SkBitmap()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:51: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:51: referencia a SkBitmap::~SkBitmap()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función os::SkiaSurface::drawSurface(os::Surface const*, gfx::RectT<int> const&, gfx::RectT<int> const&)': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:447: referencia a SkPaint::SkPaint()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:449: referencia a SkPaint::setFilterQuality(SkFilterQuality)' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:453: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:447: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función os::SkiaSurface::~SkiaSurface()’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:51: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:51: referencia a SkBitmap::~SkBitmap()’ sin definir
/usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función os::SkiaSurface::SkiaSurface()': /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:37: referencia a SkBitmap::SkBitmap()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:37: referencia a SkPaint::SkPaint()' sin definir /usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función SkImageInfo::bytesPerPixel() const’:
/home/kaiju/deps/skia/include/core/SkImageInfo.h:634: referencia a SkColorInfo::bytesPerPixel() const' sin definir /usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función SkBitmap::tryAllocPixels(SkImageInfo const&)’:
/home/kaiju/deps/skia/include/core/SkBitmap.h:547: referencia a SkBitmap::tryAllocPixels(SkImageInfo const&, unsigned long)' sin definir /usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función os::SkiaSurface::create(int, int, std::shared_ptros::ColorSpace const&)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:69: referencia a SkBitmap::eraseColor(unsigned int) const' sin definir /usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función os::SkiaSurface::rebuild()’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:635: referencia a SkCanvas::SkCanvas(SkBitmap const&)' sin definir /usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función os::SkiaSurface::drawSurface(os::Surface const*, int, int)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:435: referencia a SkPaint::SkPaint()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/os/skia/skia_surface.h:438: referencia a SkCanvas::drawBitmapRect(SkBitmap const&, SkRect const&, SkRect const&, SkPaint const*, SkCanvas::SrcRectConstraint)’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:435: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función os::SkiaSurface::drawSurface(os::Surface const*, gfx::RectT const&, gfx::RectT const&)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:447: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función os::SkiaSurface::SkiaSurface()’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:37: referencia a SkBitmap::~SkBitmap()' sin definir /usr/bin/ld: lib/liblaf-os.a(resize_surface.cpp.o): en la función os::SkiaSurface::drawSurface(os::Surface const*, int, int)’:
/home/kaiju/aseprite/build/…/laf/os/skia/skia_surface.h:435: referencia a SkPaint::~SkPaint()' sin definir /usr/bin/ld: lib/liblaf-gfx.a(packing_rects.cpp.o): en la función gfx::Region::~Region()’:
/home/kaiju/aseprite/build/…/laf/gfx/region_skia.h:63: referencia a SkRegion::~SkRegion()' sin definir /usr/bin/ld: lib/liblaf-gfx.a(packing_rects.cpp.o): en la función gfx::Region::createSubtraction(gfx::Region const&, gfx::Region const&)’:
/home/kaiju/aseprite/build/…/laf/gfx/region_skia.h:114: referencia a SkRegion::op(SkRegion const&, SkRegion const&, SkRegion::Op)' sin definir /usr/bin/ld: lib/liblaf-gfx.a(packing_rects.cpp.o): en la función gfx::Region::~Region()’:
/home/kaiju/aseprite/build/…/laf/gfx/region_skia.h:63: referencia a SkRegion::~SkRegion()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/gfx/region_skia.h:63: referencia a SkRegion::~SkRegion()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/gfx/region_skia.h:63: referencia a SkRegion::~SkRegion()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/gfx/region_skia.h:63: referencia a SkRegion::~SkRegion()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/gfx/region_skia.h:63: referencia a SkRegion::~SkRegion()' sin definir /usr/bin/ld: lib/libapp-lib.a(buffer_region.cpp.o): en la función gfx::details::RegionIterator<gfx::RectT const>::operator++()’:
/home/kaiju/aseprite/build/…/laf/gfx/region_skia.h:39: referencia a SkRegion::Iterator::next()' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/gfx/region_skia.h:39: referencia a SkRegion::Iterator::next()’ sin definir
/usr/bin/ld: /home/kaiju/aseprite/build/…/laf/gfx/region_skia.h:39: referencia a SkRegion::Iterator::next()' sin definir /usr/bin/ld: lib/liblaf-gfx.a(region_skia.cpp.o): en la función gfx::Region::Region(gfx::RectT const&)’:
/home/kaiju/aseprite/build/…/laf/gfx/region_skia.cpp:30: referencia a SkRegion::SkRegion(SkIRect const&)' sin definir /usr/bin/ld: lib/liblaf-gfx.a(region_skia.cpp.o): en la función gfx::Region::operator=(gfx::RectT const&)’:
/home/kaiju/aseprite/build/…/laf/gfx/region_skia.cpp:36: referencia a SkRegion::setRect(SkIRect const&)' sin definir /usr/bin/ld: lib/liblaf-gfx.a(region_skia.cpp.o): en la función gfx::Region::operator=(gfx::Region const&)’:
/home/kaiju/aseprite/build/…/laf/gfx/region_skia.cpp:42: referencia a SkRegion::operator=(SkRegion const&)' sin definir /usr/bin/ld: lib/liblaf-gfx.a(region_skia.cpp.o): en la función gfx::Region::begin()’:
/home/kaiju/aseprite/build/…/laf/gfx/region_skia.cpp:49: referencia a SkRegion::Iterator::Iterator(SkRegion const&)' sin definir /usr/bin/ld: lib/liblaf-gfx.a(region_skia.cpp.o): en la función gfx::Region::begin() const’:
/home/kaiju/aseprite/build/…/laf/gfx/region_skia.cpp:61: referencia a SkRegion::Iterator::Iterator(SkRegion const&)' sin definir /usr/bin/ld: lib/liblaf-gfx.a(region_skia.cpp.o): en la función gfx::Region::contains(gfx::RectT const&) const’:
/home/kaiju/aseprite/build/…/laf/gfx/region_skia.cpp:78: referencia a SkRegion::contains(SkIRect const&) const' sin definir /usr/bin/ld: /home/kaiju/aseprite/build/../laf/gfx/region_skia.cpp:80: referencia a SkRegion::intersects(SkIRect const&) const’ sin definir
/usr/bin/ld: lib/liblaf-gfx.a(region_skia.cpp.o): en la función gfx::Region::Region()': /home/kaiju/aseprite/build/../laf/gfx/region_skia.cpp:20: referencia a SkRegion::SkRegion()’ sin definir
/usr/bin/ld: lib/liblaf-gfx.a(region_skia.cpp.o): en la función gfx::Region::Region(gfx::Region const&)': /home/kaiju/aseprite/build/../laf/gfx/region_skia.cpp:25: referencia a SkRegion::SkRegion(SkRegion const&)’ sin definir
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Something i have notice on this log, it’s there a lot of methods, constant o function without definition.

Note: the log is incomplete because the restrictions of amount of words of this blog.

Thanks

1 Like

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

Hi @dacap.

How do you know about skia library is correctly installed?, because it shows me a

“link libskia.a”

after run

“ninja -C out/Release skia”

, and assume its fine, but when a run
"

cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLAF_OS_BACKEND=skia -DSKIA_DIR=$HOME/deps/skia -DSKIA_LIBRARY=$HOME/deps/skia -DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release -DSKIA_OUT_DIR=$HOME/deps/skia/out/Release -G Ninja …

And finally when it finished, show the message “Build files have been written to:”, but when i run “ninja aseprite”, i notice a lot of warning and error messages when build the files, and the most of message is about the skia library.

I appreciate your answer or opinion about this topic.

Thanks

Hi everyone!

Finally i solved my compiling problem, i take the advice of this link https://github.com/aseprite/aseprite/issues/2344 that say to use a precompiling skia files and place it in the same folder of /deps/skia and it works for me.

Thanks for your attention.

`