Windows instructions

Erik Smistad edited this page May 23, 2018 · 31 revisions

This is tested on Windows 10 with Visual Studio 2017 Community Edition which can be downloaded for free.

Install dependencies

  1. Download and install git https://git-scm.com/download/win

  2. Download and install CMake http://www.cmake.org/download/

  3. Install OpenCL by downloading the latest display drivers and AMD APP SDK (if you have a AMD GPU) or CUDA Toolkit (if you have an NVIDIA GPU).

  4. Download and install perl for windows, e.g. ActivePerl which is needed to compile Qt5. Make sure perl is added to the system path.

  5. FAST will download and build all other dependencies (Qt5, eigen, zlib, DCMTK) automatically when you build.

Compile

  1. Download the FAST source code.
  2. Open CMake and set the source directory to the C:/path/to/FAST/ directory. Then set the build directory to where you want to create your visual studio project. Press configure and choose Visual Studio 14 2015 Win64 as the generator if you use Visual Studio 2015. Press generate.
  3. The Visual studio project will be located in the build directory. You can now compile and run the project from inside Visual Studio. Remember to select Release before you build.

Troublshoot

If you get an error while FAST is building Qt5 and qtconfig.h: delete the folder external/qt5 in your build folder and try to build FAST again.

Running the tests

Next, you should run the tests to make sure the framework is working properly on your system. Instructions on how to do this can be found here.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.