[Insight-users] Examples error in VC++
Helder Carvalho
hel_carvalho@hotmail.com
Mon, 07 Apr 2003 13:42:15 +0100
Hi U all,
I’ve been trying to build the examples of ITK but all I get is more than 100
errors like this:
Compiling...
Image1.cxx
C:\PROGRAM
FILES\INSIGHTTOOLKIT-1.2.0\CODE\NUMERICS\VXL\vnl/vnl_vector.h(320) : error
C2653: 'vcl_generic_iosfwd_STD' : is not a class or namespace name
C:\PROGRAM
FILES\INSIGHTTOOLKIT-1.2.0\CODE\NUMERICS\VXL\vnl/vnl_vector.h(355) : see
reference to class template instantiation 'vnl_vector<T>' being compiled
C:\PROGRAM
FILES\INSIGHTTOOLKIT-1.2.0\CODE\NUMERICS\VXL\vnl/vnl_vector.h(320) : error
C2061: syntax error : identifier 'istream'
C:\PROGRAM
FILES\INSIGHTTOOLKIT-1.2.0\CODE\NUMERICS\VXL\vnl/vnl_vector.h(355) : see
reference to class template instantiation 'vnl_vector<T>' being compiled
C:\PROGRAM
FILES\INSIGHTTOOLKIT-1.2.0\CODE\NUMERICS\VXL\vnl/vnl_vector.h(323) : error
C2653: 'vcl_generic_iosfwd_STD' : is not a class or namespace name
I’ve built the itk.dsw and I had no problems. I’ve also built the
applications folder that I’ve downloaded via CVS and I got no problems
either. To built the examples I created a project via CMake based on the
cmakelist of the examples folder.
I’m working with visual C++ 6.0, with service pack 5 installed, CMake 1.6.6
and the latest VTK and FLTK I got via CVS.
Thanks in advance,
Helder Carvalho
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail