Cocos2d-x 2.1.5 win32安装失败

时间:2013-09-12 02:45:36

标签: cocos2d-x

我试图在窗口上安装cocos2d-x,因为看到很多教程都说运行build_win32.bat没问题,除非遇到一些问题,比如“tests.exe不再工作”或“从文件中获取数据” (C:\ Windows \ system32 \ fps_images.png)失败了!“但是,这两种常见的东西都不会出现在我身上但是其他未知错误。谁能帮助我?下面是我的错误的控制台输出:

/*
 * Check VC++ environment...
 */

/*
 * Building cocos2d-x library binary, please wait a while...
 */

Setting environment for using Microsoft Visual Studio 2010 x86 tools.
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.1008]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 12/9/2013 10:30:38.
C:\cocos2d-x-2.1.5\cocos2d-win32.vc2010.sln : Solution file error MSB5009: Erro
r parsing the nested project section in solution file.

Build FAILED.

  C:\cocos2d-x-2.1.5\cocos2d-win32.vc2010.sln : Solution file error MSB5009: Er
ror parsing the nested project section in solution file.

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.01
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.1008]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 12/9/2013 10:30:38.
C:\cocos2d-x-2.1.5\cocos2d-win32.vc2010.sln : Solution file error MSB5009: Erro
r parsing the nested project section in solution file.

Build FAILED.

  C:\cocos2d-x-2.1.5\cocos2d-win32.vc2010.sln : Solution file error MSB5009: Er
ror parsing the nested project section in solution file.

    0 Warning(s)
    1 Error(s)

Time Elapsed 00:00:00.01
/*
 * Check the cocos2d-win32 application "TestCpp.exe" ...
 */

The system cannot find the path specified.
/*
 * Run cocos2d-win32 tests.exe and view Cocos2d-x Application Wizard for Visual
Studio User Guide.
 */

File not found - Resources
0 File(s) copied
File not found - Resources
0 File(s) copied
File not found - Resources
0 File(s) copied
File not found - Resources
0 File(s) copied
File not found - Resources
0 File(s) copied
File not found - js
0 File(s) copied
File not found - tests
0 File(s) copied
File not found - MoonWarriors
0 File(s) copied
File not found - WatermelonWithMe
0 File(s) copied
File not found - Published files iOS
0 File(s) copied
Can't find the binary "TestCpp.exe", is there build error?
Press any key to continue . . .

2 个答案:

答案 0 :(得分:0)

答案 1 :(得分:0)

有一种解决方案适合我。 打开cocos2d-win32.vc2010.sln或cocos2d-win32.vc2012.sln,删除下面的代码: GlobalSection(NestedProjects)= preSolution 到此GlobalSection的末尾。