Re: no JDK found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It is really hard to get all which is necessary and quite easy to miss
important information. The information about the VS option is some line
behind the step to run autogen.sh.

I got stuck with JDK and did not proceed in reading the docs further.


Thanks for pointing out.



Am 14.01.24 um 05:28 schrieb Mike Kaganski:
On 1/13/2024 11:24 PM, y27p6e3vuNQx@xxxxxx 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





[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux