Skip to content
Andreas Gravgaard Andersen edited this page Apr 25, 2018 · 6 revisions

Welcome to the CbctRecon wiki!

Installation

Using installer (Windows only)

The first version of a ".msi" installer (Download link) has been released. Requirements and important notes are given on the release page. Please install on a path were the user has write permissions, i.e. NOT C:/Program Files/.

Compiling from source (Recommended)

Refer to README.md for requirements The build system CMake use the "Superbuild", like Slicer 3D, which means it will automatically download and and configure open source dependencies. A few binary requirements must be downloaded first.

  1. Configure the project using CMake, a few tips is given in README.md
  2. Set the USE_* flags for what you want (Ignore USE_OPENCL and USE_CLFFT, they are experimental and full of bugs, OpenCL is still used anyway)
  3. Set CMAKE_INSTALL_PREFIX to a directory that does not require admin permissions.
  4. It's recommended to disable BUILD_TESTING to improve compile times significantly.
  5. If you want to use CPack to create a ".msi", set BUILD_SHARED_LIBS=ON and make sure you have the WiX toolset installed.
  6. Compile the generated project with your favorite compiler (Must support CUDA if you want GPU acceleration of the forward projection in the scatter correction)
  7. Find the [build_dir]/CbctRecon-prefix/src/CbctRecon-build directory and compile the install (and package for ".msi") target.
  8. If no errors ocurred the software should now be compiled and installed

If you encountered any problems, first check if you might have missed anything above or in README.md, then if the problem persists report the problem, either as issues here on GitHub, or by email: agravgaard@protonmail.com