我跟着别人做的 然后看到有个jpeg1.h这个库出错了-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 358|回复: 0

[未解决] 我跟着别人做的 然后看到有个jpeg1.h这个库出错了

[复制链接]
发表于 2022-5-10 16:55 | 显示全部楼层 |阅读模式
Arduino:1.8.19 (Windows 10), 开发板:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"





















In file included from C:\Users\7\Documents\Arduino\libraries\ESP8266WeatherClock-main\ESP8266_WeatherClock\main.h:18,

                 from C:\Users\7\Documents\Arduino\libraries\ESP8266WeatherClock-main\ESP8266_WeatherClock\ESP8266_WeatherClock.ino:1:

jpeg1.h:2686:1: error: expected unqualified-id before numeric constant

2686 | 0xd699, 0xdedb, 0xf79e, 0xffdf, 0x2104, 0x0000, 0x0000, 0x1082,

      | ^~~~~~

jpeg1.h:2705:344: error: expected declaration before '}' token

2705 | 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104 };

      |                                                                                                                                                                                                                                                                                                                                                        ^

jpeg1.h:2707:16: error: redefinition of 'const uint16_t Weather_511_43 []'

2707 | const uint16_t Weather_511_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

C:\Users\7\Documents\Arduino\libraries\ESP8266WeatherClock-main\ESP8266_WeatherClock\jpeg1.h:2335:16: note: 'const uint16_t Weather_511_43 [1849]' previously defined here

2335 | const uint16_t Weather_511_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

jpeg1.h:2751:16: error: redefinition of 'const uint16_t Weather_512_43 []'

2751 | const uint16_t Weather_512_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

C:\Users\7\Documents\Arduino\libraries\ESP8266WeatherClock-main\ESP8266_WeatherClock\jpeg1.h:2379:16: note: 'const uint16_t Weather_512_43 [1849]' previously defined here

2379 | const uint16_t Weather_512_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

jpeg1.h:2795:16: error: redefinition of 'const uint16_t Weather_513_43 []'

2795 | const uint16_t Weather_513_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

C:\Users\7\Documents\Arduino\libraries\ESP8266WeatherClock-main\ESP8266_WeatherClock\jpeg1.h:2423:16: note: 'const uint16_t Weather_513_43 [1849]' previously defined here

2423 | const uint16_t Weather_513_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

jpeg1.h:2839:16: error: redefinition of 'const uint16_t Weather_514_43 []'

2839 | const uint16_t Weather_514_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

C:\Users\7\Documents\Arduino\libraries\ESP8266WeatherClock-main\ESP8266_WeatherClock\jpeg1.h:2467:16: note: 'const uint16_t Weather_514_43 [1849]' previously defined here

2467 | const uint16_t Weather_514_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

jpeg1.h:2883:16: error: redefinition of 'const uint16_t Weather_515_43 []'

2883 | const uint16_t Weather_515_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

C:\Users\7\Documents\Arduino\libraries\ESP8266WeatherClock-main\ESP8266_WeatherClock\jpeg1.h:2511:16: note: 'const uint16_t Weather_515_43 [1849]' previously defined here

2511 | const uint16_t Weather_515_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

jpeg1.h:2927:16: error: redefinition of 'const uint16_t Weather_900_43 []'

2927 | const uint16_t Weather_900_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

C:\Users\7\Documents\Arduino\libraries\ESP8266WeatherClock-main\ESP8266_WeatherClock\jpeg1.h:2555:16: note: 'const uint16_t Weather_900_43 [1849]' previously defined here

2555 | const uint16_t Weather_900_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

jpeg1.h:2971:16: error: redefinition of 'const uint16_t Weather_901_43 []'

2971 | const uint16_t Weather_901_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

C:\Users\7\Documents\Arduino\libraries\ESP8266WeatherClock-main\ESP8266_WeatherClock\jpeg1.h:2599:16: note: 'const uint16_t Weather_901_43 [1849]' previously defined here

2599 | const uint16_t Weather_901_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

jpeg1.h:3015:16: error: redefinition of 'const uint16_t Weather_999_43 []'

3015 | const uint16_t Weather_999_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

C:\Users\7\Documents\Arduino\libraries\ESP8266WeatherClock-main\ESP8266_WeatherClock\jpeg1.h:2643:16: note: 'const uint16_t Weather_999_43 [1849]' previously defined here

2643 | const uint16_t Weather_999_43[] PROGMEM = { 0x2104, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x1082, 0x2104,

      |                ^~~~~~~~~~~~~~

exit status 1

expected unqualified-id before numeric constant



在文件 -> 首选项开启
“编译过程中显示详细输出”选项
这份报告会包含更多信息。


捕获.JPG
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-12-1 05:06 , Processed in 0.079648 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表