@colinsusie 写道:
已经按文档写的拾好环境,用gulp gen-libs生成预编译库没有问题。
但是用gulp gen-simulator生成模拟器,会有下面的奇怪错误:
F:\CocosCreator\resources\mycocos2d-x\cocos2d-x-lite>gulp gen-simulator
[16:32:36] Using gulpfile F:\CocosCreator\resources\mycocos2d-x\cocos2d-x-lite\g
ulpfile.js
[16:32:36] Starting 'gen-simulator'...
running: ' F:\CocosCreator\resources\mycocos2d-x\cocos2d-x-lite\tools/cocos2d-co
nsole/bin/cocos compile -p win32 -m debug --no-res --compile-script 0 --vs 2013
&& xcopy /Y F:\CocosCreator\resources\mycocos2d-x\cocos2d-x-lite\tools\simulato
r\runtime\win32*.dll F:\CocosCreator\resources\mycocos2d-x\cocos2d-x-lite\simul
ator\win32 && xcopy /Y F:\CocosCreator\resources\mycocos2d-x\cocos2d-x-lite\too
ls\simulator\runtime\win32*.exe F:\CocosCreator\resources\mycocos2d-x\cocos2d-x
-lite\simulator\win32 && xcopy /Y F:\CocosCreator\resources\mycocos2d-x\cocos2d
-x-lite\tools\simulator\frameworks\runtime-src\Classes\ide-support\lang F:\Cocos
Creator\resources\mycocos2d-x\cocos2d-x-lite\simulator\win32 && if exist F:\Coc
osCreator\resources\mycocos2d-x\cocos2d-x-lite\tools\cocos2d-console\plugins\dll
*.dll xcopy /Y F:\CocosCreator\resources\mycocos2d-x\cocos2d-x-lite\tools\cocos
2d-console\plugins\dll*.dll F:\CocosCreator\resources\mycocos2d-x\cocos2d-x-lit
e\simulator\win32'����ģʽ��debug
���ڱ���...
Ҫ���� VS �汾��2012
����ע�������ҵ����õ� VS ��װ·����Error running command, return code: 17.
Generate simulator failed
[16:32:38] Finished 'gen-simulator' after 1.82 s求解决。@jare
帖子: 6
参与者: 1