diff --git a/template/msvc/CCAppWiz.win32/Scripts/1033/default.js b/template/msvc/CCAppWiz.win32/Scripts/1033/default.js index 146ec43d7e..40c21d3b8c 100644 --- a/template/msvc/CCAppWiz.win32/Scripts/1033/default.js +++ b/template/msvc/CCAppWiz.win32/Scripts/1033/default.js @@ -192,7 +192,7 @@ function AddConfigurations(proj, strProjectName) { strAddIncludeDir += ';..\\cocos2dx\\platform\\third_party\\win32\\OGLES'; if (wizard.FindSymbol('CC_USE_BOX2D')) { - strAddIncludeDir += ';..\\;..\\Box2D'; + strAddIncludeDir += ';..\\'; } if (wizard.FindSymbol('CC_USE_CHIPMUNK')) { strAddIncludeDir += ';..\\chipmunk\\include\\chipmunk'; diff --git a/template/msvc/CCAppWiz.win32/Templates/1033/Classes/HelloWorldScene.h b/template/msvc/CCAppWiz.win32/Templates/1033/Classes/HelloWorldScene.h index 299d2894cf..0f45161148 100644 --- a/template/msvc/CCAppWiz.win32/Templates/1033/Classes/HelloWorldScene.h +++ b/template/msvc/CCAppWiz.win32/Templates/1033/Classes/HelloWorldScene.h @@ -4,7 +4,7 @@ #include "cocos2d.h" [! if CC_USE_BOX2D] -#include "Box2D.h" +#include "Box2D/Box2D.h" [! endif] [! if CC_USE_CHIPMUNK] diff --git a/template/msvc/CCAppWiz.wophone/Scripts/1033/default.js b/template/msvc/CCAppWiz.wophone/Scripts/1033/default.js index 4b1a2992d7..19043b798f 100644 --- a/template/msvc/CCAppWiz.wophone/Scripts/1033/default.js +++ b/template/msvc/CCAppWiz.wophone/Scripts/1033/default.js @@ -182,7 +182,7 @@ function AddConfigurations(proj, strProjectName) { var strOutputFile = '$(OutDir)/' + wizard.FindSymbol("PROJECT_NAME") + '.dll'; if (wizard.FindSymbol('CC_USE_BOX2D')) { - strCurIncludeDir += ';..\\;..\\Box2D'; + strCurIncludeDir += ';..\\'; strDependLibs += ' libBox2d.lib'; } if (wizard.FindSymbol('CC_USE_CHIPMUNK')) { diff --git a/template/msvc/CCAppWiz.wophone/Templates/1033/Classes/HelloWorldScene.h b/template/msvc/CCAppWiz.wophone/Templates/1033/Classes/HelloWorldScene.h index e10702e5b7..6ef3b4445b 100644 --- a/template/msvc/CCAppWiz.wophone/Templates/1033/Classes/HelloWorldScene.h +++ b/template/msvc/CCAppWiz.wophone/Templates/1033/Classes/HelloWorldScene.h @@ -4,7 +4,7 @@ #include "cocos2d.h" [! if CC_USE_BOX2D] -#include "Box2D.h" +#include "Box2D/Box2D.h" [! endif] [! if CC_USE_CHIPMUNK] diff --git a/template/msvc/CCAppWiz.wophone/Templates/1033/root_Arm.TMK3 b/template/msvc/CCAppWiz.wophone/Templates/1033/root_Arm.TMK3 index ef100036a5..f5b461ee13 100644 --- a/template/msvc/CCAppWiz.wophone/Templates/1033/root_Arm.TMK3 +++ b/template/msvc/CCAppWiz.wophone/Templates/1033/root_Arm.TMK3 @@ -40,7 +40,7 @@ DEFINES=-D__TCOM_SUPPORT__ ;生成的是TCOM组件(注意:TOPS应用也 INCLUDE_PATH=-I ../../PRJ_TG3/Include/OpenGL -I../cocos2dx -I../cocos2dx/include -I../cocos2dx/platform INCLUDE_PATH=-I. -I./Classes -I./wophone -I./wophone/Res ;默认本项目的路径 [! if CC_USE_BOX2D] -INCLUDE_PATH=-I../ -I../Box2D +INCLUDE_PATH=-I../ [! endif] [! if CC_USE_CHIPMUNK] INCLUDE_PATH=-I../chipmunk/include/chipmunk