# Custom Build App Win11 VS 2022 Qt5.15.2 Error FindCTK.cmake

**URL:** <https://discourse.slicer.org/t/custom-build-app-win11-vs-2022-qt5-15-2-error-findctk-cmake/33554>\
**Category:** Development\
**Tags:** build, cmake, slicer-custom-app\
**Created:** [December 29, 2023, 10:51am UTC](https://discourse.slicer.org/t/custom-build-app-win11-vs-2022-qt5-15-2-error-findctk-cmake/33554 "2023-12-29T10:51:48Z")\
**Posts on this page:** 1\
**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:** [December 29, 2023, 10:51am UTC](https://discourse.slicer.org/t/custom-build-app-win11-vs-2022-qt5-15-2-error-findctk-cmake/33554/1 "2023-12-29T10:51:48Z")

</div>

Hi Everyone!  
I´m trying to build a Custom App with SlicerCustomAppTemplate in Windows 11 with VS 2022 and Qt5.15.2 and I get this error:

CMake Error at CMakeLists.txt:890 (find\_package):  
33\> By not providing “FindCTK.cmake” in CMAKE\_MODULE\_PATH this project has  
33\> asked CMake to find a package configuration file provided by “CTK”, but  
33\> CMake did not find one.  
33\>  
33\> Could not find a package configuration file provided by “CTK” with any of  
33\> the following names:  
33\>  
33\> CTKConfig.cmake  
33\> ctk-config.cmake  
33\>  
33\> Add the installation prefix of “CTK” to CMAKE\_PREFIX\_PATH or set “CTK\_DIR”  
33\> to a directory containing one of the above files. If “CTK” provides a  
33\> separate development package or SDK, be sure it has been installed.

Thanks in advance!
