<div dir="ltr">Thanks John. I managed to fix my issue by replacing the paths in the wiki's 'windows_tools.properties' file.<div><br></div><div>As for your fix, I did delete the build folder and had the VS150COMNTOOLS variable defined, but didn't know about '/cygdrive/c/Windows/System32' (I have '%SystemRoot%\system32' which is exported to Cygwin correctly). The properties file was still wrong and caused errors.</div><div><br></div><div>I also run gradle builds from Eclipse, so Cygwin isn't always used.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 14, 2022 at 8:13 PM John Neffenger <<a href="mailto:john@status6.com">john@status6.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 8/13/22 7:29 AM, Nir Lisker wrote:<br>
> I figured out that that error (which appeared during compilation of <br>
> native decora shaders) came from a missing entry in <br>
> windows.tools.properties:<br>
<br>
While working on pull request openjdk/jfx#488, I found the sample <br>
'windows_tools.properties' file in the Wiki to be unhelpful. You don't <br>
need it, and it was only a source of additional errors and confusion for <br>
me. I think we should delete that section from the Wiki.<br>
<br>
It was over a year ago when I ran into problems with the Windows build, <br>
but if I remember correctly, you need to do just the following:<br>
<br>
1. Define the environment variables correctly.<br>
<br>
2. When encountering errors, delete the entire 'build' directory after <br>
each run. That will force the build to regenerate the correct <br>
'windows_tools.properties' file (and not use the old incorrect one).<br>
<br>
Step 1 is found below. The very important parts are to (a) include <br>
'/cygdrive/c/Windows/System32' in your PATH, and (b) define the <br>
'VS150COMNTOOLS' environment variable:<br>
<br>
<a href="https://github.com/jgneff/jfxbuild/blob/main/win10/bin/jfxbuild.env" rel="noreferrer" target="_blank">https://github.com/jgneff/jfxbuild/blob/main/win10/bin/jfxbuild.env</a><br>
<br>
Step 2 is:<br>
<br>
$ rm -r build<br>
<br>
More details are in the following pull request comment and my response:<br>
<br>
<a href="https://github.com/openjdk/jfx/pull/488#pullrequestreview-671683654" rel="noreferrer" target="_blank">https://github.com/openjdk/jfx/pull/488#pullrequestreview-671683654</a><br>
<br>
John<br>
</blockquote></div>