Why am I getting this “libxml/tree.h file not found” error?

后端 未结 14 2185
半阙折子戏
半阙折子戏 2020-12-12 22:15

I just installed Xcode version 4.3.1 and I get this error:

libxml / tree.h file not found

I have also installed Xcode 4.2, and

14条回答
  •  天涯浪人
    2020-12-12 22:51

    LibXML2 library solved

    SOLUTION!

    if you have xcode 4.3.x in /Application

    need ONLY add: "/usr/include/libxml2" without quote in Application TARGET -> Header search path.

    for this -> double click on the line -> on little window click plus sign an write /usr/include/libxml2

    nb - need also add libxml2.dylib to the framework. I use 2.2.7.3

    hope help you

提交回复
热议问题