the entire code:
Code: Select all
#include <Irrlicht.h>
using namespace irr;
using namespace core;
using namespace video;
using namespace io;
using namespace gui;
#pragma comment(lib, "Irrlicht.lib")
int main()
{
IrrlichtDevice *device = createDevice(EDT_OPENGL, dimension2d<s32>(640, 480), 16, false, false, false, 0);
device->setWindowCaption(L"Hello World!");
IVideoDriver* driver = device->getVideoDriver();
ISceneManager* smgr = device->getSceneManager();
IGUIEnvironment* guienv = device->getGUIEnvironment();
guienv->addStaticText(L"Hello There!", rect<int>(10,10,200,22), true);
while(device->run())
{
driver->beginScene(true, true, SColor(55,100,101,140));
smgr->drawAll();
guienv->drawAll();
}
device->drop();
return 0;
}
the error message, as you wanted (well it's german)
Fehler 1 error C2065: 'ISceneManager': nichtdeklarierter Bezeichner c:\Dokumente und Einstellungen\and\Eigene Dateien\Visual Studio 2005\Projects\irrlicht\irrlicht\main.cpp 18
"not declared name", would be a correct translation i guess!