Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个 C++/CLI 项目,我想包含 TinyXML。我下载了库,将它作为一个新项目添加到我的解决方案中,并将我的项目中的引用添加到库中。
在我的代码中,我有
#include "StdAfx.h" #include "tinyxml.h"
当我编译时,我得到 70 个链接错误。我试图在 tinyxml.h 中评论 #define TIXML_SAFE(在 google 上看到),但不起作用。
谢谢,戴夫
明白了,我将 tinyxml 包含在当前项目的子文件夹中,而不是将其添加到自己的项目中。我还使用了 tinyXMLSTL。谢谢。