编译https://github.com/CIR-KIT/steer_drive_ros时出现的问题

解决gazebo对应的protobuf版本问题:

I've come across to the same problem. I'm using Ubuntu 16.04, ROS Kinetic and Gazebo 7.0.

First, be sure that you're using the protoc with a version above 2.6.1. Gazebo 7 works along with the protoc-2.6.1. You can learn the version of the protoc installed on your system with $ protoc --version command. It was 3.2.0 in my system. Thus this solution replaces the protobuf installed on your system with the version 2.6.1.

I solved the problem via using the following instructions.

  1. $ cd /usr/local/include/google
  2. sudo rm -rf protobuf
  3. Go, download protobuf-2.6.1 from here and extract the contents. (I downloaded protobuf-2.6.1.tar.gz)
  4. I followed the installation instructions given here. Which are:

    $ ./autogen.sh

    $ ./configure

    $ make

    $ make check

    $ sudo make install

    $ sudo ldconfig

转载于:https://www.cnblogs.com/gary-guo/p/10231768.html

你可能感兴趣的:(编译https://github.com/CIR-KIT/steer_drive_ros时出现的问题)