大家好,刚接触OGRE,下载回来后使用VS2003SP1进行编译,头文件和库文件路径都设置好了,编译过程中出现如下错误:
D:\OGRE\ogrenew\OgreMain\src\OgreViewport.cpp(66) : error C2678: 二进制“<<” : 没有找到接受“Ogre:og::Stream”类型的左操作数的运算符(或没有可接受的转换)
D:\OGRE\ogrenew\OgreMain\src\OgreViewport.cpp(115) : error C2678: 二进制“<<” : 没有找到接受“Ogre::Log::Stream”类型的左操作数的运算符(或没有可接受的转换)
英文版VS2003相同信息如下:
D:\OGRE\ogrenew\OgreMain\src\OgreViewport.cpp(66) : error C2678: binary '<<' : no operator defined which takes a left-hand operand of type 'Ogre::Log::Stream' (or there is no acceptable conversion)
D:\OGRE\ogrenew\OgreMain\src\OgreViewport.cpp(115) : error C2678: binary '<<' : no operator defined which takes a left-hand operand of type 'Ogre::Log::Stream' (or there is no acceptable conversion)