# vtkTypeMacro compile error

**URL:** https://discourse.itk.org/t/vtktypemacro-compile-error/2559
**Category:** Beginner Questions
**Created:** [December 20, 2019, 6:23pm UTC](https://discourse.itk.org/t/vtktypemacro-compile-error/2559 "2019-12-20T18:23:22Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sag](https://discourse.itk.org/user_avatar/discourse.itk.org/sag/32/2041_2.png) [@sag](https://discourse.itk.org/u/sag)
#### Post date: [December 20, 2019, 6:23pm UTC](https://discourse.itk.org/t/vtktypemacro-compile-error/2559/1 "2019-12-20T18:23:22Z")

</div>

Hi,

any body know what is the header for vtkTypeMacro, I definition of it in vtkSetGet.h, but even that could not remove the compile error?!  
any ideas how to fix this?

Regards,  
sag

---

<div class="post-metadata">

### Author: ![sag](https://discourse.itk.org/user_avatar/discourse.itk.org/sag/32/2041_2.png) [@sag](https://discourse.itk.org/u/sag)
#### Post date: [December 21, 2019, 7:47am UTC](https://discourse.itk.org/t/vtktypemacro-compile-error/2559/2 "2019-12-21T07:47:53Z")

</div>

Hi,  
I did find example vtkTest and I wrote similar code and it compiled thanks, for your attention to this question

Regards,  
sag
