|
|

楼主 |
发表于 2007-5-3 04:58:00
|
显示全部楼层
Re: ->[SOS]~我的第一个练习失败了,好伤心..请大家帮帮我
谢谢,打工仔和yahle 两位老师指点, 让我又有了 继续前进的力量, 为了真正的理解错误发生的原因,我有重新开始编译Ogre发现有很多下面的这样的警告.
OgreTimer.cpp
OgreTextureUnitState.cpp
OgreTextureManager.cpp
OgreTexture.cpp
\ogre-win32-v1-4-0\ogrenew\OgreMain\src\OgreTexture.cpp(260) : warning C4267: “参数” : 从“size_t”转换到“unsigned int”,可能丢失数据
\ogre-win32-v1-4-0\ogrenew\OgreMain\src\OgreTexture.cpp(262) : warning C4267: “参数” : 从“size_t”转换到“unsigned int”,可能丢失数据
\ogre-win32-v1-4-0\ogrenew\OgreMain\src\OgreTexture.cpp(262) : warning C4267: “参数” : 从“size_t”转换到“unsigned int”,可能丢失数据
\ogre-win32-v1-4-0\ogrenew\OgreMain\src\OgreTexture.cpp(262) : warning C4267: “参数” : 从“size_t”转换到“unsigned int”,可能丢失数据
\ogre-win32-v1-4-0\ogrenew\OgreMain\src\OgreTexture.cpp(265) : warning C4267: “参数” : 从“size_t”转换到“unsigned int”,可能丢失数据
\ogre-win32-v1-4-0\ogrenew\OgreMain\src\OgreTexture.cpp(286) : warning C4267: “参数” : 从“size_t”转换到“unsigned int”,可能丢失数据
\ogre-win32-v1-4-0\ogrenew\OgreMain\src\OgreTexture.cpp(286) : warning C4267: “参数” : 从“size_t”转换到“unsigned int”,可能丢失数据
\ogre-win32-v1-4-0\ogrenew\OgreMain\src\OgreTexture.cpp(286) : warning C4267: “参数” : 从“size_t”转换到“unsigned int”,可能丢失数据
OgreTextAreaOverlayElement.cpp
仔细分析后总结出以下结果,请老师门指点迷津.
1,错误警告都是发生在OgreMain目录下的 ,而且都是"警告C4267"
2.不是每个OgreMain下的cpp文件都出现警告 都是在参数转换过程发生的
3.在包含文件和库文件中我已经添加了Dependencies ,SDK的也加进去了(不知道是否可以排除是这个造成的)
4.Dependencies整个目录也复制进ogrenew了
希望各位老师,师傅,高手门帮忙看下是什么原因造成的,怎么排除这个问题,谢谢!
|
|