Use XML file in Cocos2d-x?


#1

I want to make the XML Doc by XML DOM. In source code of CCUserDefault, it used XML DOM, too. I tried to use the xml function as CCUserDefault like (xmlNewNode, xmlNewDoc…) , but i’ve got errors:

identifier "xmlXXX_function" is undefined

So, how can i use these functions? Thank so much.


#2

A compile error or link error? It seems that you link libxml2 failed.


#3

Compiler Error (VS2010)

Error C3861: 'xmlNewDoc': identifier not found