I have installed correctly the Android SDK, Android NDK, eclipse, and i have the last repository’s cocos2d from git.
I have follow the steps in the wiki to generate a project and i have done correctly.
The problem is, when i run ./build_native.sh, y get this error:
Cannot find module with tag ‘libjpeg’ in import path
I have checked the Android.mk, and i suppose that the error is in the final zone:
LOCAL_WHOLE_STATIC_LIBRARIES := cocos_libpng_static
LOCAL_WHOLE_STATIC_LIBRARIES = cocos_jpeg_static
- define the macro to compile through support/zip_support/ioapi.c
LOCAL_CFLAGS := -DUSE_FILE32API
I have readed the steps several times, and i didn’t forget (i think) anything. Someone who have been compiled the code could help me please?
The complete error is:
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:
make: Entering directory `/home/pipero/git_checkout/cocos2d-x/PiperoStest/android’
Thanks in advance.
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.
EXTRA2: The steps are from HERE
EXTRA3: I already changed the NDK_ROOT_LOCAL=“\$LIBS/android-ndk-r7b” ANDROID_SDK_ROOT_LOCAL=“\$LIBS/android-sdk-linux”