sudo apt-get install libqglviewer-dev
网址:https://www.cnblogs.com/cc111/p/9382694.html
报错:
rosrun lsd_slam_viewer viewer
*** Error in `/home/slam/rosbuild_ws/package_dir/LSD-SLAM/lsd_slam_viewer/bin/viewer': realloc(): invalid pointer: 0x00007fddd03df820 ***
======= Backtrace: =========
- sudo apt-get purge --auto-remove qt5-default
- wget https://distfiles.macports.org/libQGLViewer/libQGLViewer-2.6.3.tar.gz
- qglviewer, decompress and cd into the folder, then qmake & make & sudo make install
- rebuild lsd_slam
- sudo ldconfig