I've just recently upgraded to the latest release of Irricht (not SVN, just 1.4.1 from the site), and I can't seem to get my code compiling anymore. The method below worked and compiled using 1.4, but doesn't compile using 1.4.1.
Some background information:
* I'm using MSVC++ Express 2005 to compile the project
* I'm linking to the lib\win32-visualstudio\Irrlicht.lib
Code: Select all
IrrXMLReader* xml = createIrrXMLReader("config.xml");
Code: Select all
Linking...
Irrlicht.lib(Irrlicht.dll) : error LNK2005: "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) already defined in irrXML.obj
C:\Documents and Settings\Jason\My Documents\Visual Studio 2005\Projects\Irrlich Test\Debug\4X.exe : fatal error LNK1169: one or more multiply defined symbols found