Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation instruction errors in kinetic branch #42

Closed
anuppari opened this issue Dec 9, 2016 · 3 comments
Closed

Installation instruction errors in kinetic branch #42

anuppari opened this issue Dec 9, 2016 · 3 comments

Comments

@anuppari
Copy link

anuppari commented Dec 9, 2016

There are a few typos in the installation instructions for kinetic.

  1. Need to clone the c++03 branch of g2o
  2. Put clone in the correct folder (i.e., g2ofork in the below example)
  3. Actually clone rgbslam instead of g2o twice
  4. Remove ros-kinetic-libg2o

This should circumvent the qt/Boost parsing issues as well as g2o needing c++11. This works on ROS Kinetic and Ubuntu 16.04. Here's the updated version, changes in bold

#Prepare Workspace
source /opt/ros/kinetic/setup.bash
mkdir -p ~/rgbdslam_catkin_ws/src
cd ~/rgbdslam_catkin_ws/src
catkin_init_workspace
cd ~/rgbdslam_catkin_ws/
catkin_make
source devel/setup.bash

#Get and build g2o fork
mkdir -p ~/g2ofork
git clone -b c++03 https://github.com/felixendres/g2o.git g2ofork
mkdir -p ~/g2ofork/build
cd ~/g2ofork/build
cmake .. -DCMAKE_INSTALL_PREFIX=~/g2ofork/install -DG2O_BUILD_EXAMPLES=OFF
make -j2 install

#Get and build rgbdslam_v2
export G2O_DIR=~/g2ofork/install
cd ~/rgbdslam_catkin_ws/src
git clone -b kinetic https://github.com/felixendres/rgbdslam_v2.git
cd ~/rgbdslam_catkin_ws/
rosdep update
rosdep install rgbdslam
sudo apt-get purge ros-kinetic-libg2o
catkin_make 
felixendres added a commit that referenced this issue Dec 10, 2016
@anuppari
Copy link
Author

rosdep install rgbdslam will re-download and install ros-kinetic-libg2o. Hence the package has to be purged after installing all dependencies.

@felixendres
Copy link
Owner

Thanks, I guess I should remove libg2o from package.xml then. And next time I'll better do it, when I can actually verify it works :-)

@felixendres
Copy link
Owner

Ok, done. I have put the installation sequence in a script that includes your feedback and verified it works on my machine. Thanks for your input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants