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

GUI build fails in toolpathviz #13

Open
mhirsch opened this issue May 31, 2013 · 0 comments
Open

GUI build fails in toolpathviz #13

mhirsch opened this issue May 31, 2013 · 0 comments

Comments

@mhirsch
Copy link

mhirsch commented May 31, 2013

I was interested in building toolpathviz. I have the latest master checked out, and from the root I run

scons --gui

I get this:

$ scons --gui
scons: Reading SConscript files ...
Targets:

Miracle-Grue build script

  • it is now 2013-05-31 16:46:49.477955 (Qt and cppUnit are sold separately)

Operating system: [linux2]
** CPPUNIT version checK: sh: dpkg: command not found
Loading MakerBot install tool
Building miracle_gui
Using env variable QTDIR: /usr/lib64/qt-3.3
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: obj
g++ -o obj/submodule/toolpathviz/gcode.o -c -Wall -Wextra -O2 -DMB_VERSION_STR="9.9.9" -DQT_GUI_LIB -DQT_CORE_LIB -DQT_OPENGL_LIB -DQT_SHARED -Iobj/src -Iobj/src/mgl -I/usr/include -Iobj/submodule/EzCppLog -Iobj/submodule/optionparser/src -Iobj/src/eigen -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/QtOpenGL obj/submodule/toolpathviz/gcode.cpp
obj/submodule/toolpathviz/gcode.cpp: In member function ‘void gcodeModel::saveMiracleGcode(const char_, void_)’:
obj/submodule/toolpathviz/gcode.cpp:160:35: error: no matching function for call to ‘mgl::GCoder::GCoder(mgl::GCoderConfig&, mgl::ProgressBar_&)’
obj/submodule/toolpathviz/gcode.cpp:160:35: note: candidates are:
In file included from obj/src/mgl/miracle.h:15:0,
from obj/submodule/toolpathviz/gcode.h:12,
from obj/submodule/toolpathviz/gcode.cpp:1:
obj/src/mgl/gcoder.h:92:5: note: mgl::GCoder::GCoder(const mgl::GrueConfig&, mgl::ProgressBar_)
obj/src/mgl/gcoder.h:92:5: note: no known conversion for argument 1 from ‘mgl::GCoderConfig’ to ‘const mgl::GrueConfig&’
obj/src/mgl/gcoder.h:83:7: note: mgl::GCoder::GCoder(const mgl::GCoder&)
obj/src/mgl/gcoder.h:83:7: note: candidate expects 1 argument, 2 provided
obj/submodule/toolpathviz/gcode.cpp: In function ‘void addPointsFromOnePath(const PATH&, Scalar, Scalar, Scalar, PointKind, PointKind, int, Scalar, Scalar, std::vector&, layerMap&)’:
obj/submodule/toolpathviz/gcode.cpp:327:3: error: ‘PointType’ was not declared in this scope
obj/submodule/toolpathviz/gcode.cpp:327:13: error: expected ‘;’ before ‘nPoint’
obj/submodule/toolpathviz/gcode.cpp:330:12: error: ‘nPoint’ was not declared in this scope
obj/submodule/toolpathviz/gcode.cpp: In function ‘void addPointsFromPath(const PATH&, Scalar, Scalar, Scalar, PointKind, int, Scalar, Scalar, std::vector&, layerMap&)’:
obj/submodule/toolpathviz/gcode.cpp:372:3: error: ‘PointType’ was not declared in this scope
obj/submodule/toolpathviz/gcode.cpp:372:13: error: expected ‘;’ before ‘currentPoint’
obj/submodule/toolpathviz/gcode.cpp:373:43: error: ‘currentPoint’ was not declared in this scope
scons: *** [obj/submodule/toolpathviz/gcode.o] Error 1
scons: building terminated because of errors.

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