Cocos2dx and eclipse cross-compile "make: *** No rule to make target 'all '.

Source: Internet
Author: User

Perform cocos2dx cross-compilation on eclipse.

After project./ is imported to eclipse, a disgusting error is reported.

Make: *** No rule to make target 'all'. Stop.


I have searched the internet for half a day on English documents and cannot solve the problem. Finally, I found a solution in the forum. Here I sorted out the mac and windows solutions and gave the children's shoes needed:

Cocos2dx eclipse

Solution: Right-click the project --> properties-C/C ++ Build --> Builder settings

The Builder Type is optional,

Makefilegeneration --> Generate makefiles automatically is not selected

Select Generate makefiles automatically

In this case, Builder Type becomes optional and internalbuilder is selected.

Then submit

(For some children's shoes, the options are gray. Use the following method :)

Mac system solution: Select C/C ++ Build on theleft side of the window that pops up. under Builder,

Do not select "Use default build command". Enter the following Command in the following Build command:

Bash $ {workspace_loc:/<YOUR-PROJECT-NAME >}/ NDK_DEBUG = 1 V = 1

<YOUR-PROJECT-NAME> is your project name.

Windows solution:

Bash "E: \ cocos2dx20 \ Balance \ proj. android/" NDK_DEBUG = 1 V = 1 clean

Then OK to submit run


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.