Is it a problem of version?

Posted by yincanben on
URL: http://official-rtab-map-forum.206.s1.nabble.com/Is-it-a-problem-of-version-tp87.html

Hello,
     When I tried to install rtabmap in my another pc,Through git the latest source,I followed the guidance of this:
Have install ubuntu 12.04 and hydro.

$ git clone https://github.com/introlab/rtabmap.git rtabmap
$ cd rtabmap/build
$ cmake -DCMAKE_INSTALL_PREFIX=~/catkin_ws/devel ..  [<---double dots included]
$ make -j4
$ make install


$ cd ~/catkin_ws
$ git clone https://github.com/introlab/rtabmap_ros.git src/rtabmap_ros
$ catkin_make
The error is:

/home/ycb/catkin_ws/devel/lib/librtabmap_ros.so: undefined reference to `rtabmap::Odometry::process(rtabmap::SensorData const&, rtabmap::OdometryInfo*)'
......
make[2]: *** [/home/ycb/catkin_ws/devel/lib/rtabmap_ros/data_recorder] Error 1
make[1]: *** [rtabmap_ros/CMakeFiles/data_recorder.dir/all] Error 2

Can you check it to comfirm which problem occur during compilation.Thank you very much.