ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

rosmake rgbdslam_freiburg

asked 2013-09-28 07:19:17 -0500

Reza gravatar image

Hello, I have problem with compiling rgbdslam_freiburg in ROS Fuerte,

I have installed rgbdslam_freiburg and g2o in fuerte_workspace using

svn co <a href="http://alufr-ros-pkg.googlecode.com/svn/trunk/rgbdslam_freiburg">http://alufr-ros-pkg.googlecode.com/svn/trunk/rgbdslam_freiburg</a> 
svn co <a href="https://code.ros.org/svn/ros-pkg/stacks/vslam/trunk/g2o">https://code.ros.org/svn/ros-pkg/stacks/vslam/trunk/g2o</a>

also installed ros-fuerte-vision-opencv , ros-fuerte-octomap , ros-fuerte-octomap-mapping and modified CMakeLists.txt of rgbdslam to adapt with g2o package dependent and remarked SiftGPU

compiled first g2o without failure, but got error compiling rgbdslam as following

  /home/reza/fuerte_workspace/g2o/include/g2o/solvers/cholmod/linear_solver_cholmod.h:273: undefined reference to `g2o::get_monotonic_time()'
  CMakeFiles/rgbdslam.dir/src/transformation_estimation.o: In function `g2o::G2OBatchStatistics::globalStats()':
  /home/reza/fuerte_workspace/g2o/include/g2o/core/batch_stats.h:73: undefined reference to `g2o::G2OBatchStatistics::_globalStats'
  CMakeFiles/rgbdslam.dir/src/transformation_estimation.o: In function `g2o::LinearSolverCholmod<Eigen::Matrix<double, -1, -1, 0, -1, -1> >::computeSymbolicDecomposition(g2o::SparseBlockMatrix<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&)':
  /home/reza/fuerte_workspace/g2o/include/g2o/solvers/cholmod/linear_solver_cholmod.h:332: undefined reference to `g2o::get_monotonic_time()'
  CMakeFiles/rgbdslam.dir/src/transformation_estimation.o: In function `g2o::LinearSolverCholmod<Eigen::Matrix<double, -1, -1, 0, -1, -1> >::solvePattern(g2o::SparseBlockMatrix<Eigen::Matrix<double, -1, -1, 0, -1, -1> >&, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > const&, g2o::SparseBlockMatrix<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&)':
  /home/reza/fuerte_workspace/g2o/include/g2o/solvers/cholmod/linear_solver_cholmod.h:235: undefined reference to `g2o::MarginalCovarianceCholesky::MarginalCovarianceCholesky()'
  /home/reza/fuerte_workspace/g2o/include/g2o/solvers/cholmod/linear_solver_cholmod.h:236: undefined reference to `g2o::MarginalCovarianceCholesky::setCholeskyFactor(int, int*, int*, double*, int*)'
  /home/reza/fuerte_workspace/g2o/include/g2o/solvers/cholmod/linear_solver_cholmod.h:238: undefined reference to `g2o::MarginalCovarianceCholesky::computeCovariance(g2o::SparseBlockMatrix<Eigen::Matrix<double, -1, -1, 0, -1, -1> >&, std::vector<int, std::allocator<int> > const&, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > const&)'
  CMakeFiles/rgbdslam.dir/src/transformation_estimation.o: In function `g2o::G2OBatchStatistics::globalStats()':
  /home/reza/fuerte_workspace/g2o/include/g2o/core/batch_stats.h:73: undefined reference to `g2o::G2OBatchStatistics::_globalStats'
  CMakeFiles/rgbdslam.dir/src/transformation_estimation.o: In function `g2o::LinearSolverCholmod<Eigen::Matrix<double, -1, -1, 0, -1, -1> >::solvePattern(g2o::SparseBlockMatrix<Eigen::Matrix<double, -1, -1, 0, -1, -1> >&, std::vector<std::pair<int, int>, std::allocator<std::pair<int, int> > > const&, g2o::SparseBlockMatrix<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&)':
  /home/reza/fuerte_workspace/g2o/include/g2o/solvers/cholmod/linear_solver_cholmod.h:245: undefined reference to `g2o::MarginalCovarianceCholesky::~MarginalCovarianceCholesky()'
  /home/reza/fuerte_workspace/g2o/include/g2o/solvers/cholmod/linear_solver_cholmod.h:245: undefined reference to `g2o::MarginalCovarianceCholesky::~MarginalCovarianceCholesky()'
  CMakeFiles/rgbdslam.dir/src/transformation_estimation.o: In function `g2o::LinearSolverCholmod<Eigen::Matrix<double, -1, -1, 0, -1, -1> >::solveBlocks(double**&, g2o::SparseBlockMatrix<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&)':
  /home/reza/fuerte_workspace/g2o/include/g2o/solvers/cholmod/linear_solver_cholmod.h:194: undefined reference to `g2o::MarginalCovarianceCholesky::MarginalCovarianceCholesky()'
  /home/reza/fuerte_workspace/g2o/include/g2o/solvers/cholmod/linear_solver_cholmod.h:195: undefined reference to `g2o ...
(more)
edit retag flag offensive close merge delete

Comments

1

Rgbdslam depends on the fuerte package of g2o not the latest version from git

Felix Endres gravatar image Felix Endres  ( 2013-10-21 06:46:10 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-09-29 03:14:02 -0500

Reza gravatar image

sorry, it was my fault, I should not remove <rosdep name="libg2o"/> from rgbdslam manifest.xml, it is now compiled.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-09-28 07:19:17 -0500

Seen: 363 times

Last updated: Sep 28 '13