{"action":"closed","issue":{"url":"https://api.github.com/repos/OpenKinect/libfreenect/issues/438","labels_url":"https://api.github.com/repos/OpenKinect/libfreenect/issues/438/labels{/name}","comments_url":"https://api.github.com/repos/OpenKinect/libfreenect/issues/438/comments","events_url":"https://api.github.com/repos/OpenKinect/libfreenect/issues/438/events","html_url":"https://github.com/OpenKinect/libfreenect/issues/438","id":60827539,"number":438,"title":"Compilation in VS2013 and 2010 failed - sintax mistakes and libusb","user":{"login":"johnnyontheweb","id":10365055,"avatar_url":"https://avatars.githubusercontent.com/u/10365055?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnyontheweb","html_url":"https://github.com/johnnyontheweb","followers_url":"https://api.github.com/users/johnnyontheweb/followers","following_url":"https://api.github.com/users/johnnyontheweb/following{/other_user}","gists_url":"https://api.github.com/users/johnnyontheweb/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyontheweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyontheweb/subscriptions","organizations_url":"https://api.github.com/users/johnnyontheweb/orgs","repos_url":"https://api.github.com/users/johnnyontheweb/repos","events_url":"https://api.github.com/users/johnnyontheweb/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyontheweb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-12T14:31:53Z","updated_at":"2015-03-12T21:11:21Z","closed_at":"2015-03-12T21:11:21Z","body":"I tried to compile libfreenect in VS2013 after a failing trial in VS2010, which told me there was too many sintax errors (I found that C++ compiler in VS2013 is more flexible on somewhat related to C89 sintax, sorry I'm not a C++ programmer, can't tell no more...)\r\n\r\nHowever, there are still other errors I cannot undeerstand (I followed the ibnstallation instructions and foudn out all dependecies): \r\n1. libusb_device_handle is not defined\r\n2. libusb.h does not exists in the include dir (ver. 1.2.6.0); I found only a lusb0_usb.h file\r\n3. other (maybe related to libusb) issues, like (sorry, they are in Italian but I hope still understandable):\r\nErrore\t411\terror C2037: l'elemento a sinistra di 'parent' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\flags.c\t211\t1\tfreenect\r\nErrore\t412\terror C2037: l'elemento a sinistra di 'parent' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\flags.c\t231\t1\tfreenect\r\nErrore\t413\terror C2037: l'elemento a sinistra di 'parent' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\flags.c\t254\t1\tfreenect\r\nErrore\t414\terror C2037: l'elemento a sinistra di 'parent' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\flags.c\t275\t1\tfreenect\r\nErrore\t710\terror C2037: l'elemento a sinistra di 'parent' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\audio.c\t86\t1\tfreenect\r\nErrore\t194\terror C2037: l'elemento a sinistra di 'raw_state' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\tilt.c\t97\t1\tfreenect\r\nErrore\t200\terror C2037: l'elemento a sinistra di 'raw_state' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\tilt.c\t140\t1\tfreenect\r\nErrore\t201\terror C2037: l'elemento a sinistra di 'raw_state' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\tilt.c\t141\t1\tfreenect\r\nErrore\t202\terror C2037: l'elemento a sinistra di 'raw_state' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\tilt.c\t142\t1\tfreenect\r\nErrore\t203\terror C2037: l'elemento a sinistra di 'raw_state' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\tilt.c\t145\t1\tfreenect\r\nErrore\t605\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t106\t1\tfreenect\r\nErrore\t607\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t174\t1\tfreenect\r\nErrore\t611\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t320\t1\tfreenect\r\nErrore\t612\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t321\t1\tfreenect\r\nErrore\t613\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t335\t1\tfreenect\r\nErrore\t614\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t354\t1\tfreenect\r\nErrore\t615\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t355\t1\tfreenect\r\nErrore\t616\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t404\t1\tfreenect\r\nErrore\t617\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t407\t1\tfreenect\r\nErrore\t619\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t423\t1\tfreenect\r\nErrore\t620\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t424\t1\tfreenect\r\nErrore\t621\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t425\t1\tfreenect\r\nErrore\t622\terror C2037: l'elemento a sinistra di 'registration' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t426\t1\tfreenect\r\nErrore\t101\terror C2037: l'elemento a sinistra di 'usb' specifica un '_freenect_context' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\core.c\t52\t1\tfreenect\r\nErrore\t198\terror C2037: l'elemento a sinistra di 'usb_audio' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\tilt.c\t114\t1\tfreenect\r\nErrore\t199\terror C2037: l'elemento a sinistra di 'usb_audio' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\tilt.c\t119\t1\tfreenect\r\nErrore\t205\terror C2037: l'elemento a sinistra di 'usb_audio' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\tilt.c\t150\t1\tfreenect\r\nErrore\t401\terror C2037: l'elemento a sinistra di 'usb_cam' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\flags.c\t52\t1\tfreenect\r\nErrore\t407\terror C2037: l'elemento a sinistra di 'usb_cam' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\flags.c\t161\t1\tfreenect\r\nErrore\t409\terror C2037: l'elemento a sinistra di 'usb_cam' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\flags.c\t169\t1\tfreenect\r\nErrore\t306\terror C2037: l'elemento a sinistra di 'user_data' specifica un '_freenect_device' di struct/union non definito\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\cameras.c\t387\t1\tfreenect\r\n\r\n4. other sintax errors like:\r\nErrore\t193\terror C2054: previsto '(' dopo 'ctx'\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\tilt.c\t60\t1\tfreenect\r\nErrore\t513\terror C2054: previsto '(' dopo 'ctx'\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\usb_libusb10.c\t41\t1\tfreenect\r\nErrore\t825\terror C2054: previsto '(' dopo 'dev'\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\loader.c\t50\t1\tfreenect\r\nErrore\t293\terror C2054: previsto '(' dopo 'inline'\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\cameras.c\t304\t1\tfreenect\r\nErrore\t296\terror C2054: previsto '(' dopo 'inline'\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\cameras.c\t330\t1\tfreenect\r\nErrore\t602\terror C2054: previsto '(' dopo 'inline'\tC:\\Users\\10228\\Desktop\\libfreenect-master\\src\\registration.c\t77\t1\tfreenect\r\nErrore\t11\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t77\t1\tfreenect\r\nErrore\t15\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t78\t1\tfreenect\r\nErrore\t20\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t80\t1\tfreenect\r\nErrore\t23\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t81\t1\tfreenect\r\nErrore\t26\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t82\t1\tfreenect\r\nErrore\t30\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t83\t1\tfreenect\r\nErrore\t38\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t88\t1\tfreenect\r\nErrore\t42\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t89\t1\tfreenect\r\nErrore\t46\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t90\t1\tfreenect\r\nErrore\t52\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t92\t1\tfreenect\r\nErrore\t58\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t93\t1\tfreenect\r\nErrore\t61\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t94\t1\tfreenect\r\nErrore\t68\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\freenect_internal.h\t46\t1\tfreenect\r\nErrore\t88\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\loader.h\t68\t1\tfreenect\r\nErrore\t92\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\loader.h\t69\t1\tfreenect\r\nErrore\t95\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\loader.h\t71\t1\tfreenect\r\nErrore\t114\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t77\t1\tfreenect\r\nErrore\t118\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t78\t1\tfreenect\r\nErrore\t123\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t80\t1\tfreenect\r\nErrore\t126\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t81\t1\tfreenect\r\nErrore\t129\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t82\t1\tfreenect\r\nErrore\t133\terror C2059: errore di sintassi: ')'\tc:\\users\\10228\\desktop\\libfreenect-master\\src\\usb_libusb10.h\t83\t1\tfreenect\r\n\r\n\r\nThanks for the help, \r\nGiovanni"}}