Matlab Engine and ROS Library Incompatible?
Hi there,
i am trying to establich a connection between Matlab 2012a and ROS fuerte. For the beginning i tried to modify the Listener/Talker tutorial. I just included the matlab api in the listener.cpp. It took me some time until i could compile the package with make. I changed the CMakeLists.txt in the beginner_tutorials folder in the following way and it seemed to work:
include_directories(/usr/local/MATLAB/R2012a/extern/include)
link_directories(/usr/local/MATLAB/R2012a/bin/glnx86)
link_directories(/usr/local/MATLAB/R2012a/sys/os/glnx86)
target_link_libraries(listener libeng.so)
But when i want to start a node now, i get the following errors:
/home/simon/ros_workspace/beginner_tutorials/bin/listener: /usr/local/MATLAB/R2012a/bin/glnx86/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /opt/ros/fuerte/lib/libroscpp.so)
Are there some libs that are incompatible? Is there a way to fix that?
I think you are using ipc bridge to connect if I am not wrong. I posted the solution to this problem in your previous question http://answers.ros.org/question/33279/matlab-ros-communication-with-ipc_bridge_ros . do check it.