[Insight-users] How to use ITK in MFC

石祥林 xlshi_ at 163.com
Sun Jan 14 06:07:47 EST 2007


Hi
 
  Everyone. 
 
  I want to use ITK in MFC, but have no idea what to do.
 
 
 
 
  typedef itk::Image< unsigned short, 3 > ImageType;
 
  Only the above sentence pasted in my project(vc++, 2002), 
 
  there are two errors when compiling, 
 
 error C2143: syntax error : missing“;”(before“<”)
 error C2653: “itk” : not class name or namespce. 
 
   I have used the same project setting as in the ITK example, the include directory, the lib directory, etc
 
   But it did not work. 
 
   Please help me!   Thank you very much:)
 
 
 
 
 
 
                                                              Eric
 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070114/2ab64e68/attachment.html


More information about the Insight-users mailing list