(freenect_camera) ../libfreenect.so: undefined reference o 'libusb_get_parent' [closed]

asked 2015-08-10 07:23:45 -0500

kosai gravatar image

updated 2015-08-12 08:15:54 -0500

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/28... . 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, $ROS_PACKAGE_PATH=/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.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2016-09-14 14:32:11.408688