Dave
Dave

Reputation: 2994

Can't include TinyXML in C++/CLI project

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

Upvotes: 1

Views: 980

Answers (1)

Dave
Dave

Reputation: 2994

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.

Upvotes: 2

Related Questions