Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header file linux/usbdevice_fs.h missing on OS X #27

Closed
jmtatsch opened this issue Feb 12, 2015 · 2 comments
Closed

Header file linux/usbdevice_fs.h missing on OS X #27

jmtatsch opened this issue Feb 12, 2015 · 2 comments

Comments

@jmtatsch
Copy link

When trying to catkin_make openni2_camera on ROS Indigo / OS X 10. 10.10.2, I get the following error:

/Users/tatsch/ros_catkin_ws/src/openni2_camera/src/usb_reset.c:40:10: fatal error: 'linux/usbdevice_fs.h' file not found
#include <linux/usbdevice_fs.h>
         ^

because that header file is not available under OS X.

As a workaround I replaced the include with

define USBDEVFS_RESET _IO('U', 20)

which seems to work. How can this be done properly?

@chenbaifan
Copy link

I got the same error and fix it with your method. I think it's not proper neither, but don't know how to do.

@mikeferguson
Copy link
Member

Fixed by #30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants