-
Notifications
You must be signed in to change notification settings - Fork 56
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
Fix #19 and updated DLLs #21
Conversation
@BaptisteTheoriz I'm new to OpenFramework and to Kinect v2, can you provide me a guide to the process you did until get the plugin working on Windows? |
Hi, sorry for the delay. |
Thank you so much for the update @BaptisteTheoriz ^^ I'll check it as soon as i finish to study some code that the Kinect SDK has >.<. And you don't have to apologize, I understand everyone has a personal life outside Github. ^^ |
@BaptisteTheoriz I got the error libusb1.0.dll not found at running time. EDIT: I added the path to libusb-1.0.dll (AKA ......\addons\ofxKinectV2\libs\libusb\lib\vs) to project settings Linker\General\ Additional Library Directories and now it works. |
Hi @BaptisteTheoriz & @LauraLaureus. Thanks for your work on this! I'm trying to get this running but having some issues. I followed the install instructions (libusbK via Zadig, installed CUDA v8, added the env variables) and can get the app to compile. However, I get this exception when running from VS:
which happens after executing this line;
Some searching indicated it might be an admin privileges thing, and I noticed that running the app, either as an adminstrator or not, directly out of the File Explorer doesn't produce that exception, but also doesn't work either - I just get a blank window at that point. I'm running on Win10 with VS2015 on a computer with an Nvidia GTX 1060. Any thoughts on things to look into? I'll probably see if I can get the libfreenect2 running as a starter...next year :) What versions of CUDA & VS and which GPU did you get things working with? Thanks & happy new year y'all! |
I haven't working with CUDA for a year, but I think it's different than OpenCL and the statement that trigger that error is from OpenCL because it has the "cl" prefix. I get the example running using Intel OpenCL, since my GPU is Intel's, on Windows 10 + Visual Studio Community 2015. Sorry, if i'm not helpful u.u And Happy New Year! |
Hey @LauraLaureus, thanks for getting back. Ah, you're running on Intel – that makes sense. My understanding is that to compile OpenCL on Nvidia you have to install the CUDA SDK - it contains the headers and whatever else for OpenCL – and there's no separate package. Before installing, I got the Ah well, I looked into the Cheers! |
Ok, up and running with 2 Kinects! One issue was my fault, where I changed the libusbK driver on the wrong device (I selected Also, I didn't need to change any linker paths in VS for libusb - it looks like it's set up properly for linking, but does need Sorry to turn this PR into a debugging session, but at least it's been confirmed working on 3 different Windows setups :) Signing off until next year... |
@BaptisteTheoriz - I merged in the other PRs from @bakercp @madelinegannon. The other PRs added quite a few features the add-on was missing. Many thanks! |
closed #39 should take care of this. master should be windows compatible now thanks to @NickHardeman |
In case anyone runs into the same problem as @mattfelsen with igdrcl64.dll which just happened to me while trying to run ofxKinectV2/example on my laptop:
I managed to solve it by updating the Intel Graphics driver from 21.20.xxx to 26.20.xxx |
I added your fix for #19 and updated the DLLs, which didn't work as I expected.
These are the one from here (don't know what was wrong with my build, had this issue).
Hope this one works universally (I don't know if there is much Windows users to test it)