我尝试在ros动力学上安装到s300库(cob_sick_s300),但我一直处于cmake步骤上。
这里有完整的日志,您有想法吗?
-- Found the following Boost libraries:
-- filesystem
-- thread
-- system
-- chrono
-- date_time
-- atomic
-- Checking for module 'libvlc'
-- No package 'libvlc' found
CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message):
A required package was not found
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal)
cob_driver/cob_mimic/CMakeLists.txt:7 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "/home/tarik/s300_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/tarik/s300_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
答案 0 :(得分:0)
尝试以下代码。
sudo apt-get install libvlccore-dev
sudo apt-get install libvlc-dev
好的,这应该为您提供所需的vlc库。
如果仍然找不到,那么您很有可能在.bashrc或PKG_CONFIG_PATH环境设置中进行过操作。
点击此链接可在链接到libVLC 部分
下安装正确的路径。