uzh-rpg / rpg_dvs_ros

ROS packages for DVS
MIT License
295 stars 153 forks source link

An error when run the code :catkin build davis_ros_driver #123

Closed lunaWU628 closed 2 years ago

lunaWU628 commented 2 years ago

When I run the code

catkin build davis_ros_driver

from https://github.com/uzh-rpg/rpg_dvs_ros, I met an error:

CMake Error at /opt/ros/melodic/share/roscpp/cmake/roscppConfig.cmake:173 (message):
  Project 'davis_ros_driver' tried to find library 'pthread'.  The library is
  neither a target nor built/installed properly.  Did you compile project
  'roscpp'? Did you find_package() it before the subdirectory containing its
  code is included?

This problem has been bothering me for a week. I tried many solutions, such as changing the Cmake version to 3.10.0 and 3.12.4, but it still didn't work, so I feel very desperate. I hope someone will help me.

Any suggestions from everyone will help me. Thanks

Melodic ros Ubuntu18.04