当前位置:网站首页>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.gz
After 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/tmp
Then execute the following instructions in turn to start compiling and installing
makemake install
After 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/ -rd
Finally, copy the library files to the library file directory of the development board and you're done.
边栏推荐
- Tanabata romantic date without overtime, RPA robot helps you get the job done
- dotnet OpenXML parsing PPT charts Getting started with area charts
- 今天是元宵节~~
- leetcode: 529. 扫雷游戏
- 请问如果想往mysql里面写数据,直接用flink-connector-jdbc就可以吧,可是我在f
- 新白娘子传奇系列
- 2.4G无线收发模块的应用
- 汇编语言(8)x86内联汇编
- Creo 9.0 基准特征:基准轴
- eKuiper Newsletter 2022-07|v1.6.0:Flow 编排 + 更好用的 SQL,轻松表达业务逻辑
猜你喜欢
egg框架使用(一)
shell脚本实例
汇编语言(8)x86内联汇编
Overall design and implementation of Kubernetes-based microservice project
使用 External Secrets Operator 安全管理 Kubernetes Secrets
Redis源码解析:Redis Cluster
干货!生成模型的评价与诊断
科普大佬说 | 港大黄凯斌老师带你解锁黑客帝国与6G的关系
欧盟 | 地平线 2020 ENSEMBLE:D2.13 SOTIF Safety Concept(上)
js 图形操作一(兼容pc、移动端实现 draggable属性 拖放效果)
随机推荐
C语言-数组
使用 External Secrets Operator 安全管理 Kubernetes Secrets
Is there a problem with writing this?How to synchronize data in sql-client
请问如果想往mysql里面写数据,直接用flink-connector-jdbc就可以吧,可是我在f
PAT乙级-B1020 月饼(25)
XCODE12 在使用模拟器(SIMULATOR)时编译错误的解决方法
tensorflow.keras cannot introduce layers
shell脚本实例
Tanabata romantic date without overtime, RPA robot helps you get the job done
交换机端口的三种类型详解与hybrid端口实验
5.部署web项目到云服务器
HStreamDB Newsletter 2022-07|分区模型优化、数据集成框架进一步完善
程序员的七种武器
无题六
Undefined symbols for architecture arm64解决方案
2.4G无线收发模块的应用
正则表达式replaceAll()方法具有什么功能呢?
Going to book tickets tomorrow, ready to go home~~
tensorflow.keras无法引入layers
After Keil upgrades to AC6, what changes?