<DIV>Hi</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; Everyone. </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; I want to use ITK in MFC, but have no idea what to do.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; typedef itk::Image&lt; unsigned short, 3 &gt; ImageType;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;Only the above sentence pasted in my project(vc++, 2002), </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;there are two errors when compiling, </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;error C2143:&nbsp;syntax error&nbsp;: missing“;”(before“&lt;”)<BR>&nbsp;error C2653: “itk” : not class name&nbsp;or namespce. </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; I have used the same project setting as in the ITK example, the include directory, the lib directory, etc</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; But it did not work. </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; Please help me!&nbsp;&nbsp; Thank you very much:)</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Eric</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV >&nbsp;</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>