[ros-users] [PCL]: seg fault in convertCloudToArray

Brian Gerkey gerkey at willowgarage.com
Tue Aug 3 15:16:26 UTC 2010


On Tue, Aug 3, 2010 at 7:51 AM, Dejan Pangercic
<dejan.pangercic at gmail.com> wrote:
> So without any debug symbols. I then tried to re-build the pcl by
> explicitly enabling the Debug directive (by setting "set
> (ROS_BUILD_TYPE Debug)") but still without any success.
> So my question is I guess how can I debug this code without having to
> pollute the convertCloudToArray function with cerr-s?

Setting ROS_BUILD_TYPE to Debug should be sufficient to get debug
symbols in the resulting binaries.  When you say, "without any
success," what exactly happened?  I assume that you rebuilt pcl after
changing ROS_BUILD_TYPE?

	brian.



More information about the ros-users mailing list