ROS 編譯錯誤以及解決方案

2021-09-12 11:11:14 字數 3256 閱讀 8491

錯誤一:could not find bullet (missing: bullet_dynamics_library

解決辦法:

sudo apt-get install libbullet-dev
錯誤二:could not find sdl (missing: sdl_library sdl_include_dir)

解決辦法:

sudo apt-get install libsdl1.2-dev
錯誤三:could not find sdl_image (missing: sdl_image_libraries

解決辦法:

sudo apt-get install libsdl-image1.2-dev
錯誤四:could not find a package configuration file provided by "move_base_msgs"

解決辦法:

sudo apt-get install ros-kinetic-move-base-msgs
錯誤五:no package 'orocos-bfl' found

解決辦法:

sudo apt-get install ros-kinetic-bfl
錯誤六:could not find libg2o!

解決辦法:

sudo apt-get install ros-kinetic-libg2o
錯誤七: unable to find suitesparse

解決辦法:

sudo apt-get install libsuitesparse-dev
錯誤八:no package 'yaml-cpp' found

sudo apt-get install libyaml-cpp-dev
錯誤九:could not find a package configuration file provided by "cv_bridge" with

sudo apt-get install ros-kinetic-cv-bridge
錯誤十:could not find the required component 'image_transport'.

sudo apt-get install ros-kinetic-image-transport
錯誤十一:could not find the required component 'pcl_conversions'.

sudo apt-get install ros-kinetic-pcl-conversions
錯誤十二: could not find the required component 'pcl_ros'.

sudo apt-get install ros-kinetic-pcl-ros
錯誤十三:could not find the required component 'angles'.

sudo apt-get install ros-kinetic-angles
錯誤十四:could not find the required component 'diagnostic_updater'.

sudo apt-get install ros-kinetic-diagnostic-updater
錯誤十五:could not find a package configuration file provided by "roslint"

sudo apt-get install ros-kinetic-roslint
錯誤十六:could not find the required component 'laser_geometry'.

sudo apt-get install ros-kinetic-laser-geometry
錯誤十七:could not find the required component 'map_msgs'.

sudo apt-get install ros-kinetic-map-msgs
錯誤十八:could not find the required component 'interactive_markers'.

sudo apt-get install ros-kinetic-interactive-markers
錯誤十九:could not find the required component 'tf_conversions'.

sudo apt-get install ros-kinetic-tf-conversions
錯誤二十:could not find the required component 'ecl_threads'.

sudo apt-get install ros-kinetic-ecl-threads

vs 編譯 錯誤提示 解決方案

首先必須搞清楚專案 專案屬性 配置屬性 c c 生成 執行庫中四個選項的關係 多執行緒除錯dll mdd 對應 md dynamicdebug 多執行緒dll md 對應 md dynamicrelease 多執行緒 mt 對應 md staticrelease 多執行緒 mtd 對應 md sta...

ros編譯錯誤問題解決

報錯如下 usr lib x86 64 linux gnu libopencv imgcodecs.so.3.2.0 undefined reference to tiffreaddirectory libtiff 4.0 opt ros melodic lib libresource retrie...

一次vivado hls編譯錯誤的解決方案

前不久把vivado裝到linux上,今天來跑 寫了一段 後準備測試,一編譯,出現一連串的錯誤。提示error missing binary operator before token 問題就出在 whether to use feature set f.define glibc use f gli...