Cocos2d-x -- problems with creating a Cocos2d-x project -- the system cannot start the program, the system cannot find the specified path

Source: Internet
Author: User

You may have discovered the problem by opening VS2008,

 

Choose file --> New --> project --> Expand Visual C ++ item --> New Cocos2d-x

 

The Cocos2d-x project created in this way cannot run, and the following prompt appears:

 

 

 

This is mainly because the project created using the above method is not included in the required library, and the project is not dependent on

 

Library, find the dependent files, such as CCCtdC. h and cocos2d. h.

 

Next I will explain how to create a cocos2d-x project correctly

 

Double-click the cocos2d-win32.vc2008.sln to open VS2008,

 

 

Right-click the top Solution

 

 

Select "add" --> "Create Project"

 

 

 

Expand Visual C ++, select the Cocos2d-x, enter the project name, and select the Project Storage path

 

In the displayed dialog box, select Finish to complete project creation.

 

 

Right-click the new project and select "project dependency"

 

 

Select

 

 

 

Click "OK", right-click the project, select properties, and select "C \ C ++" on the left, change the "debug information format" option to "program database (/Zi)" on the right )"

 

 

Click OK, right-click the project, select "regenerate" and "set as startup Item", and choose "debug"> "start execution (not Debug)" from the menu )"

 

 

 

 

 

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: info-contact@alibabacloud.com 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.