当前位置:网站首页>In vscade, the source file "adafruit_gfx.h" cannot be opened“
In vscade, the source file "adafruit_gfx.h" cannot be opened“
2022-07-28 06:32:00 【Alice_ wm】
In the use of Visual Studio Code( or VSCode) Plug in for PlatformIO when , When using someone else's project , I often meet ** Unable to open source file “Adafruit_GFX.h”** The problem of , This is caused by the loss of library files during code migration .
For example, I imported this header package into the code , But I don't have this in my folder Adafruit_GFX.h file , Therefore, an error will be reported and the source file cannot be opened “Adafruit_GFX.h”.
Solution :
First we open the project , Then open the PIO Home page , Click on the left Libraries Tab open the tab of the Library , We will see that there are four tabs in the library, which are :
Registry: Warehouse , Here we can find the third-party library we need , You can also see the keyword tags sorted by downloads , You can also see the download ranking of the latest Library
Installed: Here we can see the installed libraries , And manage them
Build-in: Here we can see the built-in libraries in the installed platform and framework
Updates : Here we can see the libraries that need to be updated
According to the requirements mentioned above , We are Registry Find the library in the tab , We search the English corresponding to the timer in the search box Adafruit_GFX Library:




After installing the library file according to the above steps , You can basically compile successfully ( Better turn it off vs Re open the software ). here c_cpp_properties.json The contents of the file will also write the path of the library file just installed .
This article has referred to the following blog , If there is infringement, please contact me to delete .
https://blog.csdn.net/acktomas/article/details/115393834?ops_request_misc=&request_id=&biz_id=102&utm_term=lib_deps&utm_medium=distribute.pc_search_result.none-task-blog-2allsobaiduweb~default-1-115393834.142v33control,185v2control&spm=1018.2226.3001.4187
边栏推荐
- Terminal resistance detailed signal complete series hardware learning notes 7
- PyTorch 学习笔记 4 —— 自动计算梯度下降 AUTOGRAD
- Trouble encountered in cable testing -- a case study of a manufacturer?
- Analysis of MOSFET damage at the moment of power failure of isolated power supply
- Transformer self attention mechanism and complete code implementation
- Shuffle Net_v1-shuffle_v2
- Install visual studio 2019 steps and vs2019 offline installation package on win7
- mysql删表不删库
- 雷达成像 Matlab 仿真 1 —— LFM信号及其频谱
- Talking about fluke optical cable certification? What is CFP? What is OFP?
猜你喜欢

Beginners choose sensors

Learning notes of hardware circuit design 1 -- temperature rise design

qt设置加载界面的几种方法

雷达成像 Matlab 仿真 1 —— LFM信号及其频谱

Word自动目录字体修改和行间距的问题

VAN(DWConv+DWDilationConv+PWConv)

Surge impact immunity experiment (surge) -emc series Hardware Design Notes 6

雷达成像 Matlab 仿真 3 —— 多目标检测

Beta分布(概率的概率)

USB network native driver for esxi updated to support esxi7.0.1
随机推荐
EfficientNET_V1
How to pop up the message dialog box
npm yarn相关的操作
解决内存占用比应用进程占用高的问题
USB network native driver for esxi updated to support esxi7.0 Update 2
基于 YOLOV5 的 SAR 图像舰船检测
Fluke dtx-1800 and its accessories dtx-cha002 channel adapter channel replacement RJ45 socket notes
【服务器使用记录】通过跳板机登录远程服务器并进行文件传输
ICC2分析时序的神器 analyze_design_violations
测量电脑电池容量
ICC2(一)Preparing the Design
MySQL delete tables without deleting databases
Hugging face 的问题记录 I
Bag of tricks training convolution network skills
Briefly introduce EMD decomposition, Hilbert transform and spectral method
Varistor design parameters and classic circuit recording hardware learning notes 5
Chinese display problem of calendarextender control
Learning notes on hardware circuit design 2 -- step-down power circuit
qt实现将相关信息输出到日志文件
qt绘画事件-设置背景图片