title: Compiling cocos2d cannot find module with tag 'libjpeg'
body: <p>I have installed correctly the Android SDK, Android NDK, eclipse, and I have the last repository's cocos2d from git.</p>
  
  <p>I have followed the steps in the wiki to generate a project and I have done correctly.</p>
  
  <p>The problem comes when I run ./build_native.sh, I get this error:</p>
  
  <pre><code> Cannot find module with tag 'libjpeg' in import path
  </code></pre>
  
  <p>I have checked the Android.mk, and I suppose that the error is in the final zone:</p>
  
  <pre>
  LOCAL_WHOLE_STATIC_LIBRARIES := cocos_libpng_static
  LOCAL_WHOLE_STATIC_LIBRARIES += cocos_jpeg_static
  LOCAL_WHOLE_STATIC_LIBRARIES += cocos_libxml2_static
  
  # define the macro to compile through support/zip_support/ioapi.c                
  LOCAL_CFLAGS := -DUSE_FILE32API
  
  include $(BUILD_SHARED_LIBRARY)
  
  $(call import-module,libjpeg)
  $(call import-module,libpng)
  $(call import-module,libxml2)
  </pre>
  
  <p>I have read the steps several times, and I didn't forget (I think) anything. Could someone who have been compiled the code help me please?</p>
  
  <p>The complete error is:</p>
  
  <pre>
  Android NDK: jni/../../../cocos2dx/Android.mk: Cannot find module with tag 'libjpeg' in import path    
  Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?    
  Android NDK: The following directories were searched:    
  Android NDK:         
  make: Entering directory `/home/pipero/git_checkout/cocos2d-x/PiperoStest/android'
  </pre>
  
  <p>Thanks in advance.</p>
  
  <p>EXTRA: I have created the project using the: $COCOS2D>create-linux-eclipse-project.sh and i can't open the project in eclipse neither to compile using ndk from eclipse directly.</p>
  
  <p>EXTRA2: The steps are from <a href="http://www.cocos2d-x.org/projects/cocos2d-x/wiki/How_to_create_android_project_with_script">HERE</a></p>
  
  <p>EXTRA3: I already changed the <code>NDK_ROOT_LOCAL="$LIBS/android-ndk-r7b"
  ANDROID_SDK_ROOT_LOCAL="$LIBS/android-sdk-linux"</code></p>