No package 'libavcodec' found
Hi, I'm a beginner sorry for the (probably) trivial question - but I'm stuck. I'm trying to get my usb_cam to work with ROS Noetic for Windows. My problem is following:
after
c:\opt\ros\noetic\x64\~\catkin-ws>catkin_make
I get this:
Base path: c:\opt\ros\noetic\x64\~\catkin-ws
Source space: c:\opt\ros\noetic\x64\~\catkin-ws\src
Build space: c:\opt\ros\noetic\x64\~\catkin-ws\build
Devel space: c:\opt\ros\noetic\x64\~\catkin-ws\devel
Install space: c:\opt\ros\noetic\x64\~\catkin-ws\install
####
#### Running command: "cmake c:\opt\ros\noetic\x64\~\catkin-ws\src -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCATKIN_DEVEL_PREFIX=c:\opt\ros\noetic\x64\~\catkin-ws\devel -DCMAKE_INSTALL_PREFIX=c:\opt\ros\noetic\x64\~\catkin-ws\install -G Ninja" in "c:\opt\ros\noetic\x64\~\catkin-ws\build"
####
-- Using CATKIN_DEVEL_PREFIX: C:/opt/ros/noetic/x64/~/catkin-ws/devel
-- Using CMAKE_PREFIX_PATH: C:\opt\ros\noetic\x64\tools\vcpkg\installed\x64-windows;c:\opt\ros\noetic\x64
-- This workspace overlays: c:/opt/ros/noetic/x64
-- Using PYTHON_EXECUTABLE: C:/opt/ros/noetic/x64/python.exe
-- Using default Python package layout
-- Using empy: C:/opt/ros/noetic/x64/lib/site-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: C:/opt/ros/noetic/x64/~/catkin-ws/build/test_results
-- Found gtest: gtests will be built
-- Using Python nosetests: C:/opt/ros/noetic/x64/Scripts/nosetests.exe
-- catkin 0.8.9
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 1 packages in topological order:
-- ~~ - usb_cam
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'usb_cam'
-- ==> add_subdirectory(usb_cam)
-- Checking for module 'libavcodec'
-- No package 'libavcodec' found
CMake Error at C:/opt/ros/noetic/x64/Lib/site-packages/cmake/data/share/cmake-3.18/Modules/FindPkgConfig.cmake:545 (message):
A required package was not found
Call Stack (most recent call first):
C:/opt/ros/noetic/x64/Lib/site-packages/cmake/data/share/cmake-3.18/Modules/FindPkgConfig.cmake:733 (_pkg_check_modules_internal)
usb_cam/CMakeLists.txt:11 (pkg_check_modules)
-- Configuring incomplete, errors occurred!
See also "C:/opt/ros/noetic/x64/~/catkin-ws/build/CMakeFiles/CMakeOutput.log".
See also "C:/opt/ros/noetic/x64/~/catkin-ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
I have not been able to install the libavcodec. And hope someone here can help me. Thanks a lot!