setText & ITextSceneNode

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
cartoonit
Posts: 286
Joined: Mon Nov 15, 2004 6:36 pm

setText & ITextSceneNode

Post by cartoonit »

Use of undefined type, whenever I try to dereference the pointer, why is this, its in the ISceneManager.h??? I've tried including the ITextSceneNode.h in the main Irrlicht.cpp but to no avail... :roll:
keless
Posts: 805
Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA

Post by keless »

need to see some code to know what you're talking about
a screen cap is worth 0x100000 DWORDS
cartoonit
Posts: 286
Joined: Mon Nov 15, 2004 6:36 pm

Post by cartoonit »

Code: Select all

ITextSceneNode* mp_TextNode = mp_Smgr->addTextSceneNode(/*params*/);
mp_TextNode->setText(output.c_str());  //won't dereference the pointer, and call the method, say the output that I have put in the first post.
[/list]
schick
Posts: 230
Joined: Tue Oct 07, 2003 3:55 pm
Location: Germany
Contact:

Post by schick »

I a pevious release of the irrlicht engine, niko forgot to include the ITextSceneNode.h file in the include directory. You will find it in the source.zip. Just put it in the include directory.
Please send me an e-mail instead of a private message.
Post Reply