# Custom application build fails due to missing DESCRIPTION\_FILE after upgrade to 5.6.2

**URL:** <https://discourse.slicer.org/t/custom-application-build-fails-due-to-missing-description-file-after-upgrade-to-5-6-2/38173>\
**Category:** Development\
**Created:** [September 3, 2024, 8:36am UTC](https://discourse.slicer.org/t/custom-application-build-fails-due-to-missing-description-file-after-upgrade-to-5-6-2/38173 "2024-09-03T08:36:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![darabi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/darabi/32/66736_2.png) [@darabi](https://discourse.slicer.org/u/darabi)\
**Post date:** [September 3, 2024, 8:36am UTC](https://discourse.slicer.org/t/custom-application-build-fails-due-to-missing-description-file-after-upgrade-to-5-6-2/38173/1 "2024-09-03T08:36:57Z")

</div>

Hello,  
I have a custom application which built and ran fine on 5.4.x. After upgrading the dependencies to 5.6.2 and the latest versions of the plugins which I use, the build fails with

```auto
CMake Error at CMake/SlicerMacroBuildApplication.cmake:66 (message):
  error: Variable DESCRIPTION_FILE set to
  /home/darabi/wrk/medical/3d/myapp/build/slicersources-src/README.txt
  corresponds to an nonexistent file.
Call Stack (most recent call first):
  /home/darabi/wrk/medical/3d/myapp/MyApp/Applications/MyAppApp/CMakeLists.txt:57 (slicerMacroBuildAppLibrary)

-- Configuring incomplete, errors occurred!
See also "/home/darabi/wrk/medical/3d/myapp/cpbuild/Slicer-build/CMakeFiles/CMakeOutput.log".
See also "/home/darabi/wrk/medical/3d/myapp/cpbuild/Slicer-build/CMakeFiles/CMakeError.log".
make[2]: *** [slicersources-build/CMakeFiles/Slicer.dir/build.make:123: slicersources-build/Slicer-prefix/src/Slicer-stamp/Slicer-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:1346: slicersources-build/CMakeFiles/Slicer.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

```

I probably need to configure something in addition?

Thank you for your help

Kambiz

---

<div class="post-metadata">

**Author:** ![darabi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/darabi/32/66736_2.png) [@darabi](https://discourse.slicer.org/u/darabi)\
**Post date:** [September 3, 2024, 8:44am UTC](https://discourse.slicer.org/t/custom-application-build-fails-due-to-missing-description-file-after-upgrade-to-5-6-2/38173/2 "2024-09-03T08:44:26Z")

</div>

Sorry for the noise, I was grepping with a typo!

Found the variable in `slicer-application-properties.cmake`.

---

<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:** [September 3, 2024, 1:58pm UTC](https://discourse.slicer.org/t/custom-application-build-fails-due-to-missing-description-file-after-upgrade-to-5-6-2/38173/3 "2024-09-03T13:58:03Z")

</div>

Below is the corresponding commit change to the Slicer CustomAppTemplate. You can generally review the latest commits in that repo to update your custom app to the latest versions of configurations (as though you created a brand new custom app using latest template). There are some recent additions such as applying the ruff linter using GitHub Actions to keep your custom app in line with Slicer linting.

> <https://github.com/KitwareMedical/SlicerCustomAppTemplate/commit/b0a4fc2597c7928c285e973e03d937e920c1498f>
>
> Fix configuration applying a fix similar to Slicer/Slicer@50beca56c (COMP: Fix
> …configuration referencing README.md). It follows up on changes originally introduced
> in Slicer/Slicer@2fe5bde (DOC: Convert README to markdown for adding of badges)

---

<div class="post-metadata">

**Author:** ![darabi](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/darabi/32/66736_2.png) [@darabi](https://discourse.slicer.org/u/darabi)\
**Post date:** [September 4, 2024, 2:46pm UTC](https://discourse.slicer.org/t/custom-application-build-fails-due-to-missing-description-file-after-upgrade-to-5-6-2/38173/4 "2024-09-04T14:46:13Z")

</div>

Thank you for the hint. In fact, that was the repo where I was trying to find DESCRIPTION\_FILE, but if you misspell it, you’ll never find anything 😉
