Skip to content

Build failing on Ubuntu 20.04 #19

@burtbick

Description

@burtbick

While trying to build from the current code from the repo I'm getting the following error:

/usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:607:33: error: no matching function for call to ‘Line::Line()’
new (dst++) T();
In file included from /home/.../grblController/src/widgets/codeEditor/GCodeEditorWidget.cpp:9:
/home/.../grblController/src/widgets/render/Renderer3DWidget.h:33:14: note: candidate: ‘Line::Line(const Vertex&, const Vertex&)’
33 | explicit Line(const Vertex &start, const Vertex &end) : start(start), end(end) {};
| ^~~~
Followed by other candidates.

There was also a warning from src/machine/Error.h about reaching the end of a non void function, which I corrected. But you might want to address that as well. That was dealing with the switch(error) processing.

There, may of course be other build errors that may happen when the first one is corrected.

Is there a version of this code that builds cleanly? Is this perhaps something related to Ubuntu 20.04?

Thanks,

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