This is the code:
Code: Select all
#include <irrlicht.h>
#include <irrbullet.h>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
int main(void)
{
IrrlichtDevice* device = createDevice(EDT_OPENGL,dimension2d<u32>(800,600),false,false,false,0);
ISceneManager* smgr = device->getSceneManager();
IVideoDriver* driver = device->getVideoDriver();
->>>>>>>>>>>>>>irrBulletWorld* world = createIrrBulletWorld(device,false,false);<-------------
while(device->run())
{
driver->beginScene(true,true,SColor(100,100,100,100));
driver->endScene();
}
}
Code: Select all
Unhandled exception at 0x101671c0 in IrrGame2.exe: 0xC0000005: Access violation reading location 0xffffffff.
Irrlicht 1.8
Irrbullet 0.1.8