• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. OpenJFX
  4. Building OpenJFX

Page History

Versions Compared

Old Version 119

changes.mady.by.user Nir Lisker

Saved on Sep 13, 2018

compared with

New Version 120

changes.mady.by.user Nir Lisker

Saved on Sep 15, 2018

  • Previous Change: Difference between versions 118 and 119
  • Next Change: Difference between versions 120 and 121
  • View Page History

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated Windows instructions

...

  • Cygwin. Some packages to make sure are installed are:
    • mercurial (hg)
    • openssh
    • zip
    • unzip
    • make (needed to compile media)
    • makedepend (needed for media)
  • Microsoft Visual Studio 2017, either Professional or Community edition. The "Desktop development with C++" workload is required at most, but it may be possible to install individual components to satisfy the requirements.
  • Microsoft DirectShow header files – If you build media you will need the DirectShow header files from the Microsoft Windows SDK v7.1, installed in its default location of "C:\Program Files\Microsoft SDKs\Windows\v7.1"

  • DirectX SDK June 2010 (TODO: this should no longer be needed – verify this)
    Microsoft DirectX SDK (June 2010) headers are required for building the JavaFX SDK. This DirectX SDK can be downloaded from Microsoft DirectX SDK (June 2010). If the link above becomes obsolete, the SDK can be found from the Microsoft Download Site (search with "DirectX SDK June 2010"). The location of this SDK will normally be set with the environment variable DXSDK_DIR at installation time. The default location is normally "C:/Program Files/Microsoft DirectX SDK (June 2010)/". If DXSDK_DIR is not set, the build process may look for it in the default location or "C:/DXSDK/".

...

You will likely need to set the following env variables to point to your VS 2017 installation, since Microsoft no longer sets such variables. This presumes that  you are using build 14.11.25503 of that:

  • You installed JDK 10 in C:\Program Files\Java\jdk-10.
  • You installed the Community edition of Visual Studio 2017

...

  • in C:

...

  • \Program

...

  • Files

...

  • (x86)

...

  • \Microsoft

...

  • Visual

...

  • Studio

...

  • \2017\Community. If this isn't set correctly, you might see an error during the build saying that vcvars32.bat is missing.
  • The folder name under C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC is 14.11.25503. If this isn't set correctly, you might  see an error during the :graphics:compileDecoraNativeShadersWin build task saying that cl.exe is missing.

You should adjust these as needed for your system.

Code Block
export VS150COMNTOOLS="C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\\Community\\VC\\Auxiliary\\Build"
export JAVA_HOME="C:/Program Files/Java/jdk-10"
export MSVC_VER=14.11.25503

Note the use of the double backslash in the VS150COMNTOOLS env var. This is needed because the cygwin shell uses the '\' as an escape character. With JAVA_HOME it is easier to just set it using forward slashes (although backslashes are fine as long as you escape them).

If these definitions aren't persisted between launches of Cygwin, you can either set them in the Windows Environment Variables UI or in the /home/$user$/.bash_profile file (these are ran on startup). Use export -p to verify that the env variables are set correctly.

Mac

You will need macOS 10.12 (Sierra) or later.

...

Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 401, "requestCorrelationId": "a8902d0264d25d55"}