# Need to find/replace all #include with new path which doesn’t fit with old path

**URL:** https://discourse.itk.org/t/need-to-find-replace-all-include-with-new-path-which-doesn-t-fit-with-old-path/3820
**Category:** Engineering
**Tags:** cmake
**Created:** [February 1, 2021, 4:27pm UTC](https://discourse.itk.org/t/need-to-find-replace-all-include-with-new-path-which-doesn-t-fit-with-old-path/3820 "2021-02-01T16:27:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![al-sabr](https://discourse.itk.org/user_avatar/discourse.itk.org/al-sabr/32/1893_2.png) [@al-sabr](https://discourse.itk.org/u/al-sabr)
#### Post date: [February 1, 2021, 4:27pm UTC](https://discourse.itk.org/t/need-to-find-replace-all-include-with-new-path-which-doesn-t-fit-with-old-path/3820/1 "2021-02-01T16:27:19Z")

</div>

Greetings!

I am trying to extract an important part of ITK which is used from MITK and the mbilog module and the Blueberry framework and integrate that part inside of CTK.

So up until now I was successful in taking mbilog & BlueBerry and convert them into OSGi module that can be compiled directly with CTK. Since mbilog is dependent on KWSys & VNL I also had to adapt them within CTK with success.

Both of those external dependencies are compiling but for some reason mbilog seems to not be able to find the #include directives which changed and I don’t understand how can I make it work without to have to rename all the #includes in my project.

Can someone give insight into what might be the small detail I don’t see to fix this issue? I created a thread on CMake’s forum thinking that might be a CMake mistake.

[https://discourse.cmake.org/t/need-to-find-replace-all-include-with-new-path-which-doesnt-fit-with-old-path/2661](https://discourse.cmake.org/t/need-to-find-replace-all-include-with-new-path-which-doesnt-fit-with-old-path/2661)

Best regards

---

<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: [February 1, 2021, 6:46pm UTC](https://discourse.itk.org/t/need-to-find-replace-all-include-with-new-path-which-doesn-t-fit-with-old-path/3820/2 "2021-02-01T18:46:42Z")

</div>

Discussion was continued on CMake discourse.
