Hi Yanming,
I checked again with Ubuntu 14.04, ROS Indigo, gcc(4.8.4), PCL 1.7 (libpcl-1.7-all-dev), g2o (ros-indigo-libg2o), rtabmap built from source (0.10.12) with c++11, and I don't have this error when launching "rgbd_mapping.launch" for example.
Is the standalone launching correctly ("$ rtabmap")? Is it only rtabmapviz node that has this error, or rtabmap and rgbd_odometry nodes too?
The c++11 requirement came from this
commit, introduced in 0.10.12. If you build rtabmap without GTSAM and G2O, the c++11 flag will not be added. However, you will not have access to GTSAM or G2O, only TORO (default) for graph optimization.
$ cd rtabmap/build
$ cmake -DWITH_GTSAM=OFF -DWITH_G2O=OFF ..
I think g2o binaries installed from ROS (ros-indigo-libg2o) don't require c++11. You could comment the lines added to main CMakeLists.txt in the above commit.
cheers,
Mathieu