cocos2d-x.2.2.5需要英文路径

前端之家收集整理的这篇文章主要介绍了cocos2d-x.2.2.5需要英文路径前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。


//安装文件夹带中文路径创建报错

Traceback (most recent call last):

File "./create_project.py",line 209,in <module>

processPlatformProjects(platform)

File "./create_project.py",line 161,in processPlatformProjects

if (os.path.exists(proj_path + src) == True):

UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 34: ordinal not in range(128)




成功创建

zhangqingdeiMac:project-creator tarena$ ./create_project.py -project MyGame -package com.MyCompany.AwesomeGame -language cpp

Error:/Users/tarena/LY/cocos2d-x/cocos2d/cocos2d-x-2.2.5/tools/project-creator/../../projects/MyGame folder is already existing

Please remove the old project or choose a new PROJECT_NAME in -project parameter

zhangqingdeiMac:project-creator tarena$ ./create_project.py -project MyFeiJi -package com.tarena.feiji -language cpp

proj.ios: Done!

proj.android: Done!

proj.win32: Done!

proj.winrt: Done!

proj.wp8: Done!

proj.mac: Done!

proj.blackberry: Done!

proj.linux: Done!

proj.marmalade: Done!

proj.tizen: Done!

proj.wp8-xaml: Done!

New project has been created in this path: /Users/tarena/LY/cocos2d-x/cocos2d/cocos2d-x-2.2.5/projects/MyFeiJi

Have Fun!

zhangqingdeiMac:project-creator tarena$

原文链接:https://www.f2er.com/cocos2dx/344856.html

猜你在找的Cocos2d-x相关文章