first: I'm a German so don't expect a perfect English
I started using Irrlicht a few weeks ago, and now i suddenly have problems i hadn't had before.
I know that 99% of the Softwareproblems sit in front of the monitor and that's why i can't believe that Irrlicht is to blame in any way.
now the description:
It's all about the ISceneManager....
that's my Code:
Code: Select all
#include <iostream>
#include <irrlicht.h>
using namespace irr;
int main()
{
// start up the engine
IrrlichtDevice *device = createDevice(video::EDT_OPENGL,
core::dimension2d<s32>(640,480));
video::IVideoDriver* driver = device->getVideoDriver();
scene::ISceneManager* smgr = device->getSceneManager();
smgr->addCubeSceneNode(60);
smgr->addCameraSceneNode();
while(device->run())
{
driver->beginScene(true, true, video::SColor(0.0,0.0,0.0,0.0));
smgr->drawAll();
driver->endScene();
}
device->drop();
return 0;
}
and it's not a Compiling error... it's a runtime error.
everything workes but all smgr - methods.
the standart Windows error (which want's me to send the details to microsoft)
i don't know why... it ever runed before, without any problems.
So I think i just forgot one thing...
i'm using Dev-C++
and i include the include-directory of Irrlicht
"E:\Programme\irrlicht-1.3.1\include"
i also added the Irrlicht-library to the Linker-Parameters
"../../../irrlicht-1.3.1/lib/Win32-gcc/libIrrlicht.a"
but there shouldn't be a problem at all.
so does anyone of you know what the problem could/should be?