Solve platformio add library error problem
Problem: Adding TFT_eSPI library prompted that SPI.h could not be found
In file included from .pio\libdeps\esp32dev\TFT_eSPI\TFT_eSPI.cpp:17:0:
.pio\libdeps\esp32dev\TFT_eSPI\TFT_eSPI.h:32:17: fatal error: SPI.h: No such file or directory
Solution: Add a sentence to the platformio.ini file
lib_ldf_mode = deep+
There may still be warnings, but no error will be reported
can be compiled successfully
Read More:
- How to Solve Ceres library Error when compiling A-LOAM
- How to Solve Git error: out of memory
- How to Solve Git submodule update error
- How to Solve cocos2dx msb3073 Error
- Kotlin: How to Solve kapt import error
- How to Solve Maven Error: Return code is: 501 , ReasonPhrase:HTTPS Required.
- Solutions to error reporting after adding comments to XML files
- How to Solve Arxiv Upload with PDFLatex Error
- How to Solve Hyperf Failed to Start Error After Aliyun ACM Installed
- [Solved] dyld: Library not loaded: /System/Library/Frameworks/Network.framework/Network
- How to Solve Cocoapods Installation Failure
- How to Solve Docker failed to initialize Error
- How to Solve Archetype generate Error
- [Solved] Failed to invoke @ExceptionHandler method is reported after adding @ControllerAdvice
- VScode: How to Solve golong plug-in install Error
- How to Solve J-link Error (Two Command Errors & Solution)
- How to Solve ModuleNotFoundError: No module named ‘_bz2‘
- How to Solve “/usr/bin/ld: skipping incompatible”
- [app] install and compile libimobililedevice, How to solve the error
- How to Solve ruby rails Install Error [Windows]