Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

error: 'TXINFO_DATA' was not declared in this scope
#1

Hello ,
I'm currently compiling the current firmware, but I always get an error message. Have I made the wrong setting?


Quote:Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

WeatherDuino_4PESP8266_WD_v7.4_b006:111:95: error: 'TXINFO_DATA' was not declared in this scope
 const uint8_t DataScreensOrder[6]    = {0, EXTRASENSORS_DATA, SOILLEAF_DATA, AIRQUALITY_DATA, TXINFO_DATA, FORECAST_DATA};
                                                                                               ^
C:\Users\skoda\Documents\Arduino\Sketchbook\WeatherDuino_4PESP8266_WD_v7.4_b006_20240107\software\WeatherDuino_4PESP8266_WD_v7.4_b006\D_TFT.ino: In function 'void draw_TXinfo()':
D_TFT:805:23: error: 'TXINFO_DATA' was not declared in this scope
   if (activeWindow != TXINFO_DATA)
                       ^
C:\Users\skoda\Documents\Arduino\Sketchbook\WeatherDuino_4PESP8266_WD_v7.4_b006_20240107\software\WeatherDuino_4PESP8266_WD_v7.4_b006\D_TFT.ino: In function 'void update_12Hforecast()':
D_TFT:943:32: error: 'myTZ' was not declared in this scope
   uint32_t TZ_offset = now() - myTZ.toUTC(now());
                                ^
C:\Users\skoda\Documents\Arduino\Sketchbook\WeatherDuino_4PESP8266_WD_v7.4_b006_20240107\software\WeatherDuino_4PESP8266_WD_v7.4_b006\D_TFT.ino: In function 'void Update_Display()':
D_TFT:1137:28: error: 'TXINFO_DATA' was not declared in this scope
   else if (activeWindow == TXINFO_DATA) draw_TXinfo();
                            ^
C:\Users\skoda\Documents\Arduino\Sketchbook\WeatherDuino_4PESP8266_WD_v7.4_b006_20240107\software\WeatherDuino_4PESP8266_WD_v7.4_b006\NET.ino: In function 'void getNtpTime()':
NET:69:15: error: 'myTZ' was not declared in this scope
       local = myTZ.toLocal(epoch);
               ^
exit status 1
'TXINFO_DATA' was not declared in this scope

pWS_Sun_Dancer  WeatherDuino 4Pro+ Millenium Falcon; WeatherDuino Stuff at Thingiverse
 
Reply
#2

Hi,

The software is compiling fine. Let's try to discover why it isn't compiling for you.


Code:
exit status 1
'TXINFO_DATA' was not declared in this scope

From your post it seems that TXINFO_ DATA declaration was disappeared.

Can you please post your Config_Options.h file?

Or check if when editing the Config_Options.h file you haven't messed line 138


Code:
#define TXINFO_DATA        2


Reg.
Werk_AG

Reply




Users browsing this thread: 1 Guest(s)