OpenKinect / libfreenect

Drivers and libraries for the Xbox Kinect device on Windows, Linux, and OS X
http://openkinect.org
3.55k stars 1.15k forks source link

No package 'libfreenect' found #602

Open zhaxiche opened 4 years ago

zhaxiche commented 4 years ago

Hi everyone!

I'm trying to install the package "Freenect_launch" for the Kinect Sensor on my Qbot2e. And after I git clone to my src directory and catkin_make, it shows `-- +++ processing catkin package: 'freenect_camera' -- ==> add_subdirectory(freenect_stack/freenect_camera) -- Checking for module 'libfreenect' -- No package 'libfreenect' found CMake Error at /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:415 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-3.10/Modules/FindPkgConfig.cmake:593 (_pkg_check_modules_internal) freenect_stack/freenect_camera/CMakeLists.txt:17 (pkg_check_modules)

-- Configuring incomplete, errors occurred! See also "/home/tzhang/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/tzhang/catkin_ws/build/CMakeFiles/CMakeError.log". Makefile:1958: recipe for target 'cmake_check_build_system' failed make: *** [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed ` Then I followed the libfreenect installation intruction but it still cannot find "libfreenect". I git clone it to my catkin_ws/src and build it, I guess this is the causing problem? But I have no idea how to fix this. Any help is appreciated!

Regards,

Tommy

boxer911 commented 4 years ago

Did you fix this?

AandJ commented 5 months ago

You need to install the libfreenect package, this can be done by running the following

sudo apt-get install libfreenect-dev