[Insight-users] How to use ITK in MFC
Thomas Lambertz
thomas at hexerei-software.de
Sun Jan 14 06:22:56 EST 2007
Hi,
looks you set up only the include directories but did not include some
headers.
#include "itkImage.h"
Hth,
Tom
石祥林 wrote:
> 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
More information about the Insight-users
mailing list