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

后端 未结 14 2190
半阙折子戏
半阙折子戏 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:29

    I have the same problem.

    I try set path( 'Header Search Path') to /usr/include/libxml2 ,build error!

    I try set path( 'Header Search Path') to $(SDKROOT)/usr/include/libxml2 ,build error!

    but I set path to

    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.1.sdk/usr/include/libxml2
    

    build succeeded!

提交回复
热议问题