I have problems compiling tef firmware with arduino ide. #760
Closed
Overland-DX
started this conversation in
General
Replies: 3 comments 1 reply
-
Are you sure using ESP32 boardmanager v2.0.17? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Select the dropdown icon next to 3.1.1 and downgrade to latest v2.x version |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you so much :) Now everything works here :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have followed Installing the software to the letter.
but I always get an error message when compiling.
Anyone see what I've done wrong?
In file included from C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino:11:
C:\Users\janov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\WebServer\src/WebServer.h:222:32: error: 'FS' was not declared in this scope; did you mean 'fs::FS'?
222 | typedef std::function<String(FS &fs, const String &fName)> ETagFunction;
| ^~
| fs::FS
In file included from c:\Users\janov\Documents\Arduino\libraries\TFT_eSPI/Processors/TFT_eSPI_ESP32.h:138,
from c:\Users\janov\Documents\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:101,
from C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino:9:
C:\Users\janov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\FS\src/FS.h:87:7: note: 'fs::FS' declared here
87 | class FS {
| ^~
C:\Users\janov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\WebServer\src/WebServer.h:222:32: error: 'FS' was not declared in this scope; did you mean 'fs::FS'?
222 | typedef std::function<String(FS &fs, const String &fName)> ETagFunction;
| ^~
| fs::FS
C:\Users\janov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\FS\src/FS.h:87:7: note: 'fs::FS' declared here
87 | class FS {
| ^~
C:\Users\janov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\WebServer\src/WebServer.h:222:60: error: template argument 1 is invalid
222 | typedef std::function<String(FS &fs, const String &fName)> ETagFunction;
| ^
C:\Users\janov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\WebServer\src/WebServer.h:223:50: error: could not convert 'nullptr' from 'std::nullptr_t' to 'WebServer::ETagFunction' {aka 'int'}
223 | void enableETag(bool enable, ETagFunction fn = nullptr);
| ^~~~~~~
| |
| std::nullptr_t
C:\Users\janov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\libraries\WebServer\src/WebServer.h:240:32: error: cannot convert 'std::nullptr_t' to 'WebServer::ETagFunction' {aka 'int'} in initialization
240 | ETagFunction _eTagFunction = nullptr;
| ^~~~~~~
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino: In function 'void setup()':
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino:799:9: error: 'class TFT_eSPI' has no member named 'calibrateTouch'
799 | tft.calibrateTouch(TouchCalData, PrimaryColor, BackgroundColor, 30);
| ^~~~~~~~~~~~~~
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino:819:7: error: 'class TFT_eSPI' has no member named 'setTouch'
819 | tft.setTouch(TouchCalData);
| ^~~~~~~~
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino: In function 'void loop()':
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino:957:13: error: 'class TFT_eSPI' has no member named 'getTouchRawZ'
957 | if (tft.getTouchRawZ() > 100) { // Check if the touch is active
| ^~~~~~~~~~~~
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino:959:11: error: 'class TFT_eSPI' has no member named 'getTouch'
959 | tft.getTouch(&x, &y);
| ^~~~~~~~
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino: In function 'void ScreensaverTimerInit()':
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino:1481:30: error: too many arguments to function 'hw_timer_t* timerBegin(uint32_t)'
1481 | timScreensaver = timerBegin(0, 80, true);
| ~~~~~~~~~~^~~~~~~~~~~~~
In file included from C:\Users\janov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\cores\esp32/esp32-hal.h:98,
from C:\Users\janov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\cores\esp32/Arduino.h:36,
from C:\Users\janov\AppData\Local\arduino\sketches\271519C2E4E4156FED20EF5AF76636EF\sketch\TEF6686_ESP32.ino.cpp:1:
C:\Users\janov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\cores\esp32/esp32-hal-timer.h:35:13: note: declared here
35 | hw_timer_t timerBegin(uint32_t frequency);
| ^~~~~~~~~~
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino:1482:23: error: too many arguments to function 'void timerAttachInterrupt(hw_timer_t, void (*)())'
1482 | timerAttachInterrupt(timScreensaver, ScreensaverInterrupt, true);
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\janov\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.1.1\cores\esp32/esp32-hal-timer.h:50:6: note: declared here
50 | void timerAttachInterrupt(hw_timer_t *timer, void (*userFunc)(void));
| ^~~~~~~~~~~~~~~~~~~~
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino: In function 'void ScreensaverTimerSet(byte)':
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino:1495:5: error: 'timerAlarmWrite' was not declared in this scope; did you mean 'timerWrite'?
1495 | timerAlarmWrite(timScreensaver, value * TIMER_SCREENSAVER_BASE, true);
| ^~~~~~~~~~~~~~~
| timerWrite
C:\Users\janov\Documents\TEF6686_ESP32\TEF6686_ESP32.ino:1497:5: error: 'timerAlarmEnable' was not declared in this scope; did you mean 'timerAlarm'?
1497 | timerAlarmEnable(timScreensaver);
| ^~~~~~~~~~~~~~~~
| timerAlarm
exit status 1
Compilation error: 'class TFT_eSPI' has no member named 'calibrateTouch'
Beta Was this translation helpful? Give feedback.
All reactions