rosmake rgbdslam_freiburg
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 ...
Rgbdslam depends on the fuerte package of g2o not the latest version from git