...
- 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 thatvcvars32.bat
is missing.- The folder name under
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC
is14.11.25503
. If this isn't set correctly, you might see an error during the:graphics:compileDecoraNativeShadersWin
build task saying thatcl.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.
...