简体   繁体   中英

Program “make” is not found in path in Eclipse-ADT

I am new to cocos2d-x. When I am opening hello.cpp project in Eclipse-ADT it is giving me the error (program "make" is not found in path).

I have followed this Link.

http://www.cocos2d-x.org/wiki/How_to_set_up_the_android_cocos2d-x_development_environment_on_Windows_7

Image is also attached ...

在此处输入图片说明

make是一个linux命令,您需要在linux下运行它或安装Cygwin才能在Windows上运行(make在Cygwin安装期间位于Devel软件包下)

finally found it.

open Eclipse.

go to Window->Preferences

go to C/C++->New CDT Project Wizard->Makefile Project

check " Cygwin PE Parser " and " GNU Elf Parser "

in both manually set the path to those commands you see below each one.

for example select "Cygwin PE Parser" and click Browse button of the "cygpath command" and find cygpath.exe file inside "bin" folder of the cygwin.

mine is like this: "C:\\Users\\MDP\\Cygwin\\bin\\cygpath.exe"

do the same thing for all of them. and click apply then ok.

remove your project and add it again. you won't get these errors anymore:

program "make" is not found in path

Program "bash" not found in PATH

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM