I used xpath of libxml2 to parse xml document.
The header(#include #include ) were successed included. However , error occured when i complile.Pls see below.
error: ‘xmlXPathObjectPtr’ does not name a type
error: ‘xmlXPathFreeObject’ was not declared in this scope
error: xmlXPathContextPtr’ was not declared in this scope
error: ‘xmlXPathNewContext’ was not declared in this scope
and so on.
Does anyone could help me? thanks in advance.