当前位置:网站首页>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.
边栏推荐
- 【零基础玩转BLDC系列】无刷直流电机无位置传感器三段式启动法详细介绍及代码分享
- shell脚本实例
- EU | Horizon 2020 ENSEMBLE: D2.13 SOTIF Safety Concept (Part 2)
- leetcode 剑指 Offer 10- II. 青蛙跳台阶问题
- tensorflow.keras cannot introduce layers
- 链表中的数字相加----链表专题
- 七夕浪漫约会不加班,RPA机器人帮你搞定工作
- 茄子科技CEO仇俊:以用户为中心,做用户真正需要的产品
- matcher中find,matches,lookingAt匹配字符串的不同之处说明
- 2022.8.3
猜你喜欢
leetcode: 529. Minesweeper Game
茄子科技CEO仇俊:以用户为中心,做用户真正需要的产品
Redis源码解析:Redis Cluster
5.部署web项目到云服务器
Which big guy has the 11G GI and ojvm patches in April or January 2020, please help?
Oracle temporary table space role
Advanced usage of C language
Creo 9.0 基准特征:基准平面
express hot-reload
轩辕实验室丨欧盟EVITA项目预研 第一章(四)
随机推荐
express hot-reload
dotnet OpenXML 解析 PPT 图表 面积图入门
营销建议 | 您有一份八月营销月历待查收! 建议收藏 !
egg框架使用(二)
matcher中find,matches,lookingAt匹配字符串的不同之处说明
2022-08-01 Review the basic binary tree and operations
【零基础玩转BLDC系列】无刷直流电机无位置传感器三段式启动法详细介绍及代码分享
Does flink cdc support synchronization from oracle dg library?
pytorch余弦退火学习率CosineAnnealingLR的使用
my journal link
偏向锁/轻量锁/重级锁锁锁更健康,上锁解锁到底是怎么完成实现的
无题十三
Excuse me if you want to write data in mysql, with flink - connector - JDBC directly is ok, but I'm in the f
Creo 9.0 基准特征:基准轴
线程之Happens-before规则
Custom filters and interceptors implement ThreadLocal thread closure
无题一
今天是元宵节~~
Why do I recommend using smart async?
leetcode: 529. 扫雷游戏