# How to get SlicerRT runing on my Developer Installation?

**URL:** <https://discourse.slicer.org/t/how-to-get-slicerrt-runing-on-my-developer-installation/5440>\
**Category:** Support\
**Tags:** slicerrt\
**Created:** [January 21, 2019, 12:55pm UTC](https://discourse.slicer.org/t/how-to-get-slicerrt-runing-on-my-developer-installation/5440 "2019-01-21T12:55:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MachadoL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/machadol/32/3372_2.png) [@MachadoL](https://discourse.slicer.org/u/MachadoL)\
**Post date:** [January 21, 2019, 12:55pm UTC](https://discourse.slicer.org/t/how-to-get-slicerrt-runing-on-my-developer-installation/5440/1 "2019-01-21T12:55:04Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![Alex\_Vergara](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/alex_vergara/32/15205_2.png) [@Alex\_Vergara](https://discourse.slicer.org/u/Alex_Vergara)\
**Post date:** [January 21, 2019, 3:15pm UTC](https://discourse.slicer.org/t/how-to-get-slicerrt-runing-on-my-developer-installation/5440/2 "2019-01-21T15:15:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 21, 2019, 3:31pm UTC](https://discourse.slicer.org/t/how-to-get-slicerrt-runing-on-my-developer-installation/5440/3 "2019-01-21T15:31:58Z")

</div>

> [@MachadoL](#):
>
> how to install SlicerRT from source

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](https://www.slicer.org/wiki/Documentation/Nightly/SlicerApplication/ExtensionsManager#Installing_an_extension_without_network_connection).

---

<div class="post-metadata">

**Author:** ![MachadoL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/machadol/32/3372_2.png) [@MachadoL](https://discourse.slicer.org/u/MachadoL)\
**Post date:** [January 21, 2019, 6:40pm UTC](https://discourse.slicer.org/t/how-to-get-slicerrt-runing-on-my-developer-installation/5440/4 "2019-01-21T18:40:34Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 22, 2019, 2:34am UTC](https://discourse.slicer.org/t/how-to-get-slicerrt-runing-on-my-developer-installation/5440/5 "2019-01-22T02:34:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![MachadoL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/machadol/32/3372_2.png) [@MachadoL](https://discourse.slicer.org/u/MachadoL)\
**Post date:** [January 22, 2019, 8:08pm UTC](https://discourse.slicer.org/t/how-to-get-slicerrt-runing-on-my-developer-installation/5440/6 "2019-01-22T20:08:50Z")

</div>

Lasso,

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)
/home/leonardo/General_Sources/Slicer/CMake/ExternalProjectDependency.cmake:815 
(ExternalProject_Include_Dependencies)
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/libpython2.7.so (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/libpython2.7.so  
-- Found Qt4: /usr/bin/qmake (found version "4.8.7") 
-- Configuring SlicerRT with Qt 4.8.7 (using modules: QTCORE, QTGUI, QTNETWORK, QTOPENGL, QTUITOOLS, QTXML, QTXMLPATTERNS, QTWEBKIT, QTSVG, QTSQL, QTSCRIPT, QTTEST, )

```

I’d appreciate any help!

Thanks.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [January 22, 2019, 8:56pm UTC](https://discourse.slicer.org/t/how-to-get-slicerrt-runing-on-my-developer-installation/5440/7 "2019-01-22T20:56:37Z")

</div>

Make sure to set Slicer\_DIR to the correct folder when configuring SlicerRT build.

---

<div class="post-metadata">

**Author:** ![MachadoL](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/machadol/32/3372_2.png) [@MachadoL](https://discourse.slicer.org/u/MachadoL)\
**Post date:** [June 14, 2019, 9:04pm UTC](https://discourse.slicer.org/t/how-to-get-slicerrt-runing-on-my-developer-installation/5440/8 "2019-06-14T21:04:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 15, 2019, 2:06am UTC](https://discourse.slicer.org/t/how-to-get-slicerrt-runing-on-my-developer-installation/5440/9 "2019-06-15T02:06:52Z")

</div>

If you build Slicer then you need to build SlicerRT as well, using the exact same build environment. See instructions for [master](https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Instructions) and [4.10 branch](https://www.slicer.org/wiki/Documentation/4.10/Developers/Build_Instructions). If you stuck at any point then let us know.
