Witam. Mam taki kod:
#include <Irrlicht.h>
using namespace irr;
int main()
{
IrrlichtDevice* device = createDevice(video::EDT_OPENGL);
if (!device) return 1;
video::IVideoDriver* driver = device->getVideoDriver();
scene::ISceneManager* smgr = device->getSceneManager();
gui::IGUIEnvironment* guienv = device->getGUIEnvironment();
while (device->run()) {
driver->beginScene(true, true, video::SColor(255, 190,190,250));
smgr->drawAll();
guienv->drawAll();
driver->endScene();
}
device->drop();
return 0;
}
Od tej osoby:
I podczas uruchamiania programu wywala okienko programu i program się wysypuje po czym wywala w konsoli taki błąd:
Procces returned -1073741819 (0xC0000005) execution time : 3.253 s
Co zrobić aby wszystko działało, jemu działało.