首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网络游戏 >

ogre向导建立的工程有错误

2012-03-09 
ogre向导建立的工程有异常C/C++ codett.exe 中的 0x7533b727 处最可能的异常: Microsoft C++ 异常: 内存位

ogre向导建立的工程有异常

C/C++ code
tt.exe 中的 0x7533b727 处最可能的异常: Microsoft C++ 异常: 内存位置 0x0032e59c 处的 Ogre::InvalidParametersException。tt.exe 中的 0x7533b727 处最可能的异常: Microsoft C++ 异常: 内存位置 0x0032b530 处的 Ogre::InternalErrorException。tt.exe 中的 0x7533b727 处最可能的异常: Microsoft C++ 异常: 内存位置 0x0032b530 处的 Ogre::InternalErrorException。tt.exe 中的 0x7533b727 处最可能的异常: Microsoft C++ 异常: 内存位置 0x0032b530 处的 Ogre::InternalErrorException。

编译的时候有这些异常抛出,但是能够运行,但是运行占cpu一直在20%以上.查看log文件

有这些提示
C/C++ code
(0) : error C6015: Output 'POSITION' not completely written in CgProgram::loadFromSource at .\src\OgreCgProgramManagerDll.cpp (line 67)19:45:07: High-level program Ogre/ParticleGS/GenerateVS encountered an error during loading and is thus not supported.OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/GenerateVS: CG ERROR : "The compile returned an error."(0) : error C6015: Output 'POSITION' not completely written in CgProgram::loadFromSource at .\src\OgreCgProgramManagerDll.cpp (line 67)19:45:07: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : "The compile returned an error."(249) : warning C7050: "output.color" might be used before being initialized(0) : error C6015: Output 'POSITION' not completely written in CgProgram::loadFromSource at .\src\OgreCgProgramManagerDll.cpp (line 67)19:45:07: High-level program Ogre/ParticleGS/DisplayVS encountered an error during loading and is thus not supported.OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayVS: CG ERROR : "The compile returned an error."(249) : warning C7050: "output.color" might be used before being initialized(0) : error C6015: Output 'POSITION' not completely written in CgProgram::loadFromSource at .\src\OgreCgProgramManagerDll.cpp (line 67)19:45:07: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : "The compile returned an error."(323) : fatal error C9999: unexpected cast operation in CgProgram::loadFromSource at .\src\OgreCgProgramManagerDll.cpp (line 67)19:45:07: High-level program Ogre/ParticleGS/DisplayPS encountered an error during loading and is thus not supported.OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program Ogre/ParticleGS/DisplayPS: CG ERROR : "The compile returned an error."(323) : fatal error C9999: unexpected cast operation in CgProgram::loadFromSource at .\src\OgreCgProgramManagerDll.cpp (line 67)


[解决办法]
帅锅,我也是卡在这里了。今天搞定,然后回来给你解答。

热点排行