Dear all,
I’m using ndk5, cocos2d 0.9.1, windows7-cygwin.
When linking, I get the following error:
$ ./build_native.sh make: Entering directory `/cygdrive/d/cocos2dx/TEST5/android' Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver Gdbsetup : libs/armeabi/gdb.setup Compile++ thumb : cocos2d <= CCConfiguration.cpp .... ... .. Compile++ thumb : cocos2d <= CCTouchHandler.cpp Prebuilt : libcrystax.a <= <NDK>/sources/crystax/libs/armeabi/ StaticLibrary : libstdc++.a Prebuilt : libstlport_static.a <= <NDK>/sources/cxx-stl/stlport/libs/armeabi/ SharedLibrary : libcocos2d.so D:/Android/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld.exe: cannot find -lGLESv1_CM collect2: ld returned 1 exit status /cygdrive/d/Android/android-ndk/build/core/build-binary.mk:280: recipe for target `/cygdrive/d/cocos2dx/TEST5/android/obj/local/armeabi/libcocos2d.so' failed make: *** [/cygdrive/d/cocos2dx/TEST5/android/obj/local/armeabi/libcocos2d.so] Error 1 make: Leaving directory `/cygdrive/d/cocos2dx/TEST5/android'
Why cannot find -lGLESv1_CM
Any hint on how to solve this?
Thanks!