# SlicerDcm2nii extension not visible in Extension Manager despite successful build

**URL:** https://discourse.slicer.org/t/slicerdcm2nii-extension-not-visible-in-extension-manager-despite-successful-build/6435
**Category:** Development
**Created:** [April 8, 2019, 4:45pm UTC](https://discourse.slicer.org/t/slicerdcm2nii-extension-not-visible-in-extension-manager-despite-successful-build/6435 "2019-04-08T16:45:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ljod](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ljod/32/652_2.png) [@ljod](https://discourse.slicer.org/u/ljod)
#### Post date: [April 8, 2019, 4:45pm UTC](https://discourse.slicer.org/t/slicerdcm2nii-extension-not-visible-in-extension-manager-despite-successful-build/6435/1 "2019-04-08T16:45:33Z")

</div>

Hi we are trying to make the SlicerDCM2nii extension ([https://github.com/SlicerDMRI/SlicerDcm2nii](https://github.com/SlicerDMRI/SlicerDcm2nii)) available again to users. It has built successfully on Mac (with a few warnings but no errors) and Linux (no warnings), but it does not appear in the extension manager or on the online web Slicer appstore. It has no dependencies on other modules in its CMake files, so we are not sure what is wrong.

Does anyone have a suggestion of what is wrong or where to look? Thanks!!

[http://slicer.cdash.org/buildSummary.php?buildid=1558630](http://slicer.cdash.org/buildSummary.php?buildid=1558630)  
**Site Name:** [factory-south-macos.kitware](http://slicer.cdash.org/viewSite.php?siteid=862)  
**Build Name:** 28092-SlicerDcm2nii-git91ea4d6-g+±64bits-Qt5.10-Release  
**Stamp:** 20190408-0300-Extensions-Nightly  
**Time:** 2019-04-08T13:13:50 UTC  
**Type:** Extensions-Nightly

---

<div class="post-metadata">

### Author: ![jcfr](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jcfr/32/17825_2.png) [@jcfr](https://discourse.slicer.org/u/jcfr)
#### Post date: [April 8, 2019, 5:58pm UTC](https://discourse.slicer.org/t/slicerdcm2nii-extension-not-visible-in-extension-manager-despite-successful-build/6435/2 "2019-04-08T17:58:01Z")

</div>

Looking at the dashboard, it has been built on macOS and Linux:

[http://slicer.cdash.org/index.php?project=SlicerPreview&date=2019-04-08&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=SlicerDCM2nii](http://slicer.cdash.org/index.php?project=SlicerPreview&date=2019-04-08&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=SlicerDCM2nii)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/4/14cc2dad5439e59b0075d58ccbd1036393993e83.png)

But there are errors on windows. See [CDash](http://slicer.cdash.org/viewBuildError.php?buildid=1558053)

This file need to be updated: [dcm2niix/console/nii\_dicom\_batch.cpp at development · rordenlab/dcm2niix · GitHub](https://github.com/rordenlab/dcm2niix/blob/development/console/nii_dicom_batch.cpp)

Errors related to `abs` can be fixed using `fabs`.

Errors related to `getline` could be fixed by updating the code to use [istream::getline](http://www.cplusplus.com/reference/istream/istream/getline/) instead

---

<div class="post-metadata">

### Author: ![ljod](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ljod/32/652_2.png) [@ljod](https://discourse.slicer.org/u/ljod)
#### Post date: [April 8, 2019, 6:18pm UTC](https://discourse.slicer.org/t/slicerdcm2nii-extension-not-visible-in-extension-manager-despite-successful-build/6435/3 "2019-04-08T18:18:17Z")

</div>

Thanks JC this is very helpful for fixing the errors. But the extension, despite building on Mac and Linux, does not show up in the extension manager on those platforms. Do you have any idea why this would happen?

---

<div class="post-metadata">

### Author: ![ljod](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ljod/32/652_2.png) [@ljod](https://discourse.slicer.org/u/ljod)
#### Post date: [April 11, 2019, 4:18pm UTC](https://discourse.slicer.org/t/slicerdcm2nii-extension-not-visible-in-extension-manager-despite-successful-build/6435/4 "2019-04-11T16:18:42Z")

</div>

JC do you know if there some problem with the way this extension is set up? It is not being distributed through the Extension Manager, and it is not visible in the online app store at [http://slicer.kitware.com/midas3/slicerappstore](http://slicer.kitware.com/midas3/slicerappstore). (Thanks to Chris Rorden, the code now compiles on all platforms.)

Before Isaiah left, on his last day the extension did show up in the nightly, so my assumption is that it should show up again now that it compiles…

Here is the latest compilation result:  
[http://slicer.cdash.org/index.php?project=SlicerPreview&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=SlicerDCM2nii](http://slicer.cdash.org/index.php?project=SlicerPreview&filtercount=1&showfilters=1&field1=buildname&compare1=63&value1=SlicerDCM2nii)
