I am parsing an xml file using libxml2. It is giving an error “undefined reference to `xmlParseFile’”, even though if i include particular header file ….
There may be two reasons:
- You should add the header file path in your Android.mk, please refer cocos2dx/Android.mk, should also add the lib path.
- The xml lib is built from Android source codes, the version may not implement the function.