GSLAM
GSLAM copied to clipboard
QGLWidget not found when compiling project
When I tried to compile the project, it couldn't finish. Looks like it needs QGLWidget and can't find it nor does it exist in the CMakeLists.txt file.
It gave me the following error:
In file included from /path/GSLAM/GSLAM/gslam/GUI/QGLViewer/vec.h:32:0, from /path/GSLAM/GSLAM/gslam/GUI/QGLViewer/quaternion.h:26, from /path/GSLAM/GSLAM/gslam/GUI/QGLViewer/keyFrameInterpolator.h:29, from /path/GSLAM/GSLAM/gslam/GUI/QGLViewer/camera.h:26, from /path/GSLAM/GSLAM/gslam/GUI/QGLViewer/qglviewer.h:26, from /path/GSLAM/GSLAM/gslam/GUI/MainWindow.h:20, from /path/GSLAM/GSLAM/gslam/GUI/MainWindow.cpp:14: /path/GSLAM/GSLAM/gslam/GUI/QGLViewer/config.h:78:11: fatal error: QGLWidget: No such file or directory # include <QGLWidget> compilation terminated. CMakeFiles/gslam.dir/build.make:86: recipe for target 'CMakeFiles/gslam.dir/GSLAM/gslam/GUI/MainWindow.cpp.o' failed make[2]: *** [CMakeFiles/gslam.dir/GSLAM/gslam/GUI/MainWindow.cpp.o] Error 1 CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/gslam.dir/all' failed make[1]: *** [CMakeFiles/gslam.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2
Please update your gslam version and try again.