免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1030 | 回复: 0
打印 上一主题 下一主题

Using Freetype-2.3.4 on MiniGUI VAR-2.0.4 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-04-30 15:08 |只看该作者 |倒序浏览

                I used freetype1, but it always caused SIGSEGV. So I now use freetype2.
1. Compiling freetype-2.3.4
$CC=arm-linux-gcc ./configure --target=arm-linux --host=arm-linux --enable-static --prefix=/usr/local/arm/gcc-4.1.2-uclibc
$make
$make install
On my target board, libfreetype is installed in /usr/lib.
2. Compiling libminigui-2.0.4
As at 30 Apr, 2008, configuration I use is:
$CC=arm-linux-gcc ./configure --target=arm-linux --host=arm-linux --build=i686-linux \
--prefix=/usr/local/arm/gcc-4.1.2-uclibc \
--enable-procs \
--enable-debug \
--disable-gbsupport \
--disable-gbksupport \
--disable-big5support \
--enable-ft2support \
--enable-ttfcache \
--disable-type1suport \
--enable-smdk2410ial \
LDFLAGS="-lts"
IMPORTANT:
After the configuration, modify the -I part of CFLAGS in src/font/Makefile to
    -I/usr/local/arm/gcc-4.1.2-uclibc/include/freetype2
    -I/usr/local/arm/gcc-4.1.2-uclibc/include
This is due to the source files src/font/Makefile.xx that are not properly written.
Then excute make and make install.
3. Compiling mde
The configuration used is exactly the same as that of libminigui, except that "-lfreetype" is added to LDFLAGS.
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/56178/showart_653136.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP