Normally, when i compile, lots of lines using the
overloaded << for vectors(3&4) and matricies dont
work. The compiler says it cant find a suitable overload
to use. Setting the TEMPLATE_OSTREAM_HACK define
fixed some probs, but then the source spits out a whole
bunch of these errors:
sglTexGen.cpp
C:\programming\sgl\sgl\sglTexGen.cpp(265) : error
C2563: mismatch in formal parameter list
C:\programming\sgl\sgl\sglTexGen.cpp(265) : error
C2568: '<<' : unable to resolve function overload
could be 'class std::basic_ostream<unsigned
short,struct std::char_traits<unsigned short> >
&__cdecl std::endl(class std::basic_ostream<unsigned
short,struct std::char_traits<unsigned short> > &)'
C:\Program Files\Microsoft Visual Studio\VC98
\INCLUDE\ostream(377) : see declaration of 'endl'
or 'class std::basic_ostream<char,struct
std::char_traits<char> > &__cdecl std::endl(class
std::basic_ostream<char,struct std::char_traits<char>
> &)'
C:\Program Files\Microsoft Visual Studio\VC98
\INCLUDE\ostream(372) : see declaration of 'endl'
or 'class std::basic_ostream<_E,_Tr>
&__cdecl std::endl(class std::basic_ostream<_E,_Tr> &)'
C:\Program Files\Microsoft Visual Studio\VC98
\INCLUDE\ostream(367) : see declaration of 'endl'
Error executing cl.exe.
I got it to compile by commenting out lots of lines :/
Logged In: YES
user_id=2995
Could you tell me what version of Visual C++ you are using
and which Service Paks (if any) you have installed?