lsd_slam
lsd_slam copied to clipboard
Problem during the installation
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 to
QGLViewer::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 to
QGLViewer::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 to
QGLViewer::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
same issue, ROS Hydro+Ubuntu 12.04
same issue,ROS fuerte+Ubuntu 12.04
same problem. Any fix?
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.
fixed?I encouter same problem .....