我刚刚在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.
答案 0 :(得分:0)
试用目录
周围的引号cocos run -s“D:\ Game \ firstGame \ firstGame”-p win32