I am using Irrlicht sdk 1.1 and am following tutorial 4 from the website.
In the tutorial, pointers to the node and scene manager are created.
The relavent code statements are given below:
Code: Select all
scene::ISceneNode* node = 0;
IrrlichtDevice* device = 0;
device = createDevice(video::EDT_OPENGL, core::dimension2d<s32>(640, 480), 16, false, false, false, &receiver);
scene::ISceneManager* smgr = device->getSceneManager();
node = smgr->addTestSceneNode();
addTestSceneNode : is not a member of irr::scene::ISceneManager
I've added the relavant header files and namespaces.
#include <irrlicht.h>
#include <stdio.h>
#include <wchar.h>
using namespace irr;
#pragma comment(lib, "Irrlicht.lib")
How can the error be solved?