CustusX  18.04-rc6
An IGT application
Building/installing PLUS

These build instructions are intended for setting up CustusX together witk PLUS on our internal CustusX racks, but can also be used for building PLUS on machines that are going to use CustusX together with PLUS.

Build PLUS 2.6 for CustusX racks with Ubuntu 16.04

Build PLUS on the developer user - then it will be available for all users on the rack computer.

cd dev
mkdir plus-2.6
cd plus-2.6
git clone https://github.com/PlusToolkit/PlusBuild.git PlusBuild
cd PlusBuild
git checkout Plus-2.6

Run CMake

  • Call bin folder PlusB-bin
  • Configure
  • (macOS. May need to set CMAKE_MAKE_PROGRAM to: /opt/local/bin/ninja)
  • (macOS. May need to set Qt5_DIR to e.g.: /Users/olevs/Qt/5.9.2/clang_64/lib/cmake/Qt5)
  • Check Advanced
  • Enable PLUS_USE_BKPROFOCUS_VIDEO
  • Enable PLUS_USE_NDI
  • Generate
cd ..
cd PlusB-bin
make

Let PLUS use CustusX rom files

This section is only relevant if you got a CustusX version with PLUS tool files.

PLUS access the tool rom files in a path relative to the PLUS folder structure. Therefore you will have to copy the rom files from the CustusX installation to the PLUS folder structure:

Copy the following folder from the CustusX installation: config/tool into the Plus folder structure: plus-2.6/PlusB-bin/PlusLibData/ConfigFiles.