7.6.0 Build fails in Cygwin - weird path

Yan Kleimiuk yan at protosure.io
Wed Sep 13 21:26:18 UTC 2023


Hi,
I'm having a weird path bug upon compilation:

D:/lo/src/core/external/skia/source/SkMemory_malloc.cxx(6,10): fatal error:
cannot open file 'C:/gnu/JDK-11~1.2/include\include/core/SkTypes.h': The
file cannot be accessed by the system.
#include "include/core/SkTypes.h"
         ^
C:/gnu/JDK-11~1.2/include is correct, and include/core/SkTypes.h exists,
although in another include path. Please help me figure out why would they
get joined and ruin the compilation.
For reference, down here is the full execution line from "make -d" which
gives me the same error, but works if I remove the JDK paths.

S=D:/lo/src/core && B=D:/lo/bld && I=$B/instdir && W=$B/workdir &&  mkdir
-p $W/CxxObject/external/skia/source/
$W/Dep/CxxObject/external/skia/source/ && unset INCLUDE &&  export
SHOWINCLUDES_PREFIX="Note: including file:" && CCACHE_PCH_EXTSUM=1
CCACHE_SLOPPINESS=pch_defines,time_macros VSLANG=1033
 /cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/Llvm/bin/clang-cl.exe
-m64 -DBOOST_ERROR_CODE_HEADER_ONLY
-DBOOST_OPTIONAL_USE_OLD_DEFINITION_OF_NONE -DBOOST_SYSTEM_NO_DEPRECATED
-DCPPU_ENV=mscx -DOSL_DEBUG_LEVEL=1 -DSAL_LOG_INFO -DSAL_LOG_WARN -DWIN32
-DWNT -DX86_64 -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS
-D_CRT_SECURE_NO_DEPRECATE -D_DLL -D_MT -D_REENTRANT
-D_SCL_SECURE_NO_WARNINGS
-D_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
-D_SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING
-D_SILENCE_CXX17_RESULT_OF_DEPRECATION_WARNING
-D_SILENCE_CXX23_DENORM_DEPRECATION_WARNING -D_WIN32_WINNT=0x0601 -D_DLL
-DSKIA_IMPLEMENTATION=1 -DSKIA_DLL
-DSK_USER_CONFIG_HEADER="<$B/config_host/config_skia.h>"
-DSK_CPU_SSE_LEVEL=SK_CPU_SSE_LEVEL_SSE2 -DUNICODE -D_UNICODE -DZLIB_CONST
-DZLIB_CONST -utf-8 -std:c++17 -permissive- -Zc:__cplusplus,preprocessor
-Gd -GR -Gs -GS -Gy -MD -nologo -wd4127 -wd4201 -wd4244 -wd4250 -wd4251
-wd4267 -wd4275 -wd4505 -wd4611 -wd4706 -bigobj -Wv:18 -FS -Zi -Oy-
-FIsrc/utils/win/SkDWriteNTDDI_VERSION.h -DLIBO_INTERNAL_ONLY -showIncludes
-w -O2  -EHs -DNOMINMAX  -D_AMD64_=1 -Zc:inline  -I$W/UnpackedTarball/zlib
-I$W/UnpackedTarball/libpng -I$W/UnpackedTarball/libjpeg-turbo
-I$W/UnpackedTarball/zlib -I$S/include
-IC:/PROGRA~2/WI3CF2~1/10/Include/10.0.20348.0/ucrt
-IC:/PROGRA~2/WI3CF2~1/10/include
-IC:/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1429~1.301/Include
-IC:/PROGRA~2/WI3CF2~1/10/Include/10.0.20348.0/um
-IC:/PROGRA~2/WI3CF2~1/10/Include/10.0.20348.0/shared
-IC:/gnu/JDK-11~1.2/include/win32 -IC:/gnu/JDK-11~1.2/include
 -I$B/config_host      -I$W/UnpackedTarball/skia
-I$W/UnpackedTarball/skia/modules/skcms/
-I$W/UnpackedTarball/skia/third_party/vulkanmemoryallocator/
-I$W/UnpackedTarball/skia/include/third_party/vulkan/
-I$S/external/skia/inc/  -Fd$W/LinkTarget/Library/skialo.dll.objects.pdb -c
$S/external/skia/source/skia_opts.cxx
-Fo$W/CxxObject/external/skia/source/skia_opts.o |
D:/lo/src/core/solenv/gbuild/platform/filter-showIncludes.awk
-vdepfile=D:/lo/bld/workdir/Dep/CxxObject/external/skia/source/skia_opts.d
-vobjectfile=D:/lo/bld/workdir/CxxObject/external/skia/source/skia_opts.o
-vsourcefile=D:/lo/src/core/external/skia/source/skia_opts.cxx; exit
${PIPESTATUS[0]}

Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20230914/14ca349b/attachment.htm>


More information about the LibreOffice mailing list