<DIV>Hi</DIV>
<DIV> </DIV>
<DIV> Everyone. </DIV>
<DIV> </DIV>
<DIV> I want to use ITK in MFC, but have no idea what to do.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> typedef itk::Image< unsigned short, 3 > ImageType;</DIV>
<DIV> </DIV>
<DIV> Only the above sentence pasted in my project(vc++, 2002), </DIV>
<DIV> </DIV>
<DIV> there are two errors when compiling, </DIV>
<DIV> </DIV>
<DIV> error C2143: syntax error : missing“;”(before“<”)<BR> error C2653: “itk” : not class name or namespce. </DIV>
<DIV> </DIV>
<DIV> I have used the same project setting as in the ITK example, the include directory, the lib directory, etc</DIV>
<DIV> </DIV>
<DIV> But it did not work. </DIV>
<DIV> </DIV>
<DIV> Please help me! Thank you very much:)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> Eric</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV > </DIV><br><!-- footer --><br><hr>
<a style="font-size:12px;line-height:15px; color:#000; text-decoration:none" href="http://www.126.com/">想免费获得高速稳定的3G邮箱吗? <span style="font-family:Tahoma; text-decoration:underline; color:blue">www.126.com</span> </a>