# ModuleExport.h not found

**URL:** <https://discourse.slicer.org/t/moduleexport-h-not-found/13729>\
**Category:** Development\
**Created:** [September 28, 2020, 10:36am UTC](https://discourse.slicer.org/t/moduleexport-h-not-found/13729 "2020-09-28T10:36:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anish\_Basnet](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/anish_basnet/32/7988_2.png) [@Anish\_Basnet](https://discourse.slicer.org/u/Anish_Basnet)\
**Post date:** [September 28, 2020, 10:36am UTC](https://discourse.slicer.org/t/moduleexport-h-not-found/13729/1 "2020-09-28T10:36:45Z")

</div>

Hello everyone,  
When compiling the slicer code, I am getting an error. What could be the reason for it? Do I need to change the Cmake.lists file? I am extending a loadable module. Do I need SubjectHierarchyPlugins directory in my module? I went through some other loadable modules such as Models and Markups. They have the folder named SubjectHierarchyPlugins.

Any help would be much appreciated!

Best regards,  
Anish

 ![ERROR](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/a/9a404dcd8134d6962f782bfc06fa8fbbdfc9ea50.png)

---

<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:** [September 28, 2020, 3:08pm UTC](https://discourse.slicer.org/t/moduleexport-h-not-found/13729/2 "2020-09-28T15:08:41Z")

</div>

Do you build latest master version and follow [these instructions](https://slicer.readthedocs.io/en/latest/developer_guide/build_instructions/linux.html)?

Did you have trouble building unmodified Slicer?  
You should not modify Slicer source code but add your custom modules in an extension.
