damn it, i've got a more serious problem i think. here's a piece of code, that does absolutely nothing, besides creating device, scene, and not drawing anything, just waiting to be closed:
#include <irrlicht.h>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video ...