Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Can't build libfreenect.sln on Windows #561
I'm trying to get freenect working on my Windows 10 machine, and I've followed the instructions on Getting Started to the best of my abilities.
I've gotten to the point of building the solution with Visual Studio (VS 2017), but I get a lot of errors whenever I try to build it.
Is there any step I could've missed?
I've tried looking at this as suggested by the Getting Started page, but that section admits itself that it is outdated and unhelpful.
Did that change your error messages? I had some issues where I needed to clean the build results, or Visual Studio would throw errors.
Which Zadig version did you use? I seem to recall having issues with the latest (Zadig v2.3.0), I used Zadig 2.0.1 to install libusbK v126.96.36.199, which does work for me right now.
Another issue might be the libusb library itself, I had tried to use the WinUSB Patch there, which version of that do you use? Maybe try https://github.com/libusb/libusb/releases/tag/v1.0.22
It seems to have made the list longer, though now it reports more successes.
As for Zadig, I'm using 2.4. I'll give 2.0.1 a shot. Just to be sure, I should be installing libusbK v188.8.131.52 as my drivers, not libusb v2.6.0?
I've downloaded the most recent versions of libusb and libusbK. Not sure about WinUSB.
That libusbK version is the one I have currently installed, yes.
It doesn't seem to find the libusb.h header, make sure that directory is set to the directory containing libusb.h.
You are compiling in Win32 configuration, make sure that you don't mix bitness with your dependencies, i.e. if you compile for x64, make sure all your dependencies are 64 bit also, and vice versa.
You shouldn't be concerned about WinUSB, that was just a sidenote.