在控制台中运行cocos2dx

时间:2016-03-22 08:40:41

标签: winapi cmd cocos2d-x

我刚刚在Windows 7中设置了cocos2dx。我尝试在cmd中运行cocos,但它没有激活:

' C:\程序'不被视为内部或外部命令,

    C:\Users\9470m\Documents>cocos run  -s D:\Game\firstGame\firstGame -p win32
Building mode: debug
Building...
Required VS version : [2012, 2013]
running: '"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\deven
 "D:\Game\firstGame\firstGame\proj.win32\firstgame.sln" /Build "Debug" /Project
game"'

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
Error running command, return code: 1.

cocos run not active 你能给我一个建议。

1 个答案:

答案 0 :(得分:0)

试用目录

周围的引号

cocos run -s“D:\ Game \ firstGame \ firstGame”-p win32