# Error building custom 3D Slicer

**URL:** <https://discourse.slicer.org/t/error-building-custom-3d-slicer/43149>\
**Category:** Development\
**Tags:** build, slicer-custom-app\
**Created:** [May 29, 2025, 2:52pm UTC](https://discourse.slicer.org/t/error-building-custom-3d-slicer/43149 "2025-05-29T14:52:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicofutur8](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/nicofutur8/32/80294_2.png) [@nicofutur8](https://discourse.slicer.org/u/nicofutur8)\
**Post date:** [May 29, 2025, 2:52pm UTC](https://discourse.slicer.org/t/error-building-custom-3d-slicer/43149/1 "2025-05-29T14:52:17Z")

</div>

Hello everyone!

I want to build a custom Slicer3D using your template by Kitware. I followed steps thoroughly but, at the end of the building phase, i get an error envolving some kind of VTK feature called vtkTeemPython.

i don’t know from where this error comes and Visual Studio’s traceback is not helping to be honest…

The error code is MSB8066 and its something like that:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/5/95d6abf8ad05d2b0efd2dfea0fc353e9c147fda6.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/d/9d94c0e5dc66c10d065969d20c0e1211f482e524.png)

Could anyone help me finding out what is happening?  
Thanks in advance

---

<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:** [June 2, 2025, 10:34am UTC](https://discourse.slicer.org/t/error-building-custom-3d-slicer/43149/2 "2025-06-02T10:34:01Z")

</div>

First of all, I’d try running the superbuild again, without deleting anything. Sometimes there are hiccups that simply resuming the build fixes.

If you see the same error, then please share the whole log, because then it is possible that there are other issues that cause this one.

---

<div class="post-metadata">

**Author:** ![nicofutur8](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/nicofutur8/32/80294_2.png) [@nicofutur8](https://discourse.slicer.org/u/nicofutur8)\
**Post date:** [June 3, 2025, 10:00am UTC](https://discourse.slicer.org/t/error-building-custom-3d-slicer/43149/3 "2025-06-03T10:00:05Z")

</div>

Hello Csaba!

I’ve tried like 30 times to rebuild it with no success ☹

Here’s the full log of my last build:

> **[last build](https://wetransfer.com/downloads/b0e9c27af2a74a1768bfc73d6960196a20250603095734/d56ee2?t_exp=1749203854&t_lsid=a38681cf-725b-4f36-916f-800280500e68&t_network=link&t_rid=b2F1dGgyfHNsYWNrfFQwMjhBQUI5M0NOLVUwMjhBUVNIMDlM&t_s=download_link&t_ts=1748944680)**
>
> 1 file sent via WeTransfer, the simplest way to send your files around the world

I could not copypaste it due to its size.  
Tell me if I could do anything please  
Thanks in advance!  
Nico

---

<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:** [June 3, 2025, 4:04pm UTC](https://discourse.slicer.org/t/error-building-custom-3d-slicer/43149/4 "2025-06-03T16:04:08Z")

</div>

Thanks for your patience with the process 🙏

Could you share the error copying the relevant text ?

You may be able to find the actual issue by scrolling up in the log.

For sake of transparency and visibility, avoid uploading the details onto third-party website.

---

<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:** [June 3, 2025, 4:05pm UTC](https://discourse.slicer.org/t/error-building-custom-3d-slicer/43149/5 "2025-06-03T16:05:52Z")

</div>

For reference, the discussion has been moved into the issue tracker.  
See [https://github.com/KitwareMedical/SlicerCustomAppTemplate/issues/99](https://github.com/KitwareMedical/SlicerCustomAppTemplate/issues/99)

An update will be posted here once the issue has been sorted out.

---

<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:** [June 4, 2025, 10:31am UTC](https://discourse.slicer.org/t/error-building-custom-3d-slicer/43149/6 "2025-06-04T10:31:04Z")

</div>

Alright. I posted my suggestion on the ticket. The first issue seems to be an easy one.
