【bug】Could not find a package configuration file provided by “serial” encountered in ROS compilation

Problem Description

Encountered the following problems when compiling ROS

Could not find a package configuration file provided by "serial" with any
  of the following names:

    serialConfig.cmake
    serial-config.cmake

insert image description here

solution

sudo apt-get install ros-melodic-serial

ps: The melodic in the middle depends on your own ros version

Guess you like

Origin blog.csdn.net/qq_36497369/article/details/128673202