QT移植(tslib1.4、qt5.3.2、ubuntu14.04)

1、tslib1.4移植
1.1.1、tslib1.4源码下载地址
1.1.2、解压tslib1.4源码:tar -zxvf tslib-1.4.tar.gz
1.1.3、执行命令:./autogen.sh 若提示./autogen.sh: 4: ./autogen.sh: autoreconf: not found错误,
则autoconf工具没有安装:sudo apt-get install autoconf automake libtool。
1.1.4、echo “ac_cv_func_malloc_0_nonnull=yes” > tmp.cache
1.1.5、mkdir /opt/tslib tslib的安装目录
1.1.6、./configure --prefix=/opt/tslib --host=arm-none-linux-gnueabi --cache-file=arm-none-linux-gnueabi.cache ac_cv_func_malloc_0_nonnull=yes
配置完成之后自动生成一个Makefile
1.1.7、make 编译
若出现如下错误:
ts_test.o: In function main': ts_test.c:(.text+0x51c): undefined reference torpl_malloc’
fbutils.o: In function open_framebuffer'

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值