# Compiling ~MinimalPathExtraction~ with ITK 5.2.1

**URL:** <https://discourse.itk.org/t/compiling-minimalpathextraction-with-itk-5-2-1/4784>\
**Category:** Community\
**Tags:** remotemodule\
**Created:** [February 6, 2022, 4:16am UTC](https://discourse.itk.org/t/compiling-minimalpathextraction-with-itk-5-2-1/4784 "2022-02-06T04:16:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Stephen\_Aylward](https://discourse.itk.org/user_avatar/discourse.itk.org/stephen_aylward/32/654_2.png) [@Stephen\_Aylward](https://discourse.itk.org/u/Stephen_Aylward)\
**Post date:** [February 7, 2022, 5:22pm UTC](https://discourse.itk.org/t/compiling-minimalpathextraction-with-itk-5-2-1/4784/4 "2022-02-07T17:22:49Z")

</div>

This error is not in TubeTK, it is in MinimalPathExtraction.

For TubeTK from python, the easiest approach is to use

```
pip install --pre itk-tubetk

```

I just posted a new version of TubeTK (1.1rc01) last night (hence the -pre argument). TubeTKv1.1rc01 works with ITKv5.3rc03. It will automatically bring in MinimalPathExtraction wheels

Otherwise, for ITKv5.2.1, you will need the older version of TubeTK  
pip install itk-tubetk # no -pre option

If you still want to compile from source, I am not certain why you are seeing those error in MinimalPathExtraction. You would need to contact the MinimalPathExtraction developers for confirmation. It should be easy to track down where MinimalPathExtraction\_EXPORT is being defined and include that file in the appropriate source code. Those exports typically default to empty string except on windows (as I recall, but it has been years since I looked at that definition), if so, you could simply delete those references. It is regretful to have to modify code in that way, but I’m not certain how responsive the MinimalPathExtraction folks are.

---

_[View the full topic](https://discourse.itk.org/t/compiling-minimalpathextraction-with-itk-5-2-1/4784)._
