Skip to content

Instantly share code, notes, and snippets.

@treaded
Last active August 29, 2015 14:10
Show Gist options
  • Save treaded/1f6b9ec531d74bfcb5dd to your computer and use it in GitHub Desktop.
Save treaded/1f6b9ec531d74bfcb5dd to your computer and use it in GitHub Desktop.
include 修正
--- src/event_loop.cpp.bak 2014-12-07 18:39:09.000000000 +0900
+++ src/event_loop.cpp 2014-12-02 20:04:26.000000000 +0900
@@ -26,7 +26,7 @@
#include <libfreenect2/usb/event_loop.h>
-#include <libusb.h>
+#include <libusb-1.0/libusb.h>
#ifdef _WIN32
#include <winsock.h>
#else
--- include/libfreenect2/usb/transfer_pool.h.bak 2014-12-07 18:38:49.000000000 +0900
+++ include/libfreenect2/usb/transfer_pool.h 2014-12-02 20:03:52.000000000 +0900
@@ -28,7 +28,7 @@
#define TRANSFER_POOL_H_
#include <deque>
-#include <libusb.h>
+#include <libusb-1.0/libusb.h>
#include <libfreenect2/data_callback.h>
--- include/libfreenect2/protocol/usb_control.h.bak 2014-12-07 18:38:06.000000000 +0900
+++ include/libfreenect2/protocol/usb_control.h 2014-12-02 21:05:09.000000000 +0900
@@ -27,7 +27,7 @@
#ifndef USB_CONTROL_H_
#define USB_CONTROL_H_
-#include <libusb.h>
+#include <libusb-1.0/libusb.h>
namespace libfreenect2
{
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment