QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1335|回复: 4

那位大虾能帮忙告诉我怎样在VC编译freetype2.1.4

[复制链接]
发表于 2006-7-28 16:31:39 | 显示全部楼层 |阅读模式
我看了它的文档好几遍都没弄懂,下面是直接编译的英文文档:
Direct compilation
You can also directly compile the library from the command line by using these simple rules:

You should place the directories freetype2/include and freetype2/src in your include path in order to compile any component of the library. You can also add the system-specific build directory (i.e. builds/system/) in the case where an alternate implementation of some of the components is available there (e.g. the memory-mapped i/o implementation on some Unix systems).
The components of the library are located in sub-directories of src, for example: src/base, src/truetype, etc.
Each component is normally compiled through a single C file that wraps other sources in the component's directory. For example, you should build the TrueType font driver by compiling the file src/truetype/truetype.c. The list of C files to compile for a feature-complete build of the library is given in the BUILD document.
请教在windows下用VC6怎么连接freetype2或者在redhat下用gcc怎么连接freetype2.1.4
发表于 2006-7-28 17:05:12 | 显示全部楼层
gcc编译freetype很简单,文章很多
vc的问题去问问microsoft吧,如果它也不知道答案,估计没有人知道了
回复

使用道具 举报

 楼主| 发表于 2006-7-28 17:07:54 | 显示全部楼层
我在网上找了很久都找不到,版主大人推荐一下吧,谢谢了
回复

使用道具 举报

发表于 2006-7-28 17:11:00 | 显示全部楼层
下载ft214.zip,而不是freetype-2.1.4.tar.bz2(gz)
回复

使用道具 举报

发表于 2006-7-28 20:08:02 | 显示全部楼层
如果 freetype 的文档里没有说到 vc, 大概就不能用 vc 编译.

你可以试试 mingw 或 cygwin , 都是 gcc 的 win 版.

cygwin 肯定是可以的.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-6 23:39 , Processed in 0.042259 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表