libxml/tree.h no such file or directory

后端 未结 22 2887
刺人心
刺人心 2020-11-27 10:47

I am getting following errors.

libxml/tree.h no such file or directory

I have already added libxml2.dylib to my pro

22条回答
  •  Happy的楠姐
    2020-11-27 11:11

    Ray Wenderlich has a blog post about using gdata that solves this problem. Basically these simple steps:

    In XCode, click Project\Edit Project Settings and make sure “All Configurations” are checked.

    Find the Search Paths\Header Search Paths setting and add /usr/include/libxml2 to the list.

    Finally, find the Linking\Other Linker Flags section and add -lxml2 to the list.

    original post: read and write xml documents with gdataxml

提交回复
热议问题