Trouble compiling Penn's ipc-bridge [closed]

asked 2013-01-04 11:44:59 -0500

roboticist gravatar image

updated 2014-01-28 17:14:44 -0500

ngrennan gravatar image

Hi, I am working on a robotics project where we would like to run a high level control algorithm in Matlab, "subscribing" to robot state estimate and "publishing" the desired control inputs.

It seems like the ipc-bridge package available at

alliance.seas.upenn.edu/~meam620/wiki/index.php?n=Roslab.IpcBridge

would be the best thing, but I am having trouble with step 7 where the message folders are compiled.

roscd ipc_roslib && make

works ok, no errors, but the next step

roscd ipc_std_msgs && make

throws tons of errors of "undefined reference to ros::(some ros function)", finally ending with

collect2: ld returned 1 exit status
make: *** [std_msgs_Bool_publisher] Error 1

So it looks like there is some problem with linking to the ROS library, or something.

I am using ubuntu 12.04 with ROS fuerte, along with Matlab 2012a.

I also found this website

groups.google.com/forum/?fromgroups=#!topic/ros-sig-matlab/5zEqeFTj8qI

which discusses issues with incompatible boost versions between ROS and Matlab, but I am not clear on how they fixed the problem, or if that is what is happening here.

Does anyone here use the ipc-bridge package in their project? How did you get it to work?

edit: after posting this, I found the same question had already been asked, and their solution worked for me:

answers.ros.org/question/45838/error-when-installing-ipc-bridge-for-ros-and-matlab/
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by tfoote
close date 2013-08-27 11:41:56