Skip to content

Windows instructions

Erik Smistad edited this page Apr 28, 2017 · 36 revisions

This is tested on Windows 10 with Visual Studio 2015 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) automatically when you build.

Compile

  1. Download the FAST source code.
  2. Open CMake and set the source directory to the C:/path/to/where/you/installed/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.

Clone this wiki locally