linux系统编译cocos2dx4.0游戏引擎

1.安装androidstudio并下载好SDK与NDK

2.安装好编译相关工具

sudo apt-get install gcc g++ clang make cmake -y

3.安装好python2

sudo apt-get install python2 -y

4.安装编译cocos2d-x-4.0的tests游戏演示工程所需要的相关包

sudo apt install libboost-all-dev -y
sudo apt install mesa-common-dev -y
sudo apt install mesa-utils-extra -y
sudo apt install libgl1-mesa-dev -y
sudo apt install libglapi-mesa -y
sudo apt-get install glew-utils libglew-dev  -y
sudo apt install libglfw3-dev -y
sudo apt-get install libfontconfig1-dev -y
sudo apt-get install libgtk-3-dev -y
sudo apt install libsqlite3-dev -y

5. 下载 chipmunk并转换

 

你可能感兴趣的:(Linux,C++,游戏程序,cocos2d,游戏引擎)