Search code examples
objective-cthree20touchxml

libxml/tree.h no such file or directory after integrating three20 library


i am getting Libxml/tree.h:No such file or directory error and other xml related error after adding three20 library to my project.

i have added -lxml2 to other linker flags i have added /usr/include/libxml2 to header search path.

but still getting error

previously when i used old version of three20 there was no error but after adding new three20 the errors pops up

help is appreciated thank you


Solution

  • finally i found the answer and fixed my problem

    previously i ve added three20 using pythone script to my project as suggested by three20 in terminal window. so now i manually added three20 myself as described below in this link https://github.com/facebook/three20/blob/master/README.mdown

    and voila got rid of errors