Problems building spencer_people_tracking

asked 2021-03-24 06:07:48 -0500

Alessandro Melino gravatar image

Hello, I am trying to install from source the package spencer_people_tracking on a Raspberry pi 4 with Raspberry PI OS (64 bits) and ROS Noetic.

Trying to build it with catkin config --init --cmake-args -DCMAKE_BUILD_TYPE=RelWithDebInfo the following error appears:

Traceback (most recent call last):
  File "/usr/bin/catkin", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 3191, in <module>
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 3175, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 3204, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 583, in _build_master
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 900, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/", line 786, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'trollius' distribution was not found and is required by catkin-tools

On the other hand, trying to build it with catkin_make the following error appears:

make[2]: *** No rule to make target '/usr/lib/aarch64-linux-gnu/', needed by '/home/pi/catkin_ws/devel/lib/'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:12017: spencer_people_tracking/utils/track_annotation_tool/CMakeFiles/track_annotation_tool_rviz_plugin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** No rule to make target '/usr/lib/aarch64-linux-gnu/', needed by '/home/pi/catkin_ws/devel/lib/'.  Stop.
make[1]: *** [CMakeFiles/Makefile2:11694: spencer_people_tracking/visualization/spencer_tracking_rviz_plugin/CMakeFiles/spencer_tracking_rviz_plugin.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j4 -l4" failed

How can I solve this and build it in one of both ways?

Best regards. Alessandro

edit retag flag offensive close merge delete