Hi Christian,

Christian Lohmaier schrieb am 19.05.2026 um 12:22:
Hi Regina,

On Tue, May 19, 2026 at 12:03 PM Regina Henschel
<[email protected]> wrote:

any idea what might be the reason for the error:
   Could not figure out what C++ library this is

Blind guess scine not possible to tell without config.log / the actual
configure test:
There was a user on IRC having the same issue and there the problem
was the UCRT directory - it misses a slash and thus the include path
is wrong/is missing the directory delimiter and it fails to locate the
headers.

Unfortunately there was no follow-up on the issue, so not sure why it
fails - my assumption is that configure couldn't get the path from the
registry and hit the fallback path parsing it from the Visual Studio
devenv scripts.
If it worked on the same system before and breaks now,

Yes, it had worked before.

 then it is
likely due to https://gerrit.libreoffice.org/c/core/+/204767 that
touched the specific paths. / that would be where the trailing slash
needs to be accounted for.

So check config.log whether it looks something like
-IC:/PROGRA~2/WI3CF2~1/10Include/10.0.22621.0/ucrt (note the missing
slash between 10 and Include), then it is the same problem as the user
was having on IRC.

Yes, I see the same in config.log. I see
configure:14785: /mnt/c/PROGRA~1/MICROS~2/2022/COMMUN~1/VC/Tools/MSVC/14.44.35207/bin/Hostx64/x64/cl.exe -c
-IC:/PROGRA~2/WI3CF2~1/10Include/10.0.26100.0/ucrt
-IC:/PROGRA~2/WI3CF2~1/10Include/10.0.26100.0/ucrt
-IC:/PROGRA~1/MICROS~2/2022/COMMUN~1/VC/Tools/MSVC/1444~1.352/Include conftest.c >&5

What to do now?

Kind regards,
Regina


Reply via email to