libuvc_camera: catkin_make_isolated finds undefined reference
Hi all, I'm trying to install libuvc_ros on indigo and when i get to catkin building my workspace I receive the following:
pi@raspberrypi ~/ros_catkin_ws/build_isolated/libuvc_ros $ cd /home/pi/ros_catkin_ws/build_isolated/libuvc_camera && sudo /opt/ros/indigo/env.sh make -j2
[ 20%] Built target libuvc_camera_gencfg
Linking CXX executable /home/pi/ros_catkin_ws/devel_isolated/libuvc_camera/lib/libuvc_camera/camera_node
[ 60%] Built target libuvc_camera_nodelet
/opt/ros/indigo/lib/libuvc.so: undefined reference to `libusb_set_auto_detach_kernel_driver'
collect2: ld returned 1 exit status
CMakeFiles/camera_node.dir/build.make:170: recipe for target '/home/pi/ros_catkin_ws/devel_isolated/libuvc_camera/lib/libuvc_camera/camera_node' failed
make[2]: *** [/home/pi/ros_catkin_ws/devel_isolated/libuvc_camera/lib/libuvc_camera/camera_node] Error 1
CMakeFiles/Makefile2:153: recipe for target 'CMakeFiles/camera_node.dir/all' failed
make[1]: *** [CMakeFiles/camera_node.dir/all] Error 2
Makefile:123: recipe for target 'all' failed
make: *** [all] Error 2
I don't understand where this error is coming from, and I don't know where to start. I already have libusb installed, and a quick search confirms this
pi@raspberrypi ~/ros_catkin_ws/build_isolated/libuvc_camera $ ldconfig -p | grep libusb
libusbmuxd.so.1 (libc6,hard-float) => /usr/lib/libusbmuxd.so.1
libusb-1.0.so.0 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-1.0.so.0
libusb-1.0.so (libc6,hard-float) => /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
libusb-0.1.so.4 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libusb-0.1.so.4
Additionally, rosdep installed all of the additional dependencies, and libuvc builds normally. I'm stumped, I don't know what to do. Thank you in advance.