"Original" Octovis the solution of core dump running under Ubuntu16.04

Source: Internet
Author: User

I slam research novice, using the system for Ubuntu16.04. This article: http://www.cnblogs.com/hitlrk/p/6667253.html

In the process of learning slam, the use of octomap for the establishment of the eight-tree map, Octomap compiled installation without problems, Octovis module also installed successfully. Sadly, when I call the Octovis module to open the existing eight-tree map, there will be a lot of garbled, garbled finally there is a core Dump.

This error and 2016 G2o_viewer in Ubuntu16.04 under the same error, but the current G2O author has updated the source code, so that g2o in 16.04 can run flawlessly. Because I have suffered g2o_viewer under the Ubuntu16.04 (don't ask me why not install 14, I am also very strange that my computer can only be installed 16.04) can not use the trouble. So I explored the problem of Octovis.

After a series of analysis, I found that there was a problem with the dependencies. In many places, dependency Libqglviewer-dev are required for OCTOMAP compilation installations. Libqglviewer is a C + + library that simplifies the QT development of OpenGL three-dimensional browsers. It is also a must-have dependency in the compilation installation of all new and old versions of G2O.

But! Under Ubuntu16.04, Octomap is compiled and installed, but cannot use Libqglviewer-dev. Instead, you should use LIBQGLVIEWER-DEV-QT4:

1 sudo apt-get Install Libqglviewer-dev-qt4

When installed, the system will automatically unload the Libqglviewer-dev if it is loaded.

After the installation is complete, compile and install Octomap, if you have previously compiled the installation, be sure to recompile the installation, so that Octomap update.

Finally again using the Octovis to open the eight-tree map is visible already normal.

Also: After compiling and installing OCTOMAP, you can reinstall the Libqglviewer-dev back to provide dependencies for other functional modules, such as G2O.

sudo apt-get Install Libqglviewer-dev

Because Libqglviewer-dev-qt4 and Libqglviewer-dev can only exist one, LIBQGLVIEWER-DEV-QT4 does not support G2O. Installing back to Libqglviewer-dev does not affect the use of Octovis because it affects only the Octomap compilation installation. Pro-Test ~

My problem is that it appears and is resolved under Ubuntu16.04, and other versions of the system have never been tested. For the first time, I hope to communicate with each other to promote each other, citing reproduced please indicate the source: http://www.cnblogs.com/hitlrk/p/6667253.html!

"Original" Octovis the solution of core dump running under Ubuntu16.04

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.