使用前需按下面的提示链接相应的库: Include and Link libxml2 Expand Targets Double Click on your project name Select All Configuration Search for Header Search Path Add this line below with recursive option ${SDKROOT}/usr/include/libxml2 Search for Other Linker Flag Add this line be