if exist "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\\CocosDragonJSRes" rd /s /q "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\\CocosDragonJSRes"
mkdir "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\\CocosDragonJSRes"
xcopy "E:\Cocos2d_X\cocos2d-x-2.1.4\samples\Javascript\CocosDragonJS\proj.win32\..\..\..\..\scripting\javascript\bindings\js\*.js" "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\\CocosDragonJSRes" /e /Y
xcopy "E:\Cocos2d_X\cocos2d-x-2.1.4\samples\Javascript\CocosDragonJS\proj.win32\..\..\Shared\games\CocosDragonJS\Published files Android" "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\\CocosDragonJSRes\" /e /Y
:VCEnd" exited with code 4. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 103 6 CocosDragonJS
Error 2 error MSB3073: The command "if not exist "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\" mkdir "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\"
if exist "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\\WatermelonWithMeRes" rd /s /q "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\\WatermelonWithMeRes"
mkdir "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\\WatermelonWithMeRes"
xcopy "E:\Cocos2d_X\cocos2d-x-2.1.4\samples\Javascript\WatermelonWithMe\proj.win32\..\..\..\..\scripting\javascript\bindings\js\*.js" "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\\WatermelonWithMeRes" /e /Y
xcopy "E:\Cocos2d_X\cocos2d-x-2.1.4\samples\Javascript\WatermelonWithMe\proj.win32\..\..\Shared\games\WatermelonWithMe" "E:\Cocos2d_X\cocos2d-x-2.1.4\Debug.win32\\WatermelonWithMeRes\" /e /Y
:VCEnd" exited with code 4. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 103 6 WatermelonWithMe
下面是官方文档给的解释:http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Release_Notes_for_Cocos2d-x_v214
Release Notes for Cocos2d-x v2.1.4
Cocos2d-x
Because the limited uploading size of google code, Emscripten lib and resources of WatermelonWithMe and CocosDragonJS are removed from releasing installing package.
In order to run Emscripten sample, you should- download Emscripten lib here
- put downloaded lib into COCOS2DX_ROOT/external/emscripten
- download resources of WatermelonWithMe and CocosDragonJS here
- put downloaded resources into samples/Javascript/Shared/games
We recommend you use multi-platform creating tools named create_project.py, which lies in tools/project-creator, to create a new project. This tool can create a project has the same folder structure as HelloCpp. Other tools such as create-android-project.sh will be removed in future.
Note: VS template was deprecated in this release, please use 'tools/project-creator' instead.