# 'CurvatureRegistrationFilter': is not a member of 'itk'.

**URL:** https://discourse.itk.org/t/curvatureregistrationfilter-is-not-a-member-of-itk/5190
**Category:** Algorithms
**Tags:** itk-releases
**Created:** [July 18, 2022, 6:47am UTC](https://discourse.itk.org/t/curvatureregistrationfilter-is-not-a-member-of-itk/5190 "2022-07-18T06:47:36Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tnayak](https://discourse.itk.org/user_avatar/discourse.itk.org/tnayak/32/2841_2.png) [@tnayak](https://discourse.itk.org/u/tnayak)
#### Post date: [July 18, 2022, 6:47am UTC](https://discourse.itk.org/t/curvatureregistrationfilter-is-not-a-member-of-itk/5190/1 "2022-07-18T06:47:36Z")

</div>

Hi all,  
I am currently try to implement the DeformableRegistration10 example, in that I am getting the following error C2039 ‘CurvatureRegistrationFilter’: is not a member of ‘itk’. Anyone have any idea how to fix this error?

> <https://github.com/InsightSoftwareConsortium/ITK/blob/master/Examples/RegistrationITKv4/DeformableRegistration10.cxx>

---

<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: [July 18, 2022, 1:54pm UTC](https://discourse.itk.org/t/curvatureregistrationfilter-is-not-a-member-of-itk/5190/2 "2022-07-18T13:54:59Z")

</div>

Are you [using CMake](https://itk.org/Wiki/ITK/HelloInsight) for your project? Did your ITK build correctly?

---

<div class="post-metadata">

### Author: ![zx-lhb](https://discourse.itk.org/user_avatar/discourse.itk.org/zx-lhb/32/3082_2.png) [@zx-lhb](https://discourse.itk.org/u/zx-lhb)
#### Post date: [May 23, 2023, 7:15am UTC](https://discourse.itk.org/t/curvatureregistrationfilter-is-not-a-member-of-itk/5190/3 "2023-05-23T07:15:49Z")

</div>

I met with the same problem, I can include the itkCurvatureRegistrationFilter.h, but can not use it. Have you fix it?

 ![image](https://discourse.itk.org/uploads/default/original/2X/c/c5c424c51001f41db7feb08040055e53c90c305b.png)

---

<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: [May 23, 2023, 1:58pm UTC](https://discourse.itk.org/t/curvatureregistrationfilter-is-not-a-member-of-itk/5190/4 "2023-05-23T13:58:36Z")

</div>

`itkCurvatureRegistrationFilter.h` has the following guard condition:

```cpp
#if !defined(ITK_USE_CUFFTW) && (defined(ITK_USE_FFTWF) || defined(ITK_USE_FFTWD))

```

ITK’s build system does not enable building `DeformableRegistration10` example unless FFTW is enabled. You need to build ITK with FFTW to be able to use this filter.

---

<div class="post-metadata">

### Author: ![zx-lhb](https://discourse.itk.org/user_avatar/discourse.itk.org/zx-lhb/32/3082_2.png) [@zx-lhb](https://discourse.itk.org/u/zx-lhb)
#### Post date: [May 24, 2023, 1:48am UTC](https://discourse.itk.org/t/curvatureregistrationfilter-is-not-a-member-of-itk/5190/5 "2023-05-24T01:48:18Z")

</div>

Got it, thank you very much!
