building error inside Skia
Ilmari Lauhakangas
ilmari.lauhakangas at libreoffice.org
Sat Jul 22 14:47:18 UTC 2023
On 22.7.2023 17.05, Roman Kuznetsov wrote:
> Hi all.
> I got the error when I tried to build LibreOffice on my Linux machine:
> I will show you only latest string from terminal output:
> .....
> [CXX] codemaker/source/codemaker/typemanager.cxx
> [CXX] codemaker/source/codemaker/unotype.cxx
> [CXX] codemaker/source/codemaker/codemaker.cxx
> [PRJ] libgpg-error
> [DEP] LNK:StaticLibrary/libgraphite.a.d
> [LNK] StaticLibrary/libgraphite.a
> [CXX] tools/source/reversemap/bestreversemap.cxx
> [C ] UnpackedTarball/expat/lib/xmlparse.c
> [C ] UnpackedTarball/expat/lib/xmlrole.c
> [C ] UnpackedTarball/expat/lib/xmltok.c
> [CXX] external/skia/source/SkMemory_malloc.cxx
> [CXX] external/skia/source/skia_compiler.cxx
> In file included from
> /home/roman/LO/lo-source/external/skia/source/SkMemory_malloc.cxx:6:
> /home/roman/LO/lo-source/workdir/UnpackedTarball/skia/include/core/SkTypes.h:26:10: fatal error: 'climits' file not found
> #include <climits>
> ^~~~~~~~~
> 1 error generated.
> make[1]: *** [/home/roman/LO/lo-source/solenv/gbuild/LinkTarget.mk:337:
> /home/roman/LO/lo-source/workdir/CxxObject/external/skia/source/SkMemory_malloc.o] Ошибка 1
> make[1]: *** Ожидание завершения заданий…
> make: *** [Makefile:289: build] Ошибка 2
>
> can anyone look at it? I saw letters by Andreas where he also had
> problems with LO building with Skia related messages.
Hi,
now I searched through my emails and one contributor said:
"The issue is solved by installing a newer libstdc++. This is a common
issue when upgrading Ubuntu to 22.04. Although we can find libstdc++
installed, they cannot be found during compilation. Reinstalling solves
the issue."
Ilmari
More information about the LibreOffice
mailing list