Page 1 of 1

IrrXML truble!

Posted: Thu Aug 25, 2005 2:02 pm
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

Posted: Thu Aug 25, 2005 6:31 pm
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().

Posted: Fri Aug 26, 2005 12:06 pm
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.