How to get SlicerRT runing on my Developer Installation?

Operating system: Linux
Slicer version: Slicer 4.9

Hi Everyone,

I’d like to know how to install SlicerRT from source (GitHub) into my home Developer Installation.

Thank you all!

Slicer stable is 4.10 and development is 4.11. Please do git pull.

First you need to build from source (configure using CMake and build).

After that you can start Slicer and add SlicerRT module paths to additional module path in Slicer application settings. Alternatively, you can package SlicerRT extension (by building the PACKAGE target) and install the extension package.

Thank you, Andras
Similarly as we do with CLI modules?
I’ll try it now!

SlicerRT contains both CLI, loadable, and scripted modules. They are located in inner-build\lib\Slicer-4.11 subfolder of the build tree.


I am having a huge problem when trying to compile SlicerRT from source.And I guess it is related to my local configurations.
I do load source and build directories inside CMake, then configure and generate.
But when i gor for make, it craches with the following error:

CMake Error at SuperBuild/External_Plastimatch.cmake:46 (ExternalProject_Add):
Unknown CMake command "ExternalProject_Add".
Call Stack (most recent call first):
 /home/leonardo/General_Sources/Slicer/CMake/ExternalProjectDependency.cmake:752 (include)
SuperBuild.cmake:24 (ExternalProject_Include_Dependencies)
CMakeLists.txt:43 (include)

-- Configuring incomplete, errors occurred!
See also "/home/leonardo/Desktop/Modulos-Source/Modulos_to_Slicer/SlicerRT/Build/CMakeFiles/CMakeOutput.log".
See also "/home/leonardo/Desktop/Modulos-Source/Modulos_to_Slicer/SlicerRT/Build/CMakeFiles/CMakeError.log".
Makefile:564: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1

The address

  /home/leonardo/General_Sources/Slicer/CMake/ExternalProjectDependency.cmake:752 (include)

reffers to an old Slicer installation (4.9).

As well as the first files loaded in the beggining of make step:

-- Found PythonLibs: /usr/local/Slicer/python-install/lib/ (found version "2.7.13") 
-- Trying to find DCMTK expecting DCMTKConfig.cmake
-- Trying to find DCMTK expecting DCMTKConfig.cmake - ok
-- Found Qt4: /usr/bin/qmake (found version "4.8.7") 
-- RapidJSON found. Headers: ./include/Slicer-4.9
-- Trying to find DCMTK expecting DCMTKConfig.cmake
-- Trying to find DCMTK expecting DCMTKConfig.cmake - ok
-- Found PythonLibs: /usr/local/Slicer/python-install/lib/  
-- Found Qt4: /usr/bin/qmake (found version "4.8.7") 

I’d appreciate any help!


Make sure to set Slicer_DIR to the correct folder when configuring SlicerRT build.

Guys, can you remind me the versions should I install 3DSlicer (Qt 5.11? , Slicer4.10 ??) with which Slicer RT is supposed to run?

I did it one… then I needed to reinstall… Now I am installing slicer RT from both Extension Manager and built from git, none of them are displayed in the modules scroll/search bar.

I am using now: Slicer 4.10.1 with Qt 5.11.

Thanks again.

If you build Slicer then you need to build SlicerRT as well, using the exact same build environment. See instructions for master and 4.10 branch. If you stuck at any point then let us know.