smith作者
11年10个月前IP:广东
753047
2楼
先安装一些库:
12.04 (LTS)
Follow this step for Ubuntu 12.04 (LTS).
You need to install a g++ version with C++0x/C++11 support, so install this PPA first:
sudo add-apt-repository ppa:dolphin-emu/gcc-4.8-precise
sudo apt-get update
This PPA will update libstdc++6 package too, which is an important component from the system, so be careful and use at your own risk.
Cmake needs to be updated too:
sudo add-apt-repository ppa:kalakris/cmake
sudo apt-get update
Now, install all necessary packages by running the following command:
sudo apt-get install cmake git gcc-4.8 g++-4.8 pkg-config libao-dev libasound2-dev libbluetooth-dev libgl1-mesa-dev libgtk2.0-dev liblzo2-dev libopenal-dev libpulse-dev libreadline6-dev libsdl1.2-dev libsoil-dev libsoundtouch-dev libusb-1.0-0-dev libxext-dev libxrandr-dev zlib1g-dev

14.04 (LTS)
Follow this step for Ubuntu 14.04 (LTS).
Install all necessary packages by running the following command:
sudo apt-get install cmake pkg-config git g++ libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libgtk2.0-dev liblzo2-dev libopenal-dev libpolarssl-dev portaudio19-dev libpulse-dev libreadline6-dev libsdl2-dev libsfml-dev libsoil-dev libsoundtouch-dev libswscale-dev libusb-1.0-0-dev libwxbase3.0-dev libwxgtk3.0-dev libxext-dev libxrandr-dev zlib1g-dev

14.10 and newer
Follow this step for Ubuntu 14.10 and future versions.
Install all necessary packages by running the following command:
sudo apt-get install cmake pkg-config git g++ libao-dev libasound2-dev libavcodec-dev libavformat-dev libbluetooth-dev libgtk2.0-dev liblzo2-dev libminiupnpc-dev libopenal-dev libpolarssl-dev portaudio19-dev libpulse-dev libreadline6-dev libsdl2-dev libsfml-dev libsoil-dev libsoundtouch-dev libswscale-dev libusb-1.0-0-dev libwxbase3.0-dev libwxgtk3.0-dev libxext-dev libxrandr-dev zlib1g-dev


楼主是14.04的机器,就按照14.04的方法安装就行了
评论
文号 / 753047

千古风流
名片发私信
学术分 4
总主题 198 帖总回复 2448 楼拥有证书:学者 机友 笔友
注册于 2015/01/11 13:58:18最后登录 2026/10/30 22:49:49
主体类型:个人
所属领域:无
认证方式:手机号
IP归属地:广东

个人简介

收音机爱好者

笔记
{{note.content}}
{{n.user.username}}
{{fromNow(n.toc)}} {{n.status === noteStatus.disabled ? "已屏蔽" : ""}} {{n.status === noteStatus.unknown ? "正在审核" : ""}} {{n.status === noteStatus.deleted ? '已删除' : ''}}
  • 编辑
  • 删除
  • {{n.status === 'disabled' ? "解除屏蔽" : "屏蔽" }}
我也是有底线的