forked from gaodayihao/QSanguosha
-
Notifications
You must be signed in to change notification settings - Fork 7
教程 Linux编译
pansz edited this page Mar 15, 2013
·
6 revisions
Linux编译
== 准备编译环境
以 Kubuntu 12.04 64bit为例,:
ArchLinux:
pacman -Sy fmodex lua phonon plib qt
== 下载代码
-
cd
-
git clone git://github.com/gaodayihao/QSanguosha.git [5]
-
cd QSanguosha
== 开始编译
-
make -f linux.mk
-
当出现第一次报错的时候,把 'libfmodex.so' 复制到提示的目录中。
-
然后继续 make -f linux.mk 编译。
== 备注
-
如果之前使用过 'compile.sh' 请先 make distclean 清除原有垃圾,然后再行编译。
-
成功编译过一次之后,后续修改可使用 make 直接编译。