{"action":"created","issue":{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/229","labels_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/229/labels{/name}","comments_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/229/comments","events_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/229/events","html_url":"https://github.com/OpenKinect/libfreenect2/issues/229","id":75345007,"number":229,"title":"libusb problems on Mac Yosemite","user":{"login":"ebubekirunlu","id":9150533,"avatar_url":"https://avatars.githubusercontent.com/u/9150533?v=3","gravatar_id":"","url":"https://api.github.com/users/ebubekirunlu","html_url":"https://github.com/ebubekirunlu","followers_url":"https://api.github.com/users/ebubekirunlu/followers","following_url":"https://api.github.com/users/ebubekirunlu/following{/other_user}","gists_url":"https://api.github.com/users/ebubekirunlu/gists{/gist_id}","starred_url":"https://api.github.com/users/ebubekirunlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebubekirunlu/subscriptions","organizations_url":"https://api.github.com/users/ebubekirunlu/orgs","repos_url":"https://api.github.com/users/ebubekirunlu/repos","events_url":"https://api.github.com/users/ebubekirunlu/events{/privacy}","received_events_url":"https://api.github.com/users/ebubekirunlu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/labels/build","name":"build","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-05-11T20:21:45Z","updated_at":"2015-05-12T20:58:46Z","closed_at":null,"body":"Hi, \r\nI'm newbie worker for Kinect v2 on Mac. I did try run first example but, get some problems on process. \r\n\r\nI running this step : \r\n- cd ./examples/protonect/\r\n- cmake CMakeLists.txt\r\n- make && make install\r\n\r\nAnd I get this errors: \r\n\r\nBuilding CXX object CMakeFiles/freenect2.dir/src/usb_control.cpp.o\r\n/Users/macpror/libfreenect2/examples/protonect/src/usb_control.cpp:73:24: error: \r\n      use of undeclared identifier 'LIBUSB_SET_ISOCH_DELAY'\r\n    uint8_t bRequest = LIBUSB_SET_ISOCH_DELAY;\r\n                       ^\r\n/Users/macpror/libfreenect2/examples/protonect/src/usb_control.cpp:88:24: error: \r\n      use of undeclared identifier 'LIBUSB_REQUEST_SET_SEL'\r\n    uint8_t bRequest = LIBUSB_REQUEST_SET_SEL;\r\n                       ^\r\n/Users/macpror/libfreenect2/examples/protonect/src/usb_control.cpp:160:13: error: \r\n      unknown type name 'libusb_ss_endpoint_companion_descriptor'; did you mean\r\n      'libusb_endpoint_descriptor'?\r\n            libusb_ss_endpoint_companion_descriptor *companion_desc;\r\n            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n            libusb_endpoint_descriptor\r\n/Users/macpror/libfreenect2/examples/protonect/include/libfreenect2/protocol/libusb.h:452:8: note: \r\n      'libusb_endpoint_descriptor' declared here\r\nstruct libusb_endpoint_descriptor {\r\n       ^\r\n/Users/macpror/libfreenect2/examples/protonect/src/usb_control.cpp:162:17: error: \r\n      use of undeclared identifier 'libusb_get_ss_endpoint_companion_descriptor'\r\n            r = libusb_get_ss_endpoint_companion_descriptor(NULL /* ctx ...\r\n                ^\r\n/Users/macpror/libfreenect2/examples/protonect/src/usb_control.cpp:166:33: error: \r\n      no member named 'wBytesPerInterval' in 'libusb_endpoint_descriptor'\r\n            r = companion_desc->wBytesPerInterval;\r\n                ~~~~~~~~~~~~~~  ^\r\n/Users/macpror/libfreenect2/examples/protonect/src/usb_control.cpp:168:13: error: \r\n      use of undeclared identifier\r\n      'libusb_free_ss_endpoint_companion_descriptor'\r\n            libusb_free_ss_endpoint_companion_descriptor(companion_desc);\r\n            ^\r\n6 errors generated.\r\nmake[2]: *** [CMakeFiles/freenect2.dir/src/usb_control.cpp.o] Error 1\r\nmake[1]: *** [CMakeFiles/freenect2.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n"},"comment":{"url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/comments/101417815","html_url":"https://github.com/OpenKinect/libfreenect2/issues/229#issuecomment-101417815","issue_url":"https://api.github.com/repos/OpenKinect/libfreenect2/issues/229","id":101417815,"user":{"login":"ebubekirunlu","id":9150533,"avatar_url":"https://avatars.githubusercontent.com/u/9150533?v=3","gravatar_id":"","url":"https://api.github.com/users/ebubekirunlu","html_url":"https://github.com/ebubekirunlu","followers_url":"https://api.github.com/users/ebubekirunlu/followers","following_url":"https://api.github.com/users/ebubekirunlu/following{/other_user}","gists_url":"https://api.github.com/users/ebubekirunlu/gists{/gist_id}","starred_url":"https://api.github.com/users/ebubekirunlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebubekirunlu/subscriptions","organizations_url":"https://api.github.com/users/ebubekirunlu/orgs","repos_url":"https://api.github.com/users/ebubekirunlu/repos","events_url":"https://api.github.com/users/ebubekirunlu/events{/privacy}","received_events_url":"https://api.github.com/users/ebubekirunlu/received_events","type":"User","site_admin":false},"created_at":"2015-05-12T20:58:46Z","updated_at":"2015-05-12T20:58:46Z","body":"I have libusb in include: \r\n\r\n![screen shot 2015-05-12 at 23 57 47](https://cloud.githubusercontent.com/assets/9150533/7598419/bbaf11b0-f902-11e4-9bf3-fc4a3b01a7df.png)"}}