Skip to content

"error: ‘GLCD::cColor’ has not been declared" while compiling with graphlcd-base-0.1.9 #4

Description

@paolobormida

While compiling on Debian GNU/Linux 11 (bullseye) with graphlcd-base-0.1.9 I get the following errors (in other following lines as well):

glcddriver.c: In member function ‘void cglcdDriver::Clear()’:
glcddriver.c:312:11: error: ‘GLCD::cColor’ has not been declared
312 | GLCD::cColor::White,
| ^~~~~~
glcddriver.c:326:69: error: ‘GLCD::cColor’ has not been declared
326 | m_pBitmap->DrawLine(i, 0, i, m_pDrv->Height(), Inversion(GLCD::cColor::White));
| ^~~~~~
glcddriver.c:329:69: error: ‘GLCD::cColor’ has not been declared
329 | m_pBitmap->DrawLine(i, 0, i, m_pDrv->Height(), Inversion(GLCD::cColor::White));
| ^~~~~~
glcddriver.c:332:124: error: ‘GLCD::cColor’ has not been declared
332 | m_pBitmap->DrawLine(m_nOffsetX + m_nPixShiftX, i, m_pDrv->Width() - m_nOffsetX + m_nPixShiftX - 1, i, Inversion(GLCD::cColor::White));
| ^~~~~~
glcddriver.c:335:124: error: ‘GLCD::cColor’ has not been declared
335 | m_pBitmap->DrawLine(m_nOffsetX + m_nPixShiftX, i, m_pDrv->Width() - m_nOffsetX + m_nPixShiftX - 1, i, Inversion(GLCD::cColor::White));
| ^~~~~~

Does anyone have a workaround?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions