tum-vision / lsd_slam

LSD-SLAM
GNU General Public License v3.0
2.6k stars 1.23k forks source link

Memory map error running viewer #230

Open romdos opened 7 years ago

romdos commented 7 years ago

Hi! I have Ubuntu 16.04 and ROS kinetic. My hardware parameters are Core i3 3217U 1800 Mhz, Intel HD Graphics 4000, RAM 8 Gb. I have installed lsd_slam according to the next set of commands (where patch folder is in zip file):

sudo apt-get install ros-kinetic-desktop-full ros-kinetic-libg2o ros-kinetic-cv-bridge liblapack-dev libblas-dev freeglut3-dev libqglviewer-dev libsuitesparse-dev libx11-dev

WORKDIR=$(pwd)

cd lsd-slam
wget https://github.com/tum-vision/lsd_slam/archive/catkin.zip
unzip catkin.zip
rm -f catkin.zip
mv lsd_slam-catkin src
cp -R patch/* src/
export CMAKE_PREFIX_PATH=/opt/ros/kinetic/
catkin_make

patch.zip

But when I run rosrun lsd_slam_viewer viewer, I get error which was described in the screenshot here https://github.com/tum-vision/lsd_slam/issues/228. The same error is here https://github.com/tum-vision/lsd_slam/issues/222.

Also I tried this wget in catkin_workspace/src and run catkin_make, but I get the next error https://github.com/tum-vision/lsd_slam/issues/227.

suneelbelkhale commented 7 years ago

Have you figured out the solution to this yet? I'm running this on a Jetson TX1 and I'm having a similar issue. Thanks!

romdos commented 7 years ago

As I remember, this problem was related to libqglviewer version and Ubuntu 16. Finally, I set up lsd slam in Ubuntu 14 without problems.