[Insight-developers] How to use ITK in MFC(by xlshi_@163.com)
石祥林
xlshi_ at 163.com
Sun Jan 14 06:09:13 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://www.itk.org/mailman/private/insight-developers/attachments/20070114/2d89e7b2/attachment.htm
More information about the Insight-developers
mailing list