|
发表于 2004-2-7 00:06:55
|
显示全部楼层
兄弟的操作系统是?能否把你编译好的发给我一份: hupeng923@163.com,我编译总出错,谢谢
Debian. 如果你用得是Debian得话,我可以传一个deb包给你。其它得系统就不知道了。
其实编译也不困难,主要是要装全所有得开发包,再有就是手动设置header目录,这点在xpdf
的主页里:
There are a few common problems encountered when compiling Xpdf with FreeType 2. The symptoms are weird compile errors that appear to be related to FreeType ("FT_Error not declared", syntax errors in FreeType include files, etc.)
....
I haven't come up with a clean solution for this. There are two kludges:
1. You can create a link for ft2build.h:
cd /usr/local/include/freetype2
ln -s ../ft2build.h
2. You can set CXXFLAGS on the command line before you run configure:
setenv CXXFLAGS -I/usr/local/include/freetype2 -I/usr/local/include
./configure
make
(If you're running sh/bash/etc. use "export CXXFLAGS=..." instead of "setenv CXXFLAGS ...".)
You'll need to adjust those paths to match your FreeType 2 installation.
就是configure是用
$ export CXXFLAGS="-I/usr/local/include/freetype2 -I/usr/local/include"
$ ./configure |
|