当前位置:网站首页>Wei Dongshan Digital Photo Frame Project Learning (6) Transplantation of tslib
Wei Dongshan Digital Photo Frame Project Learning (6) Transplantation of tslib
2022-08-05 09:32:00 【qq_3322997】
Wei Dongshan Digital Photo Frame Project Learning (6) tslib transplantation
First, download the source code
This experiment will download the source code of the latest version (1.22), which is Download link
After the download is complete upload it to our server
Second, unzip the source code
Execute the following command to decompress
tar -zxvf tslib-1.22.tar.gzAfter the decompression is completed, a tslib-1.22 directory will be generated in the current directory and enter this directory
Third, cross-compiling tslib
After entering the tslib-1.22 directory, execute the following command to configure
./configure --host=arm-buildroot-linux-gnueabihf --prefix=$PWD/tmpThen execute the following instructions in turn to start compiling and installing
makemake installAfter the compilation and installation is completed, a tmp directory will be generated in the current directory, which stores the header files and library files we need
4. Copy the file to the corresponding directory
Transplanting freetype and libjpeg-turbo before, transplanting tslib is also handy, copy the corresponding files to the corresponding directory
Enter the tmp directory, execute the following two instructions in turn, copy the header files and library files toThe header file directory and library file directory of the cross-compilation toolchain
# copy header filecp include/* /home/tao/learn/100ask/100ask_stm32mp157_pro-sdk/ToolChain/arm-buildroot-linux-gnueabihf_sdk-buildroot/arm-buildroot-linux-gnueabihf/sysroot/usr/include/ -rd# Copy library filescp lib/* /home/tao/learn/100ask/100ask_stm32mp157_pro-sdk/ToolChain/arm-buildroot-linux-gnueabihf_sdk-buildroot/arm-buildroot-linux-gnueabihf/sysroot/usr/lib/ -rdFinally, copy the library files to the library file directory of the development board and you're done.
边栏推荐
- openpyxl to manipulate Excel files
- 基于 Kubernetes 的微服务项目整体设计与实现
- js 图形操作一(兼容pc、移动端实现 draggable属性 拖放效果)
- IDEA执行Test操作导致数据插入时出现了重复数据
- 请问如果想往mysql里面写数据,直接用flink-connector-jdbc就可以吧,可是我在f
- Weekly Report 2022-8-4
- 偏向锁/轻量锁/重级锁锁锁更健康,上锁解锁到底是怎么完成实现的
- 营销建议 | 您有一份八月营销月历待查收! 建议收藏 !
- Going to book tickets tomorrow, ready to go home~~
- Creo 9.0 基准特征:基准点
猜你喜欢

5.部署web项目到云服务器

使用稀疏 4D 卷积对 3D LiDAR 数据中的运动对象进行后退分割(IROS 2022)

eKuiper Newsletter 2022-07|v1.6.0:Flow 编排 + 更好用的 SQL,轻松表达业务逻辑

欧盟 | 地平线 2020 ENSEMBLE:D2.13 SOTIF Safety Concept(上)

Seata source code analysis: initialization process of TM RM client

上海控安技术成果入选市经信委《2021年上海市网络安全产业创新攻关成果目录》

mysql进阶(二十七)数据库索引原理

Redis源码解析:Redis Cluster

egg框架使用(一)

Oracle临时表空间作用
随机推荐
无题七
ECCV 2022 Oral 视频实例分割新SOTA:SeqFormer&IDOL及CVPR 2022 视频实例分割竞赛冠军方案...
mysql进阶(二十七)数据库索引原理
无题三
shell脚本实例
Overall design and implementation of Kubernetes-based microservice project
无题二
Keil升级到AC6后,到底有哪些变化?
只有一台交换机,如何实现主从自动切换之nqa
PAT乙级-B1019 数字黑洞(20)
七夕浪漫约会不加班,RPA机器人帮你搞定工作
There is only one switch, how to realize the nqa of master-slave automatic switching
Creo 9.0 基准特征:基准轴
微服务 技术栈
Weekly Report 2022-8-4
无题十
仿SBUS与串口数据固定转换
Xcode 12 ld: symbol(s) not found for architecture armv64
如何实现按键的短按、长按检测?
无题九