디버그 어설 션이 실패했습니다!C++ Ogre 런타임 오류 '어설 션 실패'
프로그램 : ... 비주얼 스튜디오 2013 \ ments 프로젝트 \ \ OgreTest \ 디버그 \ OgreTest.exe
파일 : F : \ DD \ vctools \ CRT \ crtw32 \ 기타 \ dbgheap.c
라인 : 1424표현 : 주장에 _pFirstBlock == pHead 프로그램이 주장을
오류가 발생할 수 있습니다 방법에 대한 자세한 내용은는 는 비주얼 C++ 설명서를 참조하십시오.
내 오우거 응용 프로그램을 실행하려고 할 때 내가 가진 무엇
(을 눌러 응용 프로그램을 디버그하려면 재시도). 원본은 Ogre Tutorial Framework의 전체 사본입니다. 나는 Ogre.log에서 엄청나게 많은 예외를 발견했다. 모든 오류는 OgreGpuProgramParams.cpp
및 OgreResourceGroupManager.cpp
에서 발생한 것으로 보입니다. 다음에 오는 사람들 중 일부. 나는 그 모든 것을 붙여 넣을 수 없었습니다. 왜냐하면 약 1000 줄의 쓰레기가 있었기 때문입니다.
17:55:32: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource DualQuaternion.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
17:55:32: High-level program Ogre/DualQuaternionHardwareSkinningTwoWeightsCg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource DualQuaternion.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
17:55:32: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1709)
17:55:32: Compiler error: invalid parameters in DualQuaternion.program(14): setting of constant failed
17:55:32: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource DualQuaternion.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
17:55:32: High-level program Ogre/DualQuaternionHardwareSkinningTwoWeightsTwoPhaseCg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource DualQuaternion.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
17:55:32: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1709)
17:55:32: Compiler error: invalid parameters in DualQuaternion.program(28): setting of constant failed
17:55:32: Parsing script Examples.program
17:55:32: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Example_Basic.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
17:55:32: High-level program Ogre/BasicVertexPrograms/AmbientOneTextureCg encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Example_Basic.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
17:55:32: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1709)
17:55:32: Compiler error: invalid parameters in Examples.program(16): setting of constant failed
17:55:32: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1709)
17:55:32: Compiler error: invalid parameters in Examples.program(17): setting of constant failed
17:55:32: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Example_Basic.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
17:55:32: High-level program Ogre/HardwareSkinningFourWeights encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Example_Basic.cg in resource group Popular or any other group. in ResourceGroupManager::openResource at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 756)
17:55:32: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1709)
17:55:32: Compiler error: invalid parameters in Examples.program(314): setting of constant failed
17:55:32: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1709)
17:55:32: Compiler error: invalid parameters in Examples.program(315): setting of constant failed
17:55:32: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1709)
17:55:32: Compiler error: invalid parameters in Examples.program(316): setting of constant failed
17:55:32: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\..\..\OgreMain\src\OgreGpuProgramParams.cpp (line 1709)
OpenGL 또는 D3D9 렌더링 시스템을 사용하는 경우에만 오류가 발생합니다. D3D11 사용시 런타임 에러 다르다 :
오우거 EXCEPTION (3 RenderingAPIException) D3D11에는 고정 파이프가없는 두 버텍스와 단편 쉐이더 않고 D3D11 장치에 렌더링 Attemped - 사용 RTSS 또는 커스텀 셰이더를 작성하십시오. D3D11RenderSystem에 :: _ .......... 로 렌더링 \ RenderSystems \에서는 Direct3D \ SRC \ OgreD3D11RenderSystem.cpp (라인 2496)
내가 붙여 넣을 수 있습니다 더 많은 정보가 필요입니다입니다. 아무도 해결책을 안다면?
문제를 일으킨 코딩 줄을 모른 채 추측하기가 어렵습니다. 디버거가 충돌에 관해 당신에게 무엇을 말합니까?Ogre 버전에주의를 기울였습니까? –
@PhilipAllgaier 충돌은'mRoot-> startRendering()'에서 유래합니다. 내 오우거 버전은 1.9.0입니다. –
위와 동일한 문제가 있지만 VS 2015를 사용합니다. ( – Irrmich