Build problems with Skia
Ilmari Lauhakangas
ilmari.lauhakangas at libreoffice.org
Sat Dec 9 08:13:20 UTC 2023
On 8.12.2023 20.38, Regina Henschel wrote:
> Hi all,
>
> I get a build problem with Skia in a clean build.
>
> My autogen.sh parameters are
> /cygdrive/c/BuildLO/core/autogen.sh \
> --with-external-tar=/cygdrive/c/BuildLO/externalsrc \
> --with-junit=/cygdrive/c/cygwin64/junit/junit-4.10.jar \
> --with-ant-home=/cygdrive/c/cygwin64/ant/apache-ant-1.9.5 \
> --disable-ccache \
> --with-visual-studio=2022 \
> --enable-debug \
> --enable-werror \
> --enable-odk \
> --disable-cve-tests \
> --disable-online-update \
> --without-fonts \
> --with-jdk-home=/cygdrive/c/Program\ Files/Microsoft/jdk-21.0.1.12-hotspot
>
> The error messages are:
>
> C:/BuildLO/core/external/skia/source/SkMemory_malloc.cxx(6,10): fatal
> error: cannot open file
> 'C:/BuildLO/core/include\include/core/SkTypes.h': The file cannot
> be accessed by the system.
> #include "include/core/SkTypes.h"
> ^
> In file included from
> C:/BuildLO/core/external/skia/source/skia_compiler.cxx:6:
> C:/BuildLO/core/external/skia/inc\skia_compiler.hxx(9,10): fatal error:
> cannot open file 'C:/BuildLO/core/include\include/core/SkTypes.h': The
> file cannot[build CXX]
> workdir/UnpackedTarball/skia/src/base/SkMalloc.cpp be
>
> accessed by the system.
> #include <include/core/SkTypes.h>
> ^
> In file included from C:/BuildLO/core/external/skia/source/skia_opts.cxx:6:
> C:/BuildLO/core/external/skia/inc\skia_opts.hxx(9,10): fatal error:
> cannot open file 'C:/BuildLO/core/include\include/core/SkTypes.h': The
> file cannot be
> accessed by the system.
> #include <include/core/SkTypes.h>
> ^
> [build CXX] workdir/UnpackedTarball/skia/src/base/SkMathPriv.cpp
> [build CXX] workdir/UnpackedTarball/skia/src/base/SkQuads.cpp
> 1 error generated.
> [build CXX] workdir/UnpackedTarball/skia/src/base/SkSafeMath.cpp
> [build CXX] workdir/UnpackedTarball/skia/src/base/SkSemaphore.cpp
> [build CXX] workdir/UnpackedTarball/skia/src/base/SkSharedMutex.cpp
> [build CXX] workdir/UnpackedTarball/skia/src/base/SkSpinlock.cpp
> In file included from
> C:/buildLO/core/workdir/UnpackedTarball/skia/src/base/SkArenaAlloc.cpp:8:
> C:/buildLO/core/workdir/UnpackedTarball/skia\src/base/SkArenaAlloc.h(11,10): fatal error: cannot open file
> 'C:/BuildLO/core/include\include/private/base/SkAssert.h': The
> file cannot be accessed by the system.
> #include "include/private/base/SkAssert.h"
> ^
> make[1]: *** [C:/BuildLO/core/solenv/gbuild/LinkTarget.mk:340:
> C:/buildLO/core/workdir/CxxObject/external/skia/source/skia_compiler.o]
> Error 1
> make[1]: *** Waiting for unfinished jobs....
> In file included from
> C:/buildLO/core/workdir/UnpackedTarball/skia/src/base/SkBezierCurves.cpp:8:
> In file included from
> C:/buildLO/core/workdir/UnpackedTarball/skia/src/base/SkBlockAllocator.cpp:8:
> C:/buildLO/core/workdir/UnpackedTarball/skia\src/base/SkBlockAllocator.h(11,10)C:/buildLO/core/workdir/UnpackedTarball/skia\src/base/SkBezierCurves.h: fatal error: cannot open (file
> 'C:/BuildLO/core/include\include/private/base/SkAlign.h': The
> file cannot be accessed by the system.10
> ,#include "include/private/base/SkAlign.h"10
> ): ^
>
> and so on.
This message from September 2023 seems to describe the same issue, with
paths getting strangely mixed up:
https://lists.freedesktop.org/archives/libreoffice/2023-September/090956.html
But it got no replies.
Ilmari
More information about the LibreOffice
mailing list