# Unable to build SlicerCustomAppTemplate in Windows

**URL:** <https://discourse.slicer.org/t/unable-to-build-slicercustomapptemplate-in-windows/34005>\
**Category:** Development\
**Created:** [January 28, 2024, 12:34am UTC](https://discourse.slicer.org/t/unable-to-build-slicercustomapptemplate-in-windows/34005 "2024-01-28T00:34:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![apparrilla](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/apparrilla/32/9230_2.png) [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Post date:** [January 28, 2024, 12:34am UTC](https://discourse.slicer.org/t/unable-to-build-slicercustomapptemplate-in-windows/34005/1 "2024-01-28T00:34:03Z")

</div>

I´m trying to build my first Custom Slicer App using SlicerCustomAppTemplate project but I can´t even to build the basic one.  
Windows 11. VS 2022. Cmake 3.28.1  
My steps:

- Create D:\D2 forder and run cookiecutter gh:KitwareMedical/SlicerCustomAppTemplate on it.
- Open CMake. Select source (D:\D2\SlicerCustomAppTemplate) and output (D:\D2\SR) folders. Add Qt5\_DIR path in C:/Qt/5.15.2/msvc2019\_64/lib/cmake/Qt5. Add bool CMAKE\_CONFIGURATION\_TYPES string Release. Then, Configure and Generate.

Cmake shows this values

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/1/61bd6618b42e75a80043250b95ff6ed68259696a.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/1/016834b1a337426a609be353aedcc0d08ed8e403.png)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/f/6fbe91cb449b46224355314dcdd025e430de45d7.png)

- VS ALL\_BUILD project compile crashed and this is the error message:  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/f/5f79feaf87d22a7501331f1c53f2396de3d834f7.png)

I´m sure I´m doing something wrong but I´m stacked… Some idea what should be the problem?  
Thanks in advance

---

<div class="post-metadata">

**Author:** ![jamesobutler](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jamesobutler/32/7511_2.png) [@jamesobutler](https://discourse.slicer.org/u/jamesobutler)\
**Post date:** [January 28, 2024, 1:19am UTC](https://discourse.slicer.org/t/unable-to-build-slicercustomapptemplate-in-windows/34005/2 "2024-01-28T01:19:22Z")

</div>

A change in the file formats of the README from text file to markdown file caused this issue. Make the same type changes in your local source as the following linked PR (see below). Once that PR is integrated then new runs of the custom app template project should create a custom app template that builds successfully.

> <https://github.com/KitwareMedical/SlicerCustomAppTemplate/pull/55>
>
> README Extension update for latest slicer compatibility

---

<div class="post-metadata">

**Author:** ![apparrilla](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/apparrilla/32/9230_2.png) [@apparrilla](https://discourse.slicer.org/u/apparrilla)\
**Post date:** [January 28, 2024, 12:06pm UTC](https://discourse.slicer.org/t/unable-to-build-slicercustomapptemplate-in-windows/34005/3 "2024-01-28T12:06:08Z")

</div>

Right!!! I compile it and works!  
Thanks so much…
