ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Actually, I wouldn't say this is fixed. It does raise some issues as there's a bit more to this than it seems at first glance. Two packages are involved on lucid:
From nhanndt's experience, it turns out ni won't compile if libusb-dev is not installed, which may quite often be the case on a fresh install.
Which begs the question - does ni need libusb-dev as an rosdep? Is ni even linking with libusb-1.0? Does it need libusb-1.0?
Looking at the CMakeLists.txt in openni_camera - it's pulling in libusb-0.1 into the example binaries. You can take out the usb reference there and still compile as libusb-1.0 is getting pulled in libraries in the openni package.
So probably the usb linking in target_link_libraries in openni_camera/CMakeLists.txt can be dropped and it will resolve the problem for future users. Can this be confirmed (should probably ticket this)?