Firefly安装说明

第三方库依赖:
    twisted, python-memcached,DBUtils,MySQLdb
安装第三方库:
1:easy_install twisted(windows下可以直接用Twisted-12.2.0.win32-py2.6.exe进行安装,如果是python2.7的可以使用Twisted-12.2.0.win32-py2.7.exe)
安装过程中,也许会出现error: Setup script exited with error: command 'gcc' failed with exit status 1
解决方法:
$ sudo apt-get install gcc
$ sudo apt-get install python-dev
$ sudo apt-get install libxml2 libxml2-dev
$ sudo apt-get install libxslt1.1 libxslt1-dev 2:easy_install python-memcached 3:easy_install DBUtils 4:easy_install zope.interface 5:easy_intall affinity 6:easy_install MySQL-python(windows下可以直接用MySQL-python-1.2.3c1.win32-py2.6.exe进行安装,如果是python2.7的可以使用MySQL-python-1.2.4.win32-py2.7.exe) 安装6的时候也许会出现EnvironmentError: mysql_config not found 解决方案

(1)ubuntu下

执行sudo apt-get install libmysqld-dev

(2)fedora下

执行 sudo yum install python-devel

安装firefly     跳转到firefly目录下,     python setup.py build     python setup.py install     安装完毕

你可能感兴趣的:(cocos2d-x,学习笔记)