IrrXML truble!

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
Athos
Posts: 7
Joined: Fri Aug 19, 2005 4:20 pm

IrrXML truble!

Post by Athos »

i have this causing it

IrrXMLReader * xmlRead = createIrrXMLReader("test.xml");

and this error.

Shadows error LNK2019: unresolved external symbol "class irr::io::IIrrXMLReader<char,class irr::io::IXMLBase> * __cdecl irr::io::createIrrXMLReader(char const *)" (?createIrrXMLReader@io@irr@@YAPAV?$IIrrXMLReader@DVIXMLBase@io@irr@@@12@PBD@Z) referenced in function "public: bool __thiscall guiManager::loadGUI(void)" (?loadGUI@guiManager@@QAE_NXZ)


i cant understand whats wrong with it.
It works in the demo and i include the files i shoulb but still only error.

=/

-Athos
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Are you using Irrlicht or IrrXML? If you are using Irrlicht then the problem is that you shouldn't use createIrrXMLReader but yourIrrlichtDevice->getFileFileSystem()->createXMLReader().
Quall
Posts: 154
Joined: Mon Mar 07, 2005 10:16 pm

Post by Quall »

and if you are using irrxml, create a new folder and add the source to the project. Don't just add an include.
Post Reply