# itk specified file not found error

**URL:** https://discourse.itk.org/t/itk-specified-file-not-found-error/7665
**Category:** Beginner Questions
**Tags:** itk
**Created:** [November 17, 2025, 5:51pm UTC](https://discourse.itk.org/t/itk-specified-file-not-found-error/7665 "2025-11-17T17:51:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ali123](https://discourse.itk.org/letter_avatar_proxy/v4/letter/a/c5a1d2/32.png) [@ali123](https://discourse.itk.org/u/ali123)
#### Post date: [November 17, 2025, 5:51pm UTC](https://discourse.itk.org/t/itk-specified-file-not-found-error/7665/1 "2025-11-17T17:51:06Z")

</div>

hi i,m realy new to c++, vs and itk  
i install that with vcpkg and integrate install it  
i add directory lib and include to project property

but i still have problem and get this specified file not found

can you please help me??

actually i,m installing that to do asymmetric 3d dilation

for example up3

down 5

left 8

right 10

depth front 6

depth back 1

if you have a suggestion for me i will be thankful

---

<div class="post-metadata">

### Author: ![dzenanz](https://discourse.itk.org/user_avatar/discourse.itk.org/dzenanz/32/1093_2.png) [@dzenanz](https://discourse.itk.org/u/dzenanz)
#### Post date: [November 17, 2025, 7:12pm UTC](https://discourse.itk.org/t/itk-specified-file-not-found-error/7665/2 "2025-11-17T19:12:21Z")

</div>

`vcpkg` is good if you need many libraries. If you only need ITK, it is better to build it separately, the [usual way](https://preshing.com/20170511/how-to-build-a-cmake-based-project/). Less complexity, less headaches. Then write a CMakeLists.txt for your new project, it can be as simple as [highlighted part of this example](https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/blob/55f4807ae858dffa49c531217832f7db0f4d3f06/src/Filtering/BinaryMathematicalMorphology/DilateABinaryImage/CMakeLists.txt#L1-L17). As for dilation, you need to set up asymmetric radius, different along each axis, unlike [this example](https://github.com/InsightSoftwareConsortium/ITKSphinxExamples/blob/55f4807ae858dffa49c531217832f7db0f4d3f06/src/Filtering/BinaryMathematicalMorphology/DilateABinaryImage/Code.cxx#L47).
