Linux下开发遇到的疑难杂症以及解决方案

1、ros-indigo 编译navigation包遇到的编译问题

     1-1 ros-Indigo 编译navigation中amcl包CMake版本低问题

         编译报错: CMake Error at navigation/amcl/CMakeLists.txt:1 (cmake_minimum_required):
                           CMake 3.11 or higher is required.  You are running version 2.8.12.2

          解决:主要是因为git clone navigation包时候没有选对分支,具体如下:

                   git clone #####navigation.git

                   git branch -r

                   git checkout indigo_devel

      1-2    package ‘orocos-bfl’ not found

            解决:https://blog.csdn.net/start_from_scratch/article/details/51160893

   

    2、catkin_make找不到bullet,Could NOT find Bullet (missing: BULLET_DYNAMICS_LIBRARY)

          解决: rosdep where-defined bullet  && sudo apt-get install libbullet-dev

 3、函数名后加const用法说明:

        3-1  函数名后加const

        3-2  const各种用法​​​​​​​

4、 CMake 升级和卸载

        4-1 亲测有效cmake2.8升级到cmake 3.11方法

你可能感兴趣的:(ROS,Linux,Linux,ros,编译问题)