(freenect_camera) ../libfreenect.so: undefined reference o 'libusb_get_parent'
Hi
had a problem with making libfreenect package:
../lib/libfreenect.so.0.5.1: undefined reference to 'lisusb_get_parent'
collect2: ld returned 1 exit status
which is exactly the same as the one described here: http://stackoverflow.com/questions/28835794/undefined-reference-to-libusb-get-parent-compiling-freenect . And the fix worked.
Later down the line, I needed to make freenect_camera, but I get very similar message:
/opt/ros/indigo/lib/libfreenect.so: undefined reference to 'libusb_get_parent'
collect2: ld returned 1 exit status
Output is almost identical (you'll notice that in this case there is no version number after libfreenect.so) and I can't figure out how to make freenect_camera, libfreenect still makes fine.
I use command:
sudo src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo --pkg freenect_camera
I'm on raspi2, wheezy, $ROSPACKAGEPATH=/home/pi/catkin_ws/src:/opt/ros/indigo/share:/opt/ros/indigo/stacks if that helps
Edit: formatted entire uSD card, imaged it again, clean install, issue still persists.
Asked by kosai on 2015-08-10 07:23:45 UTC
Comments