-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP8266 version not working - Possible solution #8
Comments
+1 : that hack fixes it for me. |
+1: fixed for me as well. |
Thank you for your help, but it seems that I have encountered new problems! help me again Please ! Thanks Adafruit-GFX-Library version: 1.5.6 `Arduino:1.8.10 Hourly Build 2019/05/21 09:33 (Windows 7), 开发板:"Generic ESP8266 Module, 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), ck, 26 MHz, 40MHz, DOUT (compatible), 512K (no SPIFFS), 2, nonos-sdk 2.2.1 (legacy), v2 Lower Memory, Disabled, None, Only Sketch, 115200" C:\arduino-nightly\arduino-builder -dump-prefs -logger=machine -hardware C:\arduino-nightly\hardware -hardware C:\Users\Administrator\AppData\Local\Arduino15\packages -tools C:\arduino-nightly\tools-builder -tools C:\arduino-nightly\hardware\tools\avr -tools C:\Users\Administrator\AppData\Local\Arduino15\packages -built-in-libraries C:\arduino-nightly\libraries -libraries C:\Users\Administrator\Documents\Arduino\libraries -fqbn=esp8266:esp8266:generic:xtal=80,vt=flash,exception=disabled,ssl=all,ResetMethod=ck,CrystalFreq=26,FlashFreq=40,FlashMode=dout,eesz=512K,led=2,sdk=nonosdk221,ip=lm2f,dbg=Disabled,lvl=None____,wipe=none,baud=115200 -vid-pid=1A86_7523 -ide-version=10810 -build-path C:\Users\ADMINI C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:87:5: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: In member function 'void Adafruit_GFX::drawCircle(int16_t, int16_t, int16_t, uint16_t)': C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:115:13: error: 'x1' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:70:48: error: invalid conversion from 'double (*)(double)' to 'int16_t {aka short int}' [-fpermissive] #define _swap_int16_t(a, b) { int16_t t = a; a = b; b = t; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:117:9: note: in expansion of macro '_swap_int16_t'
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:70:55: error: assignment of function 'double y1(double)' #define _swap_int16_t(a, b) { int16_t t = a; a = b; b = t; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:117:9: note: in expansion of macro '_swap_int16_t'
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:70:55: error: cannot convert 'int16_t {aka short int}' to 'double(double)' in assignment #define _swap_int16_t(a, b) { int16_t t = a; a = b; b = t; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:117:9: note: in expansion of macro '_swap_int16_t'
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:121:10: error: 'x1' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:122:17: error: invalid conversion from 'double (*)(double)' to 'int' [-fpermissive]
In file included from C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include/stdlib.h:11:0,
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include/stdlib.h:72:12: error: initializing argument 1 of 'int abs(int)' [-fpermissive] int _EXFUN(abs,(int));
C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2/tools/sdk/libc/xtensa-lx106-elf/include/_ansi.h:65:30: note: in definition of macro '_EXFUN' #define _EXFUN(name, proto) name proto
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:127:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:134:13: error: 'steep' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: At global scope: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:321:6: error: redefinition of 'void Adafruit_GFX::drawCircle(int16_t, int16_t, int16_t, uint16_t)' void Adafruit_GFX::drawCircle(int16_t x0, int16_t y0, int16_t r,
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:104:6: error: 'void Adafruit_GFX::drawCircle(int16_t, int16_t, int16_t, uint16_t)' previously defined here void Adafruit_GFX::drawCircle(int16_t x0, int16_t y0, int16_t r,
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: In member function 'virtual size_t Adafruit_GFX::write(uint8_t)': C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1142:25: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1144:37: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1148:69: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1156:34: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1167:45: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1172:77: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1174:81: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: At global scope: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1189:6: error: redefinition of 'void Adafruit_GFX::setCursor(int16_t, int16_t)' void Adafruit_GFX::setCursor(int16_t x, int16_t y) {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:117:8: error: 'void Adafruit_GFX::setCursor(int16_t, int16_t)' previously defined here void setCursor(int16_t x, int16_t y) { cursor_x = x; cursor_y = y; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1200:9: error: redefinition of 'int16_t Adafruit_GFX::getCursorX() const' int16_t Adafruit_GFX::getCursorX(void) const {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:204:11: error: 'int16_t Adafruit_GFX::getCursorX() const' previously defined here int16_t getCursorX(void) const { return cursor_x; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1210:9: error: redefinition of 'int16_t Adafruit_GFX::getCursorY() const' int16_t Adafruit_GFX::getCursorY(void) const {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:212:11: error: 'int16_t Adafruit_GFX::getCursorY() const' previously defined here int16_t getCursorY(void) const { return cursor_y; };
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: In member function 'void Adafruit_GFX::setTextSize(uint8_t)': C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1221:5: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: At global scope: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1230:6: error: redefinition of 'void Adafruit_GFX::setTextColor(uint16_t)' void Adafruit_GFX::setTextColor(uint16_t c) {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:127:8: error: 'void Adafruit_GFX::setTextColor(uint16_t)' previously defined here void setTextColor(uint16_t c) { textcolor = textbgcolor = c; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1243:6: error: redefinition of 'void Adafruit_GFX::setTextColor(uint16_t, uint16_t)' void Adafruit_GFX::setTextColor(uint16_t c, uint16_t b) {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:136:8: error: 'void Adafruit_GFX::setTextColor(uint16_t, uint16_t)' previously defined here void setTextColor(uint16_t c, uint16_t bg) {
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1254:6: error: redefinition of 'void Adafruit_GFX::setTextWrap(boolean)' void Adafruit_GFX::setTextWrap(boolean w) {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:148:8: error: 'void Adafruit_GFX::setTextWrap(boolean)' previously defined here void setTextWrap(boolean w) { wrap = w; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1264:9: error: redefinition of 'uint8_t Adafruit_GFX::getRotation() const' uint8_t Adafruit_GFX::getRotation(void) const {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:194:11: error: 'uint8_t Adafruit_GFX::getRotation() const' previously defined here uint8_t getRotation(void) const { return rotation; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1302:6: error: redefinition of 'void Adafruit_GFX::cp437(boolean)' void Adafruit_GFX::cp437(boolean x) {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:164:8: error: 'void Adafruit_GFX::cp437(boolean)' previously defined here void cp437(boolean x=true) { _cp437 = x; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: In member function 'void Adafruit_GFX::charBounds(char, int16_t*, int16_t*, int16_t*, int16_t*, int16_t*, int16_t*)': C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1348:19: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1360:51: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1364:39: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1369:20: error: 'x1' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1370:26: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1370:38: error: invalid conversion from 'double (*)(double)' to 'int16_t {aka short int}' [-fpermissive]
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1371:20: error: 'x2' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1372:20: error: 'y2' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1381:19: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1384:31: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1388:27: error: 'textsize' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1391:16: error: 'y2' was not declared in this scope
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: At global scope: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1495:9: error: redefinition of 'int16_t Adafruit_GFX::width() const' int16_t Adafruit_GFX::width(void) const {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:178:11: error: 'int16_t Adafruit_GFX::width() const' previously defined here int16_t width(void) const { return _width; };
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1505:9: error: redefinition of 'int16_t Adafruit_GFX::height() const' int16_t Adafruit_GFX::height(void) const {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:186:11: error: 'int16_t Adafruit_GFX::height() const' previously defined here int16_t height(void) const { return _height; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: In member function 'void Adafruit_GFX_Button::initButtonUL(Adafruit_GFX*, int16_t, int16_t, uint16_t, uint16_t, uint16_t, uint16_t, uint16_t, char*, uint8_t)': C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1583:3: error: '_textsize' was not declared in this scope _textsize = textsize; ^ C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: In member function 'void Adafruit_GFX_Button::drawButton(boolean)': C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1611:56: error: '_textsize' was not declared in this scope _gfx->setCursor(_x1 + (_w/2) - (strlen(_label) * 3 * _textsize),
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp: At global scope: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1637:6: error: redefinition of 'void Adafruit_GFX_Button::press(boolean)' void Adafruit_GFX_Button::press(boolean p) {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:269:8: error: 'void Adafruit_GFX_Button::press(boolean)' previously defined here void press(boolean p) { laststate = currstate; currstate = p; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1648:9: error: redefinition of 'boolean Adafruit_GFX_Button::isPressed()' boolean Adafruit_GFX_Button::isPressed() { return currstate; }
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:280:11: error: 'boolean Adafruit_GFX_Button::isPressed()' previously defined here boolean isPressed(void) { return currstate; };
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1714:10: error: prototype for 'uint8_t* GFXcanvas1::getBuffer()' does not match any in class 'GFXcanvas1' uint8_t* GFXcanvas1::getBuffer(void) {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:308:12: error: candidate is: uint8_t* GFXcanvas1::getBuffer() const uint8_t *getBuffer(void) const { return buffer; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1809:10: error: prototype for 'uint8_t* GFXcanvas8::getBuffer()' does not match any in class 'GFXcanvas8' uint8_t* GFXcanvas8::getBuffer(void) {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:328:12: error: candidate is: uint8_t* GFXcanvas8::getBuffer() const uint8_t *getBuffer(void) const { return buffer; }
C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:1923:11: error: prototype for 'uint16_t* GFXcanvas16::getBuffer()' does not match any in class 'GFXcanvas16' uint16_t* GFXcanvas16::getBuffer(void) {
In file included from C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.cpp:34:0: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_GFX.h:348:13: error: candidate is: uint16_t* GFXcanvas16::getBuffer() const uint16_t *getBuffer(void) const { return buffer; }
使用 1.0 版本的库 Ticker 在文件夹: C:\Users\Administrator\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.2\libraries\Ticker |
i found another way to make ESP8266 work. Avoid using timer_ticker while the loop is running! You need timer_ticker in setup to show the intro.
You do not need timer_ticker after loop is running. Just use
with |
aussieW mod worked for me. Thank you |
Thanks for the share, works perfect ;) |
`Arduino:1.8.13 Hourly Build 2020/03/25 03:33 (Windows 10), 开发板:"WeMos D1 R1, 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" In file included from C:\Users\Administrator\Desktop\WiFi-Tetris-Clock-master\ESP8266\EzTimeTetrisClockESP8266\EzTimeTetrisClockESP8266.ino:26:0: C:\Users\Administrator\sketchbook\libraries\PxMatrix-master/PxMatrix.h: In member function 'void PxMATRIX::fm612xWriteRegister(uint16_t, uint8_t)': C:\Users\Administrator\sketchbook\libraries\PxMatrix-master/PxMatrix.h:393:5: error: 'spi_t' was not declared in this scope
C:\Users\Administrator\sketchbook\libraries\PxMatrix-master/PxMatrix.h:393:13: error: 'spi' was not declared in this scope
C:\Users\Administrator\sketchbook\libraries\PxMatrix-master/PxMatrix.h:393:23: error: 'class SPIClass' has no member named 'bus'
C:\Users\Administrator\sketchbook\libraries\PxMatrix-master/PxMatrix.h:399:29: error: 'spiSimpleTransaction' was not declared in this scope
C:\Users\Administrator\sketchbook\libraries\PxMatrix-master/PxMatrix.h:413:26: error: 'spiEndTransaction' was not declared in this scope
` |
+1
and
fixed also my problem +1 +1 +1 |
My screen is flickering when the blocks drops. I have tried both solutions and nothing worked. Can someone help me ? |
Not an issue, but some info that may help others to get the ESP8266 version working.
I found that some code was added to the Adafruit-GFX-Library in release V1.4.0 (current is V1.5.5) which causes the ESP8266 to reset. After commenting out the offending code, it now seems to work perfectly. No guarantees, but it works for me.
If you want to give it a go then make the following changes to Adafruit_GFX.cpp
The text was updated successfully, but these errors were encountered: