no JDK found
Mike Kaganski
mikekaganski at hotmail.com
Sun Jan 14 04:28:00 UTC 2024
On 1/13/2024 11:24 PM, y27p6e3vuNQx at web.de wrote:
> it is not finding C++ build tools (Win 10 SDK), even if Visual Studio is
> available. I have to use the option "--with-visual-studio=2022"
Yes, it is expected and normal. We keep the baseline at VS 2019 level
[1] (IIUC, this is what the official builds are created with), and so VS
2022 requires explicit choice (which is documented in the wiki [2],
which is up-to-date in this regard).
> it is not finding JDK, even if it is available. Option
> "--with-jdk-home=/cygdrive/c/jdk-21.0.1/bin" is not solving the issue.
The documentation does not say to use path to the bin directory. It
should be like '--with-jdk-home=c:/jdk-21.0.1' (of course, 'cygdrive'
syntax will also work, just don't understand why it's still suggested
(beside the only place where it's relevant - in Unix-style PATH) - I
have just dropped it from wiki).
[1] https://opengrok.libreoffice.org/xref/core/README.md?r=d6d4cae1
[2]
https://wiki.documentfoundation.org/Development/BuildingOnWindows#Switching_to_non-default_compiler
--
Best regards,
Mike Kaganski
More information about the LibreOffice
mailing list