Forum > C++ > question about ndk-build

question about ndk-build

By Kevinvin Posted 2012-04-22 08:58 Comments 5
Kevinvin
  • Posts: 25

When I use ndk-build to build cocos2dx’s tests, this error appear. How do I fix it?

make: 进入目录“/cygdrive/e/Program/Source/cocos2d-1.0.1-x-0.13.0-beta/tests/test.android”
Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver
Gdbsetup : libs/armeabi/gdb.setup
SharedLibrary : libtests.so
D:/android-ndk-r7c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/libgnustl_static.a: No such file: Permission denied
collect2: ld returned 1 exit status
/cygdrive/d/android-ndk-r7c/build/core/build-binary.mk:366: recipe for target `obj/local/armeabi/libtests.so’ failed
make: \* [obj/local/armeabi/libtests.so] Error 1
make: 离开目录“/cygdrive/e/Program/Source/cocos2d-1.0.1-x-0.13.0-beta/tests/test.android”

zhangxm
  • Posts: 2082
  • Location: Xiamen, China

#1 RE: 2012-04-22 11:22

Kevinvin
  • Posts: 25

#2 RE: 2012-04-22 12:36

It’s OK now. Thank you very much!

misugijunz
  • Posts: 4

#3 RE: 2012-06-10 16:08

I have the same problem but I can’t open the link above. Can anyboday relay the solution for me?

Cugel
  • Posts: 4

#4 RE: 2012-06-11 19:41

I have the same problem as well. The link above is broken!

Thanks

Cugel
  • Posts: 4

#5 RE: 2012-06-11 22:02

Working now, in my case it was my file permissions had to reset permissions for the cocos2d-x folder. (because of my work setup)

Loggin to reply

Copyright © 2010 - 2013 Cocos2d-x.orgClustrmaps