irrXML parser linker problems

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
3ddev
Posts: 169
Joined: Tue Sep 19, 2006 6:51 am
Contact:

irrXML parser linker problems

Post by 3ddev »

When compiling my new game in Dev-C++, the irrXML code didn't work. The linker error was:
C:\cplus\Irrlicht\drawn_battle1\main.cpp In function `void read_config()':
248 C:\cplus\Irrlicht\drawn_battle1\main.cpp `IrrXMLReader' undeclared (first use this function)
248 C:\cplus\Irrlicht\drawn_battle1\main.cpp `xml' undeclared (first use this function)
248 C:\cplus\Irrlicht\drawn_battle1\main.cpp `createIrrXMLReader' undeclared (first use this function)
256 C:\cplus\Irrlicht\drawn_battle1\main.cpp `EXN_ELEMENT' undeclared (first use this function)
C:\cplus\Irrlicht\drawn_battle1\Makefile.win [Build Error] [main.o] Error 1
The irrXML.h header file was included, and I even tried linking the irrXML.o object file in the project. The problem remained. Do I have to link or reference any other files in order to compile?
Post Reply