<div dir="ltr"><div>Hello all</div><div>Firstimer here, trying to set up initial Windows 11 build environment.  I have followed the LODE instructions, using Visual Studio 2022 Community edition.<br></div><div>I have set my 
'dev/core'

build tree to the 'libreoffice-7.6.1.1' tag using git checkout.</div><div>I am seeing a few issues when doing a clean build.  Full build log (using make 
-k 

switch) is available at link below.</div><div>Appreciate any help to fix these issues.</div><div>Thanks,</div><div>Andrew Richardson</div><div><br></div><div><br></div><div>1. Errors processing IDL files - Internal compiler problem<br></div><div>midl : error MIDL9008 : internal compiler problem - See documentation for suggestions on how to find a workaround.<br>midl: Assertion failed: hr == S_OK, file com\rpc\midl\front\filehndl.cxx, line 1024<br>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<br><br>midl : error MIDL9008 : internal compiler problem - See documentation for suggestions on how to find a workaround.<br>midl: Assertion failed: hr == S_OK, file com\rpc\midl\front\filehndl.cxx, line 1024<br>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<br></div><div><br></div><div>midl : error MIDL9008 : internal compiler problem - See documentation for suggestions on how to find a workaround.<br>midl: Assertion failed: hr == S_OK, file com\rpc\midl\front\filehndl.cxx, line 1024<br>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<br></div><div><br></div><div><br></div><div>2.  
Errors processing IDL files - Invalid arguments</div><div>/usr/bin/sh: -c: line 1: syntax error near unexpected token `('<br>/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'<br>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</div><div><br></div><div><br></div><div>3. Configure fails for libffi component<br></div><div>configure: error: in `/cygdrive/c/Users/spun6/LibreOffice/lode/dev/core/workdir/UnpackedTarball/libffi/x86_64-pc-cygwin':<br>configure: error: C compiler cannot create executables<br>See `config.log' for more details<br>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<br></div><div><br></div><div>4. Build seems to hang (never completes when left overnight) after 'postgresql' component stage<br></div><div><br></div><div>File links:<br></div><div>   build.log::          <a href="https://drive.google.com/file/d/1KZJInodnQzf6SIUsVaW3er7Oi6dMOAZ7/view?usp=drive_link">https://drive.google.com/file/d/1KZJInodnQzf6SIUsVaW3er7Oi6dMOAZ7/view?usp=drive_link</a></div><div>   libffi config.log::  <a href="https://drive.google.com/file/d/1lssxS6Wnnaj1ehFt6gNnYjZBQ-kRGxz9/view?usp=drive_link">https://drive.google.com/file/d/1lssxS6Wnnaj1ehFt6gNnYjZBQ-kRGxz9/view?usp=drive_link</a></div><div><br></div></div>