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

Revision history [back]

click to hide/show revision 1
initial version

I had the exact same problem while using ROS Fuerte in Ubuntu 12.04, and MATLAB 2012a. You don’t need to roll back to an earlier version of Ubuntu the problem is in the the gcc and g++ symbolic links. On my Ubuntu 12.04 I had two versions so I changed the symbolic links in /usr/bin to the 4.4 versions by navigation to the directory and using the following code:

ln -s g++ g++-4.4 ln -s gcc gcc-4.4

I also changes the symbolic links to MATLAB's libstdc++.so.6 as shown in the answer at the link below: http://answers.ros.org/question/33326/matlab-engine-and-ros-library-incompatible/

Everything compiled fine and I was able to run the MATLAB publisher and subscriber tutorials at: https://alliance.seas.upenn.edu/~meam620/wiki/index.php?n=Roslab.IpcBridge