Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我在 XCode 4.5 中运行 libxml2 并且遇到了 xmlGetProp() 函数的问题。XCode 说调用没有匹配的函数。
我已经添加${SDK_DIR}/usr/include/libxml2到我的 Header Search Path 并在 Link Binary With Libaries 中添加了 libxml2.dylib。
${SDK_DIR}/usr/include/libxml2
请问有什么帮助吗?
确保将第二个参数强制转换为 const xmlChar *
翼
uri = xmlGetProp(cur, (const xmlChar *)"PV");