ipc_bridge Example Publisher MATLAB Error
Hi,
I've been following the ipc_bridge package (https://alliance.seas.upenn.edu/~meam620/wiki/index.php?n=Roslab.IpcBridge) in order to connect MATLAB to ROS. I've installed MEX Compiler and able to compile every package with the correct version of GCC (with the help of linking mex compiler with the correct gcc version). Note that I'm using Groovy on Ubuntu 12.04.
However, when I try to run the ~/catkin_ws/src/ipc-bridge/ipc_bridge_stack/ipc_bridge_example/example_publisher.m from MATLAB, I get the following errors:
Warning: Name is nonexistent or not a directory: rospack.
> In path at 110
In addpath at 87
In example_publisher at 9
Warning: Directory access failure:
/usr/local/MATLAB/R2012a/sys/os/glnxa64/libstdc++.so.6.
> In path at 110
In addpath at 87
In example_publisher at 9
Warning: Name is nonexistent or not a directory: version `GLIBCXX_3.4.15' not found
(required by /opt/ros/groovy/lib/librospack.so)/bin.
> In path at 110
In addpath at 87
In example_publisher at 9
Undefined function 'geometry_msgs_Twist' for input arguments of type 'char'.
Error in example_publisher (line 13)
pid=geometry_msgs_Twist('connect','publisher','example_module','twist');
What should I do to overcome this? Any help will be greately appreciated.
Did you solve this problem? I met a problem which is the same as yours.
@ZYS: please don't post answers, unless you can actually answer a question. Use comments for these kind of things. Thanks.