# Extensions are not working when building Slicer from scratch

**URL:** <https://discourse.slicer.org/t/extensions-are-not-working-when-building-slicer-from-scratch/8412>\
**Category:** Development\
**Created:** [September 13, 2019, 12:41pm UTC](https://discourse.slicer.org/t/extensions-are-not-working-when-building-slicer-from-scratch/8412 "2019-09-13T12:41:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fpsiddiqui91](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Post date:** [September 13, 2019, 12:41pm UTC](https://discourse.slicer.org/t/extensions-are-not-working-when-building-slicer-from-scratch/8412/1 "2019-09-13T12:41:47Z")

</div>

Hello Developers,

I have built the Nightly version of slicer from scratch. The reason fro that is I want make my own CLI modules and Loadable modules.  
Everything seemed to be working until I had to download the extension packages.

When I was trying to install the extension pacakges from extension manager, It was showing " No extensions found for linux:64-bit"

After reading several solution in this forum I manually install the packages as explained here  
[https://www.slicer.org/wiki/Documentation/Nightly/Developers/FAQ#How\_to\_manually\_install\_an\_extension\_package.3F](https://www.slicer.org/wiki/Documentation/Nightly/Developers/FAQ#How_to_manually_install_an_extension_package.3F)

But when I am trying to run the DWItoDTI Estimation module it gives me this error:

**path/to/cli-modules/DWIToDTIEstimation: error while loading shared libraries: libvtkDMRI.so: cannot open shared object file: No such file or directory**

And with Brain masking module it is giving me this error:

**path/to/cli-modules/DiffusionWeightedVolumeMasking: error while loading shared libraries: libITKIOJPEG-4.12.so.1: cannot open shared object file: No such file or directory**

Am I missing something?

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [September 13, 2019, 1:03pm UTC](https://discourse.slicer.org/t/extensions-are-not-working-when-building-slicer-from-scratch/8412/2 "2019-09-13T13:03:39Z")

</div>

> [@fpsiddiqui91](#):
>
> download the extension packages

You cannot use factory-built extensions with your locally built Slicer. In that case you’ll need to clone and build the extensions you want to use.

See also for example

> [@Loadable module crashing binary Slicer](https://discourse.slicer.org/t/loadable-module-crashing-binary-slicer/1900):
>
> I have an error with my loadable module. I’ve built the Slicer stable version (revision 26489) and I’ve built my module against it without errors. The module works as intended when I launch the built Slicer version. However, if I try to launch module with the binary Slicer release (downloaded from the website, the 4.8.0 version - same as the built revision) the Slicer crashes before opening and I get the following error: “terminate called after throwing an instance of ‘H5::DataSpaceIException’” …

or

> [@Compiled App whichs source pulled from git cannot download extension due to reversion not match.](https://discourse.slicer.org/t/compiled-app-whichs-source-pulled-from-git-cannot-download-extension-due-to-reversion-not-match/6750):
>
> Problem report for Slicer 4.11.0-2019-05-01 win-amd64: [please describe expected and actual behavior] I compiled the Slicer reversion of “28202” which was pulled from github, and it’s reversion became “aae6a8c”, so that I can’t download extension from Extensions Manager online. The message from Extensions Manager says as below: “No extensions found for win:64-bit, revision: ‘aae6a8c’. Please try a different combination” After that I installed a SlicerVR extension, and it works well. Then I m…

---

<div class="post-metadata">

**Author:** ![fpsiddiqui91](https://avatars.discourse-cdn.com/v4/letter/f/53a042/32.png) [@fpsiddiqui91](https://discourse.slicer.org/u/fpsiddiqui91)\
**Post date:** [September 13, 2019, 1:45pm UTC](https://discourse.slicer.org/t/extensions-are-not-working-when-building-slicer-from-scratch/8412/3 "2019-09-13T13:45:42Z")

</div>

thanks, I have cloned the extensions and built it. It worked.  
Thanks alot
