Building an existing extension

Operating system  : Linux 4.4.25-040425-generic (Ubuntu 16.04.2 LTS)
Slicer version    : Slicer-4.7.0-2017-07-10-linux-amd64
Expected behavior : -
Actual behavior   : -

DTIProcess is available as extension for Slicer but the Extension Manager can’t find it.

Probably because it is a very recent version of Slicer.

I’ve cloned DTIProcess from github but don’t have an idea how to build it as an extension. Any hints how to proceed?

Regards,
Christina Roßmanith

Dept. of Neurology
University Medicine Mannheim
University of Heidelberg

Hi -

It looks like there’s a build error on the linux version of DTIProcess at the moment:

http://slicer.cdash.org/viewBuildError.php?buildid=1074584

but windows and mac appear to be working.

If you don’t hear more on this forum you could contact the authors listed here:

https://www.slicer.org/wiki/Documentation/Nightly/Extensions/DTIProcess

To answer your original question, you can do what is described here:

https://www.slicer.org/wiki/Documentation/Nightly/Developers/Build_Module

It requires also building Slicer on your machine (and the build error from the extension factory will need to be fixed)

I’ve built DTIProcess locally but had to add the line “set( CMAKE_CXX_STANDARD_REQUIRED ON )” to SuperBuild.cmake of DTIProcess to make the " CXX_STANDARD is set to invalid value ‘’ errors disappear. I’ve emailed Francois already. Maybe they modify the DTIProcess SuperBuild.cmake - if the fix is feasible. Is there a way to influence building DTIProcess from the Slicer build process and to add this option there, too?

Glad you got it working - I’m not sure if this is something specific to DTIProcess or something that might apply to all extensions. My guess is that your change should be applied in the DTIProcess code.