esset
16-08-2010 20:10:59
Simply, the program crashes from Access Violation at
Where NxOgre is being initiated like this:
It goes World::CreateScene->GC::safe_new2->PrincipalScene::PrincipalScene->Scene::Scene->World::getNullCallback
Using latest NxOgre version. Can't really provide more information since the debug seems to be bork because console nor .txtlog is showing any output. I simply have no idea whatsoever what the problem might be. Using freshly downloaded sources from the git and compiling without making any changes in the source (Apart from some minor config stuff).
Callback* World::getNullCallback() const
{
return mNullCallback; // here
};
in NxOgreWorld.hWhere NxOgre is being initiated like this:
NxOgre::World* mWorld = NxOgre::World::createWorld();
NxOgre::Scene* mScene;
Critter::RenderSystem* mRenderSystem;
//Scene params. Gravity is same as earth
NxOgre::SceneDescription sceneDesc;
sceneDesc.mGravity = NxOgre::Vec3(0, -9.8f, 0);
sceneDesc.mName = "SDJworld";
//Our only scene
mScene = mWorld->createScene(sceneDesc);
//This need to be tweaked
mScene->getMaterial(0)->setStaticFriction(0.5);
mScene->getMaterial(0)->setDynamicFriction(0.5);
mScene->getMaterial(0)->setRestitution(0.1);
mRenderSystem = new Critter::RenderSystem(mScene, sceneMgr);
//Struct to pass on for other classes to use
NxOg.renderSystem = mRenderSystem;
NxOg.world = mWorld;
NxOg.sceneDesc = sceneDesc;
NxOg.scene = mScene;
It goes World::CreateScene->GC::safe_new2->PrincipalScene::PrincipalScene->Scene::Scene->World::getNullCallback
Using latest NxOgre version. Can't really provide more information since the debug seems to be bork because console nor .txtlog is showing any output. I simply have no idea whatsoever what the problem might be. Using freshly downloaded sources from the git and compiling without making any changes in the source (Apart from some minor config stuff).