This project is a CMake super build for dependencies of FAST.
- zlib
- zip
- dcmtk
- hdf5
- OpenIGTLink
- OpenVINO
- qt5
- tensorflow
- realsense
- jkqtplotter
- (OpenSlide)
- (libtiff)
- (libjpeg)
Install the following tools (On Ubuntu 20.04 use GCC 8, not 9 or 10 as OpenVINO fails to build):
sudo snap install cmake --classic # Use snap to get more recent version of cmake on Ubuntu 18.04
sudo apt install g++ git patchelf
sudo apt install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
sudo apt install pkgconf libusb-1.0-0-dev # Needed for realsenseInstall TensorFlow build tools:
- Install java if you don't already have it
- Install bazel 3.1.0: https://github.com/bazelbuild/bazel/releases/tag/3.1.0
- Install Python 3 with numpy 1.19.0
- Install CUDA toolkit (if GPU build)
- Install cuDNN (if GPU build)
Install the following tools:
Install TensorFlow build tools:
- Install java if you don't already have it
- Install bazel 3.1.0: https://github.com/bazelbuild/bazel/releases/tag/3.1.0 Put bazel.exe in path
- Install msys2 and some packages: https://docs.bazel.build/versions/master/install-windows.html#installing-compilers-and-language-runtimes
- Install Python 3 with numpy 1.19.0
- Install CUDA toolkit (if GPU build)
- Install cuDNN (if GPU build)
git clone https://github.com/smistad/FAST-dependencies.git
cd FAST-dependencies
mkdir build
cd build
cmake ..cmake --build . --config Release -j8Warning: This will take a very long time.
All packages will be located in the build/dist/ folder.
To build dependency name:
cmake --build . -t <name>_package --config Release -j8The package will be located in the build/dist/ folder.
SHA hashes can be generated with:
cmake --build . -t hash_allrm -Rf build_output/<name>/