# No such module "MinimalPathExtraction" ITK module not found

**URL:** <https://discourse.slicer.org/t/no-such-module-minimalpathextraction-itk-module-not-found/18573>\
**Category:** Development\
**Tags:** build\
**Created:** [July 8, 2021, 4:06am UTC](https://discourse.slicer.org/t/no-such-module-minimalpathextraction-itk-module-not-found/18573 "2021-07-08T04:06:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahesh\_Timmanagoudar](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mahesh_timmanagoudar/32/10914_2.png) [@Mahesh\_Timmanagoudar](https://discourse.slicer.org/u/Mahesh_Timmanagoudar)\
**Post date:** [July 8, 2021, 4:06am UTC](https://discourse.slicer.org/t/no-such-module-minimalpathextraction-itk-module-not-found/18573/1 "2021-07-08T04:06:22Z")

</div>

Hello,

I am building TubeTK with latest slicer repository.

TubeTK I have cloned from the following link.

[https://github.com/InsightSoftwareConsortium/ITKTubeTK](https://itktubetk/)

While I am building slicer along with TubeTK I got the below error.

– Configuring extension directory: TubeTK  
CMake Error at D:/W6/S-rel/S-bld/ITK/CMake/ITKModuleAPI.cmake:78 (message):  
No such module: “MinimalPathExtraction”  
Call Stack (most recent call first):  
D:/W6/S-rel/S-bld/ITK/CMake/ITKModuleAPI.cmake:31 (itk\_module\_load)  
D:/W6/S-rel/S-bld/ITK/CMake/ITKModuleAPI.cmake:129 (\_itk\_module\_config\_recurse)  
D:/W6/S-rel/S-bld/ITK-build/ITKConfig.cmake:86 (itk\_module\_config)  
D:/W6/S-rel/S-bld/TubeTK/CMakeLists.txt:159 (find\_package)  
– Configuring incomplete, errors occurred!

I have tried by setting below values in CMake `-DSlicer_DIR:PATH=%SLICER_BIN_DIR_DBG_X64% -DTubeTK_BUILD_SLICER_EXTENSION:BOOL=ON` .

As per below reference but no luck.

> [@TubeTK build with Slicer](https://discourse.slicer.org/t/tubetk-build-with-slicer/858):
>
> Hi, Does anyone build TubeTk successfully with the latest slicer? i receive this kind of error message Make Error at /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find JsonCpp (missing: JsonCpp\_LIBRARIES JsonCpp\_INCLUDE\_DIRS) Call Stack (most recent call first): /usr/local/Cellar/cmake/3.9.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:377 (\_FPHSA\_FAILURE\_MESSAGE) /Users/longquanchen/Desktop/Github/Slicer-build/Sl…

Please let me know about it, How can i build TubeTK with slicer.

---

<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:** [July 12, 2021, 1:14pm UTC](https://discourse.slicer.org/t/no-such-module-minimalpathextraction-itk-module-not-found/18573/2 "2021-07-12T13:14:01Z")

</div>

The error message suggests that you need to enable `MinimalPathExtraction` ITK remote module enabled when you configure the ITK build. You can reconfigure your ITK build tree manually in CMake, but it would be nice if this ITK remote module could be built additionally when the extension is built. If you are not sure how then you can write to the [ITK forum](https://discourse.itk.org/).
