Error when installing SlicerDebuggingTools on SlicerCAT

Hi,

I’m trying to install SlicerDebuggingTools on SlicerCAT via Extension manager.
Here are my steps:

  1. clone zipped SlicerDebuggingTools to C:\C\Extensions
  2. in Extension Manager I click on Install from file and choose zipped C:\C\Extensions\SlicerDebuggingTools.zip
    and here I get error:
    No extension description found in archive C:\C\Extensions\SlicerDebuggingTools.zip

I do not have much experience of writing extensions so I don’t know yet the requirements to extension. What is the possible reason for this?

By the way I work with my SlicerCAT wich is built (Debug) but NOT installed yet.
Windows 10 x64, MSVC 2019
image

If you build a custom application then you need to build the extensions as well. Normally you bundle all the extensions, because setting up your own extension server and asking users to install extensions is more complicated for both the custom application developers and users.

1 Like

Thank you,

I did it by adding these lines of code to the main CMakeLists.txt of my SlicerCAT:

# SlicerDebuggingTools
set(extension_name "SlicerDebuggingTools")
set(${extension_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${extension_name}")
FetchContent_Populate(${extension_name}
  SOURCE_DIR     ${${extension_name}_SOURCE_DIR}
  GIT_REPOSITORY ${EP_GIT_PROTOCOL}://github.com/SlicerRt/SlicerDebuggingTools
  GIT_TAG        8f5436b8519e10163fd88a86f5641fe70fc6697d
  GIT_PROGRESS   1
  QUIET
  )
list(APPEND Slicer_EXTENSION_SOURCE_DIRS ${${extension_name}_SOURCE_DIR})
1 Like