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 )"