0

私はcocos2d-xの初心者です。開発環境を整え始めました。cocos2d-x-2.1.5 zip ファイルをダウンロードして展開します。次に、build-win32.bat をダブルクリックすると、次の行が表示されます。

Build started 8/28/2013 9:08:01 AM.
 0>D:\Dev_cocos2dx\cocos2d-x-2.1.5\cocos2d-win32.vc2012.sln : Solution file error      MSB5009: Erro
   r parsing the nested project section in solution file.

Build FAILED.

     D:\Dev_cocos2dx\cocos2d-x-2.1.5\cocos2d-win32.vc2012.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.17929
[Microsoft .NET Framework, version 4.0.30319.18052]
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 8/28/2013 9:08:01 AM.
 0>D:\Dev_cocos2dx\cocos2d-x-2.1.5\cocos2d-win32.vc2012.sln : Solution file error     MSB5009: Erro
   r parsing the nested project section in solution file.

Build FAILED.

     D:\Dev_cocos2dx\cocos2d-x-2.1.5\cocos2d-win32.vc2012.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 . . .

Windows 7 64bit を使用しています。ありがとう!

4

1 に答える 1

0

私は解決策を見つけました:

1.「cocos2d-win32.vc2010.sln」を開きます。

2.新しいプロジェクトを作成します。

3. 手順 2 のプロジェクトを削除します。

4. .sln ファイルを閉じて、[保存] をクリックします。

これらの手順の後、私のバッチ ファイルは正常に動作します。お役に立てば幸いです。

于 2014-02-21T08:18:39.680 に答える