<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>The following simple piece of code can compile on my Windows VS C++ 2003. </DIV>
<DIV> </DIV>
<DIV>#include <itkImageFileReader.h><BR>#include <vtkPolyDataReader.h><BR>bool main(int argc, char* argv[]){</DIV>
<DIV> vtkPolyDataReader* pdReader = vtkPolyDataReader::New();<BR> pdReader->SetFileName("D:\\testdata.vtk");<BR> pdReader->Update();<BR> return true;<BR>}</DIV>
<DIV> </DIV>
<DIV>However, the generated program can only run for ITK2.8 and ITK3.0 released versions, but causes error for ITK3.2 or ITK3.4 release. The VTK version is 5.0. Does anyone know why including <itkImageFileReader.h> will introduce this trouble? Thanks in advance!</DIV>
<DIV> </DIV>
<DIV>/Leo</DIV>
<DIV> </DIV></div><br>
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>