-
Notifications
You must be signed in to change notification settings - Fork 101
Windows instructions
These instructions are for building FAST on Windows using Visual Studio. If you only want to test and use FAST, please download a release instead.
This is tested on Windows 10 with Visual Studio 2019 Community Edition which can be downloaded for free.
Install dependencies
-
Download and install git https://git-scm.com/download/win
-
Download and install CMake http://www.cmake.org/download/
-
Install OpenCL by downloading the latest display drivers and, depending on which GPU/CPU you have and want to use, install: CUDA Toolkit or AMD APP SDK or Intel OpenCL SDK .
-
FAST will download and build all other dependencies (Qt5, eigen, zlib, DCMTK) automatically when you build.
Compile
- Download the FAST source code using git:
git clone https://github.com/smistad/FAST
- 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 16 2019 Win64 as the generator if you use Visual Studio 2019. You may now enable and disable different modules and options in CMake. When done, press generate.
- 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.
Troubleshoot
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.
If this wiki page lacks some information or is incorrect please let us know! You can edit this wiki page yourself, send an email to [email protected] or