当前位置:网站首页>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.
边栏推荐
猜你喜欢
随机推荐
matcher中find,matches,lookingAt匹配字符串的不同之处说明
ffmpeg drawtext 添加文本水印
CVPR 2022 | 将X光图片用于垃圾分割,港中大(深圳)探索大规模智能垃圾分类
C语言-数组
Neuron Newsletter 2022-07|新增非 A11 驱动、即将支持 OPC DA
Creo 9.0 基准特征:基准坐标系
链表中的数字相加----链表专题
Concurrent CAS
百行代码发射红心,程序员何愁命不中女朋友!
并发之CAS
MySQL内部函数介绍
pytorch余弦退火学习率CosineAnnealingLR的使用
什么是CRM决策分析管理?
tensorflow.keras无法引入layers
21 Days of Deep Learning - Convolutional Neural Networks (CNN): Clothing Image Classification (Day 3)
Creo 9.0 基准特征:基准点
无题十
egg框架使用(一)
tensorflow.keras cannot introduce layers
egg框架使用(二)









