[Insight-users] ITK vs VC++ Conflict in stream files?
martin.garcia@epfl.ch
martin . garcia at epfl . ch
Tue, 20 Aug 2002 16:52:33 +0200
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/