当前位置:编程学习 > wap >>

eclipse导入cocos2d引擎的hellocpp后提示出错

**** Build of configuration Default for project HelloCpp ****

bash E:/cocos2dPower/cocos2d-x-2.1.4/samples/Cpp/HelloCpp/proj.android/build_native.sh 
cygwin warning:
  MS-DOS style path detected: E:\cocos2dPower\cocos2d-x-2.1.4\samples\Cpp\HelloCpp\proj.android
  Preferred POSIX equivalent is: /cygdrive/e/cocos2dPower/cocos2d-x-2.1.4/samples/Cpp/HelloCpp/proj.android
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
NDK_ROOT = E:\cocos2dPower\android-ndk-r9
COCOS2DX_ROOT = /cygdrive/e/cocos2dPower/cocos2d-x-2.1.4/samples/Cpp/HelloCpp/proj.android/../../../..
APP_ROOT = /cygdrive/e/cocos2dPower/cocos2d-x-2.1.4/samples/Cpp/HelloCpp/proj.android/..
APP_ANDROID_ROOT = /cygdrive/e/cocos2dPower/cocos2d-x-2.1.4/samples/Cpp/HelloCpp/proj.android
Using prebuilt externals
+ 'E:\cocos2dPower\android-ndk-r9/ndk-build' -C /cygdrive/e/cocos2dPower/cocos2d-x-2.1.4/samples/Cpp/HelloCpp/proj.android NDK_MODULE_PATH=/cygdrive/e/cocos2dPower/cocos2d-x-2.1.4/samples/Cpp/HelloCpp/proj.android/../../../..:/cygdrive/e/cocos2dPower/cocos2d-x-2.1.4/samples/Cpp/HelloCpp/proj.android/../../../../cocos2dx/platform/third_party/android/prebuilt
make: execvp: awk: Permission denied
Android NDK: Host 'awk' tool is outdated. Please define NDK_HOST_AWK to point to Gawk or Nawk !    
make: Entering directory `/cygdrive/e/cocos2dPower/cocos2d-x-2.1.4/samples/Cpp/HelloCpp/proj.android'
make: Entering directory `/cygdrive/e/cocos2dPower/cocos2d-x-2.1.4/samples/Cpp/HelloCpp/proj.android'
/cygdrive/e/cocos2dPower/android-ndk-r9/build/core/init.mk:377: *** Android NDK: Aborting.    .  Stop.
make: Leaving directory `/cygdrive/e/cocos2dPower/cocos2d-x-2.1.4/samples/Cpp/HelloCpp/proj.android'

**** Build Finished **** eclipse cocos2dx android cygwin android ndk --------------------编程问答-------------------- 我也遇到这个问题了,有告诉回答下吗? --------------------编程问答-------------------- 用build-win32.bat 来编译出so直接导入so到eclipse中就可以了 --------------------编程问答--------------------
引用 2 楼 lieri111 的回复:
用build-win32.bat 来编译出so直接导入so到eclipse中就可以了

肿么导进去,放在哪里?我不会用eclipse,
补充:移动开发 ,  Android
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,