Seeking help with Windows build using v7.6.1.1
Andrew Richardson
spun69 at gmail.com
Sun Sep 3 17:09:08 UTC 2023
Hello all
Firstimer here, trying to set up initial Windows 11 build environment. I
have followed the LODE instructions, using Visual Studio 2022 Community
edition.
I have set my 'dev/core' build tree to the 'libreoffice-7.6.1.1' tag using
git checkout.
I am seeing a few issues when doing a clean build. Full build log (using
make -k switch) is available at link below.
Appreciate any help to fix these issues.
Thanks,
Andrew Richardson
1. Errors processing IDL files - Internal compiler problem
midl : error MIDL9008 : internal compiler problem - See documentation for
suggestions on how to find a workaround.
midl: Assertion failed: hr == S_OK, file com\rpc\midl\front\filehndl.cxx,
line 1024
make: ***
[C:/Users/spun6/LibreOffice/lode/dev/core/winaccessibility/CustomTarget_ia2_idl.mk:26:
C:/Users/spun6/LibreOffice/lode/dev/core/workdir/CustomTarget/winaccessibility/ia2/idl/ia2_api_all.h]
Error 48
midl : error MIDL9008 : internal compiler problem - See documentation for
suggestions on how to find a workaround.
midl: Assertion failed: hr == S_OK, file com\rpc\midl\front\filehndl.cxx,
line 1024
make: ***
[C:/Users/spun6/LibreOffice/lode/dev/core/winaccessibility/CustomTarget_ia2_idl.mk:26:
C:/Users/spun6/LibreOffice/lode/dev/core/workdir/CustomTarget/winaccessibility/ia2/idl/defines.h]
Error 48
midl : error MIDL9008 : internal compiler problem - See documentation for
suggestions on how to find a workaround.
midl: Assertion failed: hr == S_OK, file com\rpc\midl\front\filehndl.cxx,
line 1024
make: ***
[C:/Users/spun6/LibreOffice/lode/dev/core/winaccessibility/CustomTarget_ia2_idl.mk:26:
C:/Users/spun6/LibreOffice/lode/dev/core/workdir/CustomTarget/winaccessibility/ia2/idl/UAccCOM.h]
Error 48
2. Errors processing IDL files - Invalid arguments
/usr/bin/sh: -c: line 1: syntax error near unexpected token `('
/usr/bin/sh: -c: line 1: `S=C:/Users/spun6/LibreOffice/lode/dev/core &&
I=$S/instdir && W=$S/workdir && midl.exe -tlb
$W/CustomTarget/shell/source/win32/spsupp/idl/spsupp.tlb -h
$W/CustomTarget/shell/source/win32/spsupp/idl/spsupp_h.h -iid
$W/CustomTarget/shell/source/win32/spsupp/idl/spsupp_i.c C:\Program
Files\Microsoft Visual
Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include;C:\Program
Files\Microsoft Visual
Studio\2022\Community\VC\Tools\MSVC\14.37.32822\ATLMFC\include;C:\Program
Files\Microsoft Visual
Studio\2022\Community\VC\Auxiliary\VS\include;C:\Program Files
(x86)\Windows Kits\10\include\10.0.22621.0\ucrt;C:\Program Files
(x86)\Windows Kits\10\include\10.0.22621.0\um;C:\Program Files
(x86)\Windows Kits\10\include\10.0.22621.0\shared;C:\Program Files
(x86)\Windows Kits\10\include\10.0.22621.0\winrt;C:\Program Files
(x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt;C:\Program Files
(x86)\Windows Kits\NETFXSDK\4.8\include\um
-IC:/PROGRA~2/WI3CF2~1/10/Include/10.0.22621.0/ucrt
-IC:/PROGRA~2/WI3CF2~1/10/include
-IC:/PROGRA~1/MICROS~4/2022/COMMUN~1/VC/Tools/MSVC/1437~1.328/Include
-IC:/PROGRA~2/WI3CF2~1/10/Include/10.0.22621.0/um
-IC:/PROGRA~2/WI3CF2~1/10/Include/10.0.22621.0/shared
-IC:/PROGRA~1/Java/jdk-20/include/win32 -IC:/PROGRA~1/Java/jdk-20/include
-Oicf $S/shell/source/win32/spsupp/spsupp.idl'
make: ***
[C:/Users/spun6/LibreOffice/lode/dev/core/shell/CustomTarget_spsupp_idl.mk:22:
C:/Users/spun6/LibreOffice/lode/dev/core/workdir/CustomTarget/shell/source/win32/spsupp/idl/spsupp.tlb]
Error 2
3. Configure fails for libffi component
configure: error: in
`/cygdrive/c/Users/spun6/LibreOffice/lode/dev/core/workdir/UnpackedTarball/libffi/x86_64-pc-cygwin':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: ***
[C:/Users/spun6/LibreOffice/lode/dev/core/external/libffi/ExternalProject_libffi.mk:28:
C:/Users/spun6/LibreOffice/lode/dev/core/workdir/ExternalProject/libffi/build]
Error 1
4. Build seems to hang (never completes when left overnight) after
'postgresql' component stage
File links:
build.log::
https://drive.google.com/file/d/1KZJInodnQzf6SIUsVaW3er7Oi6dMOAZ7/view?usp=drive_link
libffi config.log::
https://drive.google.com/file/d/1lssxS6Wnnaj1ehFt6gNnYjZBQ-kRGxz9/view?usp=drive_link
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20230903/a4960ba0/attachment.htm>
More information about the LibreOffice
mailing list