GSLAM icon indicating copy to clipboard operation
GSLAM copied to clipboard

QGLWidget not found when compiling project

Open ibrahim-akrab opened this issue 5 years ago • 1 comments

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

ibrahim-akrab avatar Jun 24 '19 10:06 ibrahim-akrab

Please update your gslam version and try again.

zdzhaoyong avatar Oct 18 '19 06:10 zdzhaoyong