加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/cocos2d/cocos2d-x
克隆/下载
install-deps-linux.sh 905 Bytes
一键复制 编辑 原始数据 按行查看 历史
CHP 提交于 2021-12-02 11:04 . Setup github actions for V4 (#20702)
#!/bin/bash
echo "This Shell Script will install dependencies for cocos2d-x"
echo -n "Are you continue? (y/n) "
read answer
if echo "$answer" | grep -iq "^y" ;then
echo "It will take few minutes"
else
exit
fi
sudo apt-get update
# run 32bit applicatio: needed for lua relase mode as luajit has 32bit version
# https://askubuntu.com/questions/454253/how-to-run-32-bit-app-in-ubuntu-64-bit
sudo dpkg --add-architecture i386
# DEPENDS='libc6:i386 libncurses5:i386 libstdc++6:i386'
DEPENDS+=' libx11-dev'
DEPENDS+=' libxmu-dev'
DEPENDS+=' libglu1-mesa-dev'
DEPENDS+=' libgl2ps-dev'
DEPENDS+=' libxi-dev'
DEPENDS+=' libzip-dev'
DEPENDS+=' libpng-dev'
DEPENDS+=' libcurl4-gnutls-dev'
DEPENDS+=' libfontconfig1-dev'
DEPENDS+=' libsqlite3-dev'
DEPENDS+=' libglew-dev'
DEPENDS+=' libssl-dev'
DEPENDS+=' libgtk-3-dev'
DEPENDS+=' binutils'
sudo apt-get install --force-yes --yes $DEPENDS > /dev/null
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化