[ros-users] Communicating between two user created packages

Peshala Jayasekara peshala_24 at yahoo.com
Wed Oct 6 22:49:52 UTC 2010


Thanks Josh,
It works.



________________________________
From: Josh Faust <jfaust at willowgarage.com>
To: User discussions <ros-users at code.ros.org>
Sent: Thursday, October 7, 2010 5:32:06
Subject: Re: [ros-users] Communicating between two user created packages



>undefined reference to `my_namespace::X::X()`
>
>

You need to add the linker flags to the exports as well.  For example, from 
roslib:
lflags="-Wl,-rpath,${prefix}/lib -L${prefix}/lib -lroslib"

Josh


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101006/226735a8/attachment-0003.html>


More information about the ros-users mailing list