cmake error - smithgithub/ROS- GitHub Wiki

CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find Bullet (missing: BULLET_DYNAMICS_LIBRARY BULLET_COLLISION_LIBRARY BULLET_MATH_LIBRARY BULLET_SOFTBODY_LIBRARY BULLET_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.5/Modules/FindBullet.cmake:95 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) navigation/map_server/CMakeLists.txt:11 (find_package)

 — Configuring incomplete, errors occurred! See also "/home/liubintao/Project_rikirobot/build/CMakeFiles/CMakeOutput.log". See also "/home/liubintao/Project_rikirobot/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed liubintao@cincoze-DX-1100:~/Project_rikirobot$ rosdep where-defined bullet https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml liubintao@cincoze-DX-1100:~/Project_rikirobot$ sudo apt-get install libbullet-dev

CMake Error at realsense-ros/realsense2_camera/CMakeLists.txt:48 (message):

Intel RealSense SDK 2.0 is missing, please install it from https://github.com/IntelRealSense/librealsense/releases

 — Configuring incomplete, errors occurred! See also "/home/liubintao/Project_rikirobot/build/CMakeFiles/CMakeOutput.log". See also "/home/liubintao/Project_rikirobot/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed

Installing the packages:

Register the server's public key:
sudo apt-key adv --keyserver keys.gnupg.net --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE || sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-key F6E65AC044F831AC80A06380C8B3A55A6F3EFCDE In case the public key still cannot be retrieved, check and specify proxy settings: export http_proxy="http://<proxy>:<port>"
, and rerun the command. See additional methods in the following link.
Add the server to the list of repositories:
Ubuntu 16 LTS:
sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo xenial main" -u
Ubuntu 18 LTS:
sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo bionic main" -u
Ubuntu 20 LTS:
sudo add-apt-repository "deb https://librealsense.intel.com/Debian/apt-repo focal main" -u
Install the libraries (see section below if upgrading packages):
sudo apt-get install librealsense2-dkms
sudo apt-get install librealsense2-utils
The above two lines will deploy librealsense2 udev rules, build and activate kernel modules, runtime library and executable demos and tools.
Optionally install the developer and debug packages:
sudo apt-get install librealsense2-dev
sudo apt-get install librealsense2-dbg
With dev package installed, you can compile an application with librealsense using g++ -std=c++11 filename.cpp -lrealsense2 or an IDE of your choice.

Reconnect the Intel RealSense depth camera and run: realsense-viewer to verify the installation.

Verify that the kernel is updated : modinfo uvcvideo | grep "version:" should include realsense string

⚠️ **GitHub.com Fallback** ⚠️