Cocos2dx Cannot run program "bash": Launching failed Error: Program "bash" not found in PATH

Windows Eclipse下编译cocos2dx demo时报如下错误:

Cannot run program "bash": Launching failed
Error: Program "bash" not found in PATH


解决办法:http://zengrong.net/post/1882.htm

  1. 调整 “项目属性-C/C++ Builder” 选项,将 “Build command” 的值从原来的 bash ${ProjDirPath}/build_native.sh 设置为 x:\android-ndk-r8e\ndk-build.cmd
  2. 调整 “项目属性-C/C++ builder-Environment” 选项,加入 NDK_MODULE_PATH 环境变量,其值与上面介绍的相同。

你可能感兴趣的:(eclipse,android,windows)