# ERROR for VTK 9.0.1 vtkContextDevice2D

**URL:** https://discourse.vtk.org/t/error-for-vtk-9-0-1-vtkcontextdevice2d/5259
**Category:** Support
**Created:** [February 26, 2021, 4:52am UTC](https://discourse.vtk.org/t/error-for-vtk-9-0-1-vtkcontextdevice2d/5259 "2021-02-26T04:52:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![xiaocaiji](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/x/b9bd4f/32.png) [@xiaocaiji](https://discourse.vtk.org/u/xiaocaiji)
#### Post date: [February 26, 2021, 4:52am UTC](https://discourse.vtk.org/t/error-for-vtk-9-0-1-vtkcontextdevice2d/5259/1 "2021-02-26T04:52:49Z")

</div>

I build VTK-9.0.1 using CMake 3.19.4.  
There is the name lists in cmake:

 ![image](https://discourse.vtk.org/uploads/default/original/2X/8/8ac442cd933e03a56ab35559e9b96d0e2781f33b.png)  
Then I successed generating the example [CylinderExample](https://kitware.github.io/vtk-examples/site/Cxx/GeometricObjects/CylinderExample/) but I can’t find vtkContextDevice2D.lib in the folder E:\codes\VTK-9.0.1-bin\lib\Debug.  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/a/a09125294a461719a11607c86bfecbd535e90ce3.png)  
I tried to build in vs and the following error occured:  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/6/6c9bb1fa4708fbcfca75162a5744dc94392d87aa.png)

---

<div class="post-metadata">

### Author: ![xiaocaiji](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/x/b9bd4f/32.png) [@xiaocaiji](https://discourse.vtk.org/u/xiaocaiji)
#### Post date: [February 26, 2021, 10:33am UTC](https://discourse.vtk.org/t/error-for-vtk-9-0-1-vtkcontextdevice2d/5259/2 "2021-02-26T10:33:23Z")

</div>

Sorry， I forgot to build the VTK, I will reserve the post to remind me not to make such a mistake again
