title: fatal error: fitz.h: No such file or directory in muPDF library
body: <p>I m trying to compile the <a href="http://www.mupdf.com/" rel="nofollow noreferrer">muPDF lib</a> in eclipse for android app since 3 days without any success</p>
  
  <p>I downloaded and configured the android-ndk, cygwin</p>
  
  <p>Im getting this still </p>
  
  <pre><code>15:25:36 **** Build of configuration Debug for project ChoosePDFActivity ****
  "E:\\android-ndk\\android-ndk-r9d\\ndk-build.cmd" all 
  Android NDK: WARNING:E:/Workspace_SIL/ChoosePDFActivity//jni/Android.mk:mupdfcore: LOCAL_LDLIBS is always ignored for static libraries    
  Android NDK: WARNING:E:/Workspace_SIL/ChoosePDFActivity//jni/Android.mk:mupdfcore: LOCAL_LDLIBS is always ignored for static libraries    
  [armeabi] Compile thumb  : mupdf &lt;= mupdf.c
  E:/Workspace_SIL/ChoosePDFActivity//jni/mupdf.c:10:18: fatal error: fitz.h: No such file or directory
  compilation terminated.
  make.exe: *** [E:/Workspace_SIL/ChoosePDFActivity//obj/local/armeabi/objs-debug/mupdf/mupdf.o] Error 1
  
  15:25:36 Build Finished (took 489ms)
  </code></pre>
  
  <p><strong>jni/mupdf.c:10:18: fatal error: fitz.h: No such file or directory</strong></p>
  
  <p>where I can get this God Damn fitz.h and other header files</p>
  
  <p>see this happens in my eclipse</p>
  
  <p><img src="https://i.stack.imgur.com/AAlpp.png" alt="enter image description here"></p>
  
  <p>included the following paths for my header files</p>
  
  <p><img src="https://i.stack.imgur.com/ekBIi.png" alt="enter image description here"></p>
  
  <p>setup android Ndk path like this</p>
  
  <p><img src="https://i.stack.imgur.com/58HoY.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/3FE1l.png" alt="enter image description here"></p>
  
  <p><strong>Update1</strong></p>
  
  <p>Here is my Android.mk file</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  TOP_LOCAL_PATH := $(LOCAL_PATH)
  
  MUPDF_ROOT := ..
  
  include $(TOP_LOCAL_PATH)/Core.mk
  include $(TOP_LOCAL_PATH)/ThirdParty.mk
  
  include $(CLEAR_VARS)
  
  LOCAL_C_INCLUDES := \
      $(MUPDF_ROOT)/draw \
      $(MUPDF_ROOT)/fitz \
      $(MUPDF_ROOT)/pdf
  LOCAL_CFLAGS :=
  LOCAL_MODULE    := mupdf
  LOCAL_SRC_FILES := mupdf.c
  LOCAL_STATIC_LIBRARIES := mupdfcore mupdfthirdparty
  
  LOCAL_LDLIBS    := -lm -llog -ljnigraphics
  
  include $(BUILD_SHARED_LIBRARY)
  </code></pre>