问题
I have a C++/CLI project, and I want to include TinyXML. I downloaded the library, added it as a a new project to my solution and added a reference from my project to the library.
In my code I have
#include "StdAfx.h"
#include "tinyxml.h"
When i compile i get 70 linking errors. I tried to comment #define TIXML_SAFE in tinyxml.h ( saw that on google ) , but doesnt work.
Thanks, Dave
回答1:
Got it, i included tinyxml in a subfolder of my current project, instead of adding it in its own project. I also used tinyXMLSTL. Thanks.
来源:https://stackoverflow.com/questions/7999678/cant-include-tinyxml-in-c-cli-project