lsd_slam icon indicating copy to clipboard operation
lsd_slam copied to clipboard

Problem during the installation

Open lironesamoun opened this issue 9 years ago • 6 comments

Hello,

I try to install lsd-slam but I encountered some problem. I did the command line rosmake lsd_slam but I got errors during the ocmpilation: CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o: In function PointCloudViewer::PointCloudViewer()': PointCloudViewer.cpp:(.text+0x1776): undefined reference toQGLViewer::QGLViewer(QWidget_, QGLWidget const_, QFlagsQt::WindowType)' CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o:(.rodata.ZTV16PointCloudViewer[vtable for PointCloudViewer]+0x18): undefined reference to QGLViewer::qt_metacast(char const*)' CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o:(.rodata._ZTV16PointCloudViewer[vtable for PointCloudViewer]+0x20): undefined reference toQGLViewer::qt_metacall(QMetaObject::Call, int, void*)' CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o:(.rodata.ZTV16PointCloudViewer[vtable for PointCloudViewer]+0x310): undefined reference to QGLViewer::setPlayPathKeyboardModifiers(QFlags<Qt::KeyboardModifier>)' CMakeFiles/viewer.dir/src/PointCloudViewer.cpp.o:(.rodata._ZTV16PointCloudViewer[vtable for PointCloudViewer]+0x318): undefined reference toQGLViewer::setAddKeyFrameKeyboardModifiers(QFlagsQt::KeyboardModifier)' collect2: ld a retourné 1 code d'état d'exécution make[3]: ** [../bin/viewer] Erreur 1 make[3]: quittant le répertoire « /home/samoun/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build » make[2]: *** [CMakeFiles/viewer.dir/all] Erreur 2 make[2]: quittant le répertoire « /home/samoun/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build » make[1]: *** [all] Erreur 2 make[1]: quittant le répertoire « /home/samoun/rosbuild_ws/package_dir/lsd_slam/lsd_slam_viewer/build » -------------------------------------------------------------------------------} [ rosmake ] Output from build of package lsd_slam_viewer written to: [ rosmake ] /home/sl001093/.ros/rosmake/rosmake_output-20150420-114707/lsd_slam_viewer/build_output.log [rosmake-2] Finished <<< lsd_slam_viewer [FAIL] [ 15.83 seconds ]
[ rosmake ] Halting due to failure in package lsd_slam_viewer. [ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 41 packages with 1 failures.
[ rosmake ] Summary output to directory

I Installed all the dependencies.

I use ROS Hydro + Ubuntu 12.04

lironesamoun avatar Apr 20 '15 03:04 lironesamoun

same issue, ROS Hydro+Ubuntu 12.04

rambleramble avatar Jul 03 '15 21:07 rambleramble

same issue,ROS fuerte+Ubuntu 12.04

xuetangli avatar Jul 21 '15 08:07 xuetangli

same problem. Any fix?

Geaper avatar May 24 '16 17:05 Geaper

I had errors similar to this when I had multiple versions of libQGLViewer installed, which I fixed by removing all traces I could find (find /usr/ -name '*QGLView*") and reinstalling.

bchu avatar Jul 06 '16 22:07 bchu

fixed?I encouter same problem .....

zhuangxiaopi avatar Jun 23 '19 15:06 zhuangxiaopi

@zhuangxiaopi I'm using a version for ROS melodic, but I had the same problem... I used the following commands:

sudo apt install libqglviewer-dev-qt4  
cd /usr/lib/x86_64-linux-gnu  
sudo ln -s libQGLViewer-qt4.so libQGLViewer.so

It may occurs more errors. Here some help for next issues.

mirellameelo avatar Jul 20 '20 01:07 mirellameelo