当前位置:网站首页>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
边栏推荐
猜你喜欢
![[yolov5] environment construction: win11 + mx450](/img/04/4da9b3748d5f45ef73cffcc48f8609.png)
[yolov5] environment construction: win11 + mx450

Random life-1

t-SNE降维可视化

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

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

Matlab simulation of radar imaging 1 - LFM signal and its spectrum

IP地址的五大分类

Weight decay

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

I heard that you are also practicing when I interviewed several junior interns.
随机推荐
Cronbach’s α? Kmo coefficient? Factor load? The most understandable course of questionnaire reliability and validity analysis in history!!! (SPSS and AMOS)
保研面试中常见的英语问题有哪些?
Matlab simulation of radar imaging 4 - range resolution analysis
IP地址的五大分类
set_ clock_ groups
qt设置加载界面的几种方法
ICC2使用report_placement检查floorplan
PT physical aware based on multi voltage
CLIP Learning Transferable Visual Models From Natural Language Supervision
Exploration of Clickhouse aggregation internal mechanism of aggregation
Create a basic report using MS chart controls
set_multicycle_path
Electric fast burst (EFT) design - EMC series hardware design notes 4
qt中Qthread线程的使用以及安全关闭
Talk about the "hybrid mode" of esxi virtual switch and port group
Pycharm2019 set editor theme and default code
Word自动目录字体修改和行间距的问题
What are the common English questions in the postgraduate interview?
What happens when MySQL tables change from compressed tables to ordinary tables
PyTorch 学习笔记 3 —— DATASETS & DATALOADERS & TRANSFORMS