cspok
20-10-2011 09:28:57
build OK: My GUI .OGRE 172
Then:
#include "MyGUI.h"
#include "MyGUI_OgrePlatform.h"
void setupContent()
{
.....
.....
....
MyGUI::OgrePlatform* mPlatform = new MyGUI::OgrePlatform();
mPlatform->initialise(mWindow, mSceneMgr); // mWindow is Ogre::RenderWindow*, mSceneManager is Ogre::SceneManager* ,-error Here. SampleBrowser_d.exe 中的 0x0acd623a (Sample_SkeletalAnimation_d.dll) 处未处理的异常: 0xC0000005: 读取位置 0xfdfdfdfd 时发生访问冲突
mGUI = new MyGUI::Gui();
mGUI->initialise();
}
Myguilog:
15:54:16 | Platform | Info | * Initialise: RenderManager | ..\..\..\..\MyGui\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp | 43
How Can i do?Thank you.
Then:
#include "MyGUI.h"
#include "MyGUI_OgrePlatform.h"
void setupContent()
{
.....
.....
....
MyGUI::OgrePlatform* mPlatform = new MyGUI::OgrePlatform();
mPlatform->initialise(mWindow, mSceneMgr); // mWindow is Ogre::RenderWindow*, mSceneManager is Ogre::SceneManager* ,-error Here. SampleBrowser_d.exe 中的 0x0acd623a (Sample_SkeletalAnimation_d.dll) 处未处理的异常: 0xC0000005: 读取位置 0xfdfdfdfd 时发生访问冲突
mGUI = new MyGUI::Gui();
mGUI->initialise();
}
Myguilog:
15:54:16 | Platform | Info | * Initialise: RenderManager | ..\..\..\..\MyGui\Platforms\Ogre\OgrePlatform\src\MyGUI_OgreRenderManager.cpp | 43
How Can i do?Thank you.