当前位置:网站首页>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
边栏推荐
- Talk about the "hybrid mode" of esxi virtual switch and port group
- Systemmediasize startup option added in esxi 7.0 update 1C
- 保研面试中常见的英语问题有哪些?
- error: redefinition of ‘xxx‘
- Matlab 信号处理
- Matlab simulation of radar imaging 3 - multi-target detection
- clock tree分析实例
- CLIP Learning Transferable Visual Models From Natural Language Supervision
- Pytorch learning notes
- Hugging face 的入门使用
猜你喜欢

基于 YOLOV5 的 SAR 图像舰船检测
![[yolov5] environment construction: win11 + mx450](/img/04/4da9b3748d5f45ef73cffcc48f8609.png)
[yolov5] environment construction: win11 + mx450

Pytorch learning note 4 - automatic calculation of gradient descent autograd

低功耗设计-isolation cell

CLIP Learning Transferable Visual Models From Natural Language Supervision

机器学习笔记 5 —— Logistic Regression

Shuffle Net_v1-shuffle_v2

Install visual studio 2019 steps and vs2019 offline installation package on win7

Pycharm2019 set editor theme and default code

qt批量操作控件,并设置信号槽
随机推荐
Mae mask self encoding is scalable learning
EfficientNET_V1
ConNeXt
USB network native driver for esxi updated to support esxi7.0 Update 2
Distinguishing PCB quality by color is a joke in itself
Ship detection in SAR image based on yolov5
MATLAB signal processing
qt批量操作控件,并设置信号槽
Precautions for EMI design of switching power supply circuit in layout process
Overall understanding of PLC
Pytorch learning note 4 - automatic calculation of gradient descent autograd
雷达成像 Matlab 仿真 4 —— 距离分辨率分析
clock tree分析实例
Beginners choose sensors
Shuffle Net_ v1-shuffle_ v2
Why should fluke dsx2-5000 network cable tester be calibrated once a year?
How to test industrial Ethernet cables (using fluke dsx-8000)?
Design and analysis of contactor coil control circuit
Terminal resistance detailed signal complete series hardware learning notes 7
Hugging face 的问题记录 I