Tools required:
* Visual Studio 2013

1. get sources from here http://sourceforge.net/projects/tinyxml/

2a. Upgrade solution to VS2013
2b. modify the tinyxmlSTL project (debug target) and add these to the preprocessor definitions _SECURE_SCL=0;_HAS_ITERATOR_DEBUGGING=0;
2c. set Optimization and Code Generation options in tinyxmlSTL project similary to XBMC project, set LinkTimeCodeGeneration for release target to true
2d. set Program Database File Name for tinyxmlSTL project as $(OutDir)$(TargetName).pdb
-OR-
2. use supplied .sln and .vcxproj files

3. compile tinyxmlSTL as Debug and Release lib

4. collect tinyxmlSTL.lib/.pdb and tinystr.h, tinyxml.h