# Cannot open include file: ‘itkImageIOFactoryRegisterManager.h’ Error in using Conan-built ITK on windows

**URL:** https://discourse.itk.org/t/cannot-open-include-file-itkimageiofactoryregistermanager-h-error-in-using-conan-built-itk-on-windows/4477
**Category:** Engineering
**Tags:** cmake
**Created:** [October 6, 2021, 12:04am UTC](https://discourse.itk.org/t/cannot-open-include-file-itkimageiofactoryregistermanager-h-error-in-using-conan-built-itk-on-windows/4477 "2021-10-06T00:04:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Richard\_Yang](https://discourse.itk.org/user_avatar/discourse.itk.org/richard_yang/32/2316_2.png) [@Richard\_Yang](https://discourse.itk.org/u/Richard_Yang)
#### Post date: [October 6, 2021, 12:04am UTC](https://discourse.itk.org/t/cannot-open-include-file-itkimageiofactoryregistermanager-h-error-in-using-conan-built-itk-on-windows/4477/1 "2021-10-06T00:04:21Z")

</div>

Hi All,  
I have encountered an issue as below.

|Error|C1083|Cannot open include file: ‘itkImageIOFactoryRegisterManager.h’: No such file or directory|RestDICOM| C:.conan\5d4232\1\include\ITK-5.1\itkImageFileWriter.h|246||

I have been trying to fix it by adding  
set(ITK\_NO\_IO\_FACTORY\_REGISTER\_MANAGER, on)  
to my cmakefile, but it did not have any effect.

Could any one help with how to fix? Any suggestions will be greatly appreciated!

---

<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: [October 6, 2021, 1:42pm UTC](https://discourse.itk.org/t/cannot-open-include-file-itkimageiofactoryregistermanager-h-error-in-using-conan-built-itk-on-windows/4477/2 "2021-10-06T13:42:28Z")

</div>

That file is supposed to be in `your-build-directory\ITKFactoryRegistration\itkImageIOFactoryRegisterManager.h`, not in some directory in your package manager. How does your `CMakeLists.txt` look like? If it is complicated, can you try [hello world](https://github.com/InsightSoftwareConsortium/ITK/tree/master/Examples/Installation) against your Conan install?
