13

I want to integrate Twitter in my application. I integrated related files and added libxml2 library. I included the path for it in "Header Search paths" field. When i try to build my application, I am getting errors showing that LibXml/xmlreader.h: No Such file or Directory.

Can anyone please help me in this. Thanks in Advance.

Jano
  • 62,815
  • 21
  • 164
  • 192
Lakshmi
  • 585
  • 2
  • 13
  • 22

1 Answers1

54

Go to the project > Targets > Build Settings

Search Header Search Paths

Add

$(SDKROOT)/usr/include/libxml2

Make sure

Build Settings -> Always Search User Paths -> YES

Sergio
  • 6,900
  • 5
  • 31
  • 55
saturngod
  • 24,649
  • 17
  • 62
  • 87
  • 8
    I was able to fix the error by adding `"$(SDKROOT)/usr/include/libxml2"` (including double quotes). – Hemang Jan 22 '13 at 07:03