# \[SOLVED\] Undefined reference to QuickView even with ITKVtkGlue added in target\_link\_libraries

**URL:** <https://discourse.itk.org/t/solved-undefined-reference-to-quickview-even-with-itkvtkglue-added-in-target-link-libraries/1100>\
**Category:** Beginner Questions\
**Tags:** vtk, itkv5, cmake\
**Created:** [July 9, 2018, 2:31am UTC](https://discourse.itk.org/t/solved-undefined-reference-to-quickview-even-with-itkvtkglue-added-in-target-link-libraries/1100 "2018-07-09T02:31:36Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![phcerdan](https://discourse.itk.org/user_avatar/discourse.itk.org/phcerdan/32/286_2.png) [@phcerdan](https://discourse.itk.org/u/phcerdan)\
**Post date:** [July 9, 2018, 1:11pm UTC](https://discourse.itk.org/t/solved-undefined-reference-to-quickview-even-with-itkvtkglue-added-in-target-link-libraries/1100/4 "2018-07-09T13:11:50Z")

</div>

Good spotting! You may use `ViewImage` for 3D images, an [example here](https://discourse.itk.org/t/display-3d-image-using-itk-and-vtk/897/3). [ViewImage.h](https://github.com/InsightSoftwareConsortium/ITK/blob/master/Modules/Bridge/VtkGlue/include/itkViewImage.h) can be found in the ITKVtkGlue module as well.

```cpp
// Change QuickView.h for itkViewImage.h
#include "itkViewImage.h"
...
reader->Update();
itk::ViewImage<ImageType>::View(reader->GetOutput());

```

---

_[View the full topic](https://discourse.itk.org/t/solved-undefined-reference-to-quickview-even-with-itkvtkglue-added-in-target-link-libraries/1100)._
