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

Reply via email to