Skip to content

编译koreader base

leeoo edited this page Dec 19, 2013 · 1 revision

=== 编译koreader-base (for Kindle 4 black) ===

( 参考1: Build Environment Setup Guide, by @Kai771 参考2: https://github.com/koreader/koreader-base上的README.md 参考3: gcc 降级安装,多版本共存 http://blog.csdn.net/sdfgh2046/article/details/5844824 )

准备

$ sudo apt-get install git subversion g++ lua5.1 cmake libsdl1.2-dev
$ git config --global user.name "leeoo"
$ git config --global user.email "[email protected]"
$ git clone https://github.com/leeoo/koreader-base.git

安装依赖

编译

$ cd koreader-base
$ git remote add upstream https://github.com/koreader/koreader-base.git
$ make fetchthirdparty
$ make
Clone this wiki locally