1. 安装opengles
sudo apt-get install libgles-mesa-dev
2. 安装glew 1.9
下载code
http://sourceforge.net/projects/glew/files/glew/
make
sudo make install
3. 安装freetype2
下载code
git clone git://git.sv.nongnu.org/freetype/freetype2.git
sh autogen.sh
./configure --prefix=/usr/local
make
sudo make install
4. 下载ejoy2d
git clone https://github.com/cloudwu/ejoy2d
make linux
时间: 2024-10-05 17:09:19