Thanks John. I managed to fix my issue by replacing the paths in the wiki's 'windows_tools.properties' file.
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. I also run gradle builds from Eclipse, so Cygwin isn't always used. On Sun, Aug 14, 2022 at 8:13 PM John Neffenger <j...@status6.com> wrote: > On 8/13/22 7:29 AM, Nir Lisker wrote: > > I figured out that that error (which appeared during compilation of > > native decora shaders) came from a missing entry in > > windows.tools.properties: > > While working on pull request openjdk/jfx#488, I found the sample > 'windows_tools.properties' file in the Wiki to be unhelpful. You don't > need it, and it was only a source of additional errors and confusion for > me. I think we should delete that section from the Wiki. > > It was over a year ago when I ran into problems with the Windows build, > but if I remember correctly, you need to do just the following: > > 1. Define the environment variables correctly. > > 2. When encountering errors, delete the entire 'build' directory after > each run. That will force the build to regenerate the correct > 'windows_tools.properties' file (and not use the old incorrect one). > > Step 1 is found below. The very important parts are to (a) include > '/cygdrive/c/Windows/System32' in your PATH, and (b) define the > 'VS150COMNTOOLS' environment variable: > > https://github.com/jgneff/jfxbuild/blob/main/win10/bin/jfxbuild.env > > Step 2 is: > > $ rm -r build > > More details are in the following pull request comment and my response: > > https://github.com/openjdk/jfx/pull/488#pullrequestreview-671683654 > > John >