[Insight-users] ITK vs VC++ Conflict in stream files?

Bill Hoffman bill . hoffman at kitware . com
Tue, 20 Aug 2002 10:59:43 -0400


Should be #include <itkImage.h>

-Bill


At 04:52 PM 8/20/2002 +0200, martin.garcia@epfl.ch wrote:

>Thanks Luis,
>
>Now Everything compiles well,  but my program still doesn't compile when Itry 
>to define something like:
>
>        typedef itk::Image<float,2> ImageType;
>
>...as it's done in all the examples.
>
>I've included itkImage (#include <itkImage>) on the top of the file, before all 
>other inclusions...
>
>...and the compilation finishes with those errors:
>
>D:\OsirisTools\OsirisLight\OsirisLightNew\VtkItkConnector.cpp(33) : error 
>C2653: 'itk' : is not a class or namespace name
>D:\OsirisTools\OsirisLight\OsirisLightNew\VtkItkConnector.cpp(33) : error 
>C2143: syntax error : missing ';' before '<'
>D:\OsirisTools\OsirisLight\OsirisLightNew\VtkItkConnector.cpp(33) : error 
>C2143: syntax error : missing ';' before '<'
>Error executing cl.exe.
>
>OsirisLight.exe - 3 error(s), 0 warning(s)
>
>Any Idea ?
>
>
>
>-------------------------------------------------
>This mail sent through IMP: http://horde.org/imp/
>_______________________________________________
>Insight-users mailing list
>Insight-users@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-users