ros-drivers / libuvc_ros

http://www.ros.org/wiki/libuvc_ros
82 stars 95 forks source link

Missing config files? #19

Open End-Effector opened 9 years ago

End-Effector commented 9 years ago

Hello,

I'm trying to use this package but I get this message when I do the catkin_make:

CMake Error at libuvc_ros-master/libuvc_camera/CMakeLists.txt:9 (find_package): By not providing "Findlibuvc.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "libuvc", but CMake did not find one.

Could not find a package configuration file provided by "libuvc" with any of the following names:

libuvcConfig.cmake
libuvc-config.cmake

Add the installation prefix of "libuvc" to CMAKE_PREFIX_PATH or set "libuvc_DIR" to a directory containing one of the above files. If "libuvc" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred! See also "/home/paulo/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/paulo/catkin_ws/build/CMakeFiles/CMakeError.log". make: *\ [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed

Missing config files?

tzamjahn commented 7 years ago

I had the same issue. You have to get and build libuvc first. The commands are given at https://github.com/ktossell/libuvc

git clone https://github.com/ktossell/libuvc cd libuvc mkdir build cd build cmake .. make && sudo make install

kjgonzalez commented 6 years ago

just wanted to confirm, had the same issue and the above commands worked for me.

Xunzhaocunzi commented 5 years ago

just wanted to confirm, had the same issue and the above commands worked for me.