Windows (32bit) build problems
Robert Lichtenberger
r.lichtenberger at gmail.com
Thu Jul 4 15:01:32 UTC 2019
Hello everyone,
I try to build JavaFX-12 mods for Windows-32.
For that I cloned http://hg.openjdk.java.net/openjfx/12-dev/rt/ (correct?)
and read the build instructions at
https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-Windows
.
First question:
* The build instructions tell me that gradle 5.3 is used but the
gradle-wrapper actually downloads 4.8. My guess is that the build
instructions refer to the current head version.
* A simple ./gradlew tasks gives the following error:
> * What went wrong:
> A problem occurred evaluating script.
> > FAIL: WINSDK_DIR not defined
>
There's no such environment variable in the build instructions. By looking
around in win.gradle I guessed that this should point to the "Microsoft
DirectShow header files", but it is not really well documented.
I could only make the build continue by patching win.gradle, setting an
environment variable did not help.
If I add WINDOWS_SDK_DIR="C:\\Program Files\\Microsoft SDKs\\Windows\\v7.1"
in win.gradle right above the checking code, I can execute gradlew tasks.
However If I just start gradlew to really build JavaFX I get:
FAILURE: Build failed with an exception.
>
> * What went wrong:
> Execution failed for task ':graphics:compileDecoraNativeShadersWin'.
> > java.util.concurrent.ExecutionException:
> org.gradle.process.internal.ExecException: A problem occurred starting
> process 'command '/VC/BIN/cl.exe''
>
Any help/hints welcome :-)
More information about the openjfx-dev
mailing list