catkin_make error Invoking "make cmake_check_build_system" failed
Opened this issue · 0 comments
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
catkin_package() DEPENDS on 'libfreenect' but neither
'libfreenect_INCLUDE_DIRS' nor 'libfreenect_LIBRARIES' is defined.
Call Stack (most recent call first):
/opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
freenect_stack/freenect_camera/CMakeLists.txt:54 (catkin_package)-- +++ processing catkin package: 'tracker_io'
-- ==> add_subdirectory(fato_tracker/io)
CMake Warning at /opt/ros/kinetic/share/cmake_modules/cmake/Modules/FindEigen.cmake:62 (message):
The FindEigen.cmake Module in the cmake_modules package is deprecated.Please use the FindEigen3.cmake Module provided with Eigen. Change
instances of find_package(Eigen) to find_package(Eigen3). Check the
FindEigen3.cmake Module for the resulting CMake variable names.Call Stack (most recent call first):
fato_tracker/io/CMakeLists.txt:18 (find_package)-- Eigen found (include: /usr/include/eigen3)
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- system
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find LibAV (missing: LIBAV_ROOT_DIR) (found version "ffmpeg
version 2.8.14-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg
developersbuilt with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1
--build-suffix=-ffmpeg --toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu
--cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping
--disable-decoder=libopenjpeg --disable-decoder=libschroedinger
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libflite --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-librtmp
--enable-libschroedinger --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi
--enable-openal --enable-opengl --enable-x11grab --enable-libdc1394
--enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264
--enable-libopencvlibavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
")
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
fato_tracker/io/cmake/Modules/FindLibAV.cmake:219 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
fato_tracker/io/CMakeLists.txt:23 (find_package)-- Configuring incomplete, errors occurred!
See also "/home/shubot/catkin_ws_opencv/build/CMakeFiles/CMakeOutput.log".
See also "/home/shubot/catkin_ws_opencv/build/CMakeFiles/CMakeError.log".
Makefile:1340: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
Looks like there is an issue with ffmpeg/libav installation, so I used the following commands to install ffmpeg/libav but it says it is already installed:
sudo apt-get install ffmpeg
sudo apt-get install libav-tools
Please help.