Skip to content
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

Build failing on Ubuntu 20.04 #19

Open
burtbick opened this issue Feb 25, 2022 · 0 comments
Open

Build failing on Ubuntu 20.04 #19

burtbick opened this issue Feb 25, 2022 · 0 comments

Comments

@burtbick
Copy link

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant