[Insight-users] How to use ITK in MFC

Dan Mueller d.mueller at qut.edu.au
Sun Jan 14 14:40:14 EST 2007


Hi Eric,

You could also try looking at the ItkMFC example in the
InsightApplications (available from the ITK download page.)

HTH

Dan

Thomas Lambertz wrote:
> 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
>>     
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070115/aeb638a5/attachment.html


More information about the Insight-users mailing list