The XXX library requires running on the XXX architecture (), and may not be compatible with your current development board () running on the XXX architecture.

The Audio library requires running on the sam architecture (), which may not be compatible with your current development board () running on the esp32 architecture.

Introduction


When using the Audio library, the esp32 development board is used, the arduino software opens the example, and the third-party library will have incompatible options. If this library is referenced, an error will be reported when compiling, indicating that the development board is not compatible.

solve


Find the problematic folder, open the library.properties file with Notepad, as shown below, modify the architectures option in it, and change it to * by default to support all development boards.

name=TFT_Touch
version=0.3
author=Bodmer
maintainer=Bodmer

sentence=A TFT touch screen library for Arduino AVR processors (UNO, Mega, Leonardo, Pro Mini etc)
paragraph=Supports TFT displays using the XPT2046 driver.
category=Display
url=https://github.com/Bodmer/TFT_Touch
//architectures=avr  //原来的设置,修改为下方设置
architectures=*

ref:

The arduino official example prompts that it is not compatible. For example: Compile prompt library version is compatible with avr, not compatible with esp32_arduino library is not compatible_qq_41666269's blog-CSDN blog

Guess you like

Origin blog.csdn.net/wwwlyj123321/article/details/130303550