Package Details: ros-melodic-tf2-py 0.6.5-2

Git Clone URL: https://aur.archlinux.org/ros-melodic-tf2-py.git (read-only)
Package Base: ros-melodic-tf2-py
Description: ROS - The tf2_py package.
Upstream URL: https://wiki.ros.org/tf2_py
Licenses: BSD
Submitter: GPereira
Maintainer: bionade24
Last Packager: bionade24
Votes: 1
Popularity: 0.000036
First Submitted: 2018-05-08 14:13
Last Updated: 2019-10-13 09:49

Latest Comments

wilsonwong318 commented on 2018-10-04 13:38

@GPereira thanks!

GPereira commented on 2018-10-04 13:31

It's fixed, thanks

wilsonwong318 commented on 2018-10-04 13:14

Hi,I encounter an error!

/tmp/yaourt-tmp-wilson/aur-ros-melodic-tf2-py/src/geometry2-release-release-melodic-tf2_py-0.6.3-0/src/python_compat.h:31:33: error: invalid conversion from ‘const char’ to ‘char’ [-fpermissive] data = PyUnicode_AsUTF8AndSize(input, &size);

How can I fix it?Thank you!

timonegk commented on 2018-09-08 11:44

Here is the patch for python3.7 mentioned in https://aur.archlinux.org/packages/ros-melodic-desktop-full/#comment-662164

Add the following prepare function:

prepare() {
  # Python3.7 compatibility
  sed -i -e "/char \* data/d" -e "/data =/i\ \ const char * data;" -e "/PyString_AsStringAndSize/i\ \ char * data;" ${srcdir}/${_dir}/src/python_compat.h
}

As mentioned in the other comment, this is just a workaround until there is a new release for tf2_py with https://github.com/ros/geometry2/pull/320 included.