构建android开源项目

时间:2012-05-20 14:05:06

标签: android

我尝试构建FBReader项目(http://code.google.com/p/fbreaderplus/source/checkout)。如何添加README.build中描述的库?当我用cygwin制作项目时得到了这样的消息:

make[2]: Entering directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrar
y/text/src/model'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary
/text/src/model'
make[2]: Entering directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrar
y/text/src/area'
Compiling ZLTextParagraphBuilder.o ...In file included from ZLTextParagraphBuild
er.cpp:30:0:
ZLTextParagraphBuilder.h:26:29: fatal error: fribidi/fribidi.h: No such file or
directory
compilation terminated.
/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary/text/../../makefiles/subdir
.mk:14: recipe for target `ZLTextParagraphBuilder.o' failed
make[2]: *** [ZLTextParagraphBuilder.o] Error 1
make[2]: Leaving directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary
/text/src/area'
Makefile:25: recipe for target `.objects' failed
make[1]: *** [.objects] Error 1
make[1]: Leaving directory `/cygdrive/c/Users/Argentum/Desktop/fbreader/zlibrary
/text'
Makefile:9: recipe for target `all' failed
make: *** [all] Error 1

1 个答案:

答案 0 :(得分:0)

此错误ZLTextParagraphBuilder.h:26:29: fatal error: fribidi/fribidi.h: No such file or directory告诉您它缺少fribidi,http://www.fribidi.org/

我不知道你怎么能超越配置阶段 - 是不是应该检查库的存在?

无论如何安装fribidi并再试一次。

HTH