Instead of: #include <tinyxml2.h> , it is better to go with #include "tinyxml2.h" so it doesn't search for tinyxml2 library in system libraries but the current directory.
@@ -40,7 +40,7 @@ distribution.
*/
-#include <tinyxml2.h>
+#include "tinyxml2.h"
#include <iostream>
#if defined (_MSC_VER)