LibXML2 xmlGetProp() - 无匹配函数
LibXML2 xmlGetProp() - No matching function
嗨,我在XCode 4.5中运行libxml2,并且xmlGetProp()函数出现问题。XCode表示调用没有匹配功能。
我已经将${SDK_DIR}/usr/include/libxml2
添加到我的标头搜索路径中,并在带有库的链接二进制中添加了libxml2.dylib。
请帮忙吗?
确保第二个参数转换为 const xmlChar *
翼
uri = xmlGetProp(cur, (const xmlChar *)"PV");
uri
应该是xmlChar *
。
uri = xmlGetProp(cur, (const xmlChar *)"PV");
为了允许像这样使用它:
xmlFree(uri);
相关文章:
- Rcpp并行无匹配函数,用于调用"转换"
- 为什么通过带有文字编号的引用调用会出现"无匹配函数"错误?
- 无匹配函数呼叫getline()
- C 线程 - 无匹配函数供呼叫
- 错误代码:无匹配函数供呼叫
- 子类/超类的"无匹配函数调用"
- 无匹配函数呼叫
- 与(C )无匹配函数
- 无匹配函数呼叫
- 无匹配函数呼叫(类,C )
- C 11无匹配函数,可以呼叫'std :: vector
- 对矢量对:无匹配函数
- C 在较旧的JSON :: NLOHMANN库中使用push_back时无匹配函数
- std::查找"错误无匹配函数"
- C 错误无匹配函数
- 将STD向量作为参考:无匹配函数要呼叫
- C :Tusing Boost Unordered_map错误:无匹配函数调用
- C 无匹配函数供呼叫:传递迭代器
- C 无匹配函数用于呼叫错误(默认为参考通过)
- LibXML2 xmlGetProp() - 无匹配函数