<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Hello!</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">I am trying to build the example: <a href="http://www.insight-journal.org/browse/publication/146">http://www.insight-journal.org/browse/publication/146</a> . I used cmake and visual studio to build the example, but when I'm trying to build it the following error appeared: 1>ImageExt.obj : error LNK2019: unresolved external symbol "public: class vtkImageData * __thiscall vtkKWImage::GetVTKImage(void)" (?GetVTKImage@vtkKWImage@@QAEPAVvtkImageData@@XZ) referenced in function __catch$_main$0</div><div style="font-family: 'times new
roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">This is the CMakeLists.txt: </div><div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">cmake_minimum_required(VERSION 2.6)</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">PROJECT (ImageExt)</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">FIND_PACKAGE( ITK )</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">IF ( ITK_FOUND )</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span" style="white-space:pre">        </span>INCLUDE(
${ITK_USE_FILE})</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">ENDIF( ITK_FOUND )</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">FIND_PACKAGE (VTK)</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">IF (VTK_FOUND)</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span" style="white-space:pre">        </span>INCLUDE ( ${USE_VTK_FILE})</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">ENDIF (VTK_FOUND)</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york',
times, serif">INCLUDE_DIRECTORIES (${ImageExt_SOURCE_DIR})</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">ADD_EXECUTABLE( ImageExt ImageExt.cxx )</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">TARGET_LINK_LIBRARIES (ImageExt ITKBasicFilters ITKCommon ITKIO </font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">vtkRendering vtkGraphics vtkHybrid vtkImaging vtkIO vtkFiltering vtkCommon)</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times,
serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">I don't know how to solve this problem. Thanks!</font></div></div></div></body></html>