Skip to content
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

Unable to load DLL 'KernelBuilderAPI.dll':The specified procedure could not be found.(Exception from HRESULT:0x8007007F) #425

Closed
lishirui opened this issue Oct 13, 2015 · 8 comments
Labels

Comments

@lishirui
Copy link

Hi, when I open the libfreenect2.sln using VS2013 after I finished CMake procedure I got this error in VS2013 dialog. It seems like the OpenCL cause to this error. When I uninstall the OpenCL this error disappear, But I can't compile the project. Have you meet this problem?
My OS is Windows 10 , CPU is Intel Xeon(R) CPU E5-1620 and GPU is Quadro K4200.

@xlz
Copy link
Member

xlz commented Oct 16, 2015

It seems your OpenCL SDK is not correctly set up. I also used OpenCL SDK without this issue.

When I uninstall the OpenCL this error disappear, But I can't compile the project.

You must regenerate the cmake files after changing external dependency. cmake .. -G "Visual Studio 12 2013 Win64".

@lishirui
Copy link
Author

You mean I can compile this project without OpenCL?

@xlz
Copy link
Member

xlz commented Oct 18, 2015

With cmake -DENABLE_OPENCL=OFF.

@lishirui
Copy link
Author

Ok It does works. but when I run Protonect.exe I got this:

[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 13 usb devices connected
[Error] [Freenect2Impl] failed to open Kinect v2: @2:22 LIBUSB_ERROR_NOT_SUPPORTED Operation not supported or unimplemented on this platform
[Info] [Freenect2Impl] found valid Kinect v2 @2:22 with serial 502792341942
[Info] [Freenect2Impl] found 1 devices
[Info] [Freenect2DeviceImpl] opening...
[Error] [protocol::UsbControl] failed to claim interface with IrInterfaceId(=1)! LIBUSB_ERROR_NOT_SUPPORTED Operation not supported or unimplemented on this platform. Try debugging with environment variable: export LIBUSB_DEBUG=4 .
[Info] [Freenect2DeviceImpl] closing...
[Info] [Freenect2DeviceImpl] deallocating usb transfer pools...
[Info] [Freenect2DeviceImpl] closing usb device...
[Info] [Freenect2DeviceImpl] closed
[Error] [Freenect2] failed to open Kinect v2: @2:22
failure opening device!
I don't know why... do it support the Windows 10 platform?

@xlz
Copy link
Member

xlz commented Oct 19, 2015

I have not tested Windows 10. What you saw maya be a bug. Can you do as the error message says, provide the log with LIBUSB_ERROR=4?

@floe floe added the runtime label Oct 23, 2015
@xlz
Copy link
Member

xlz commented Oct 25, 2015

The followed up win10 issue is to be merged to #448.

@floe
Copy link
Contributor

floe commented Nov 6, 2015

Should be fixed by #429, please re-test with latest master and re-open if necessary.

@floe floe closed this as completed Nov 6, 2015
@zybaugur
Copy link

zybaugur commented Jul 1, 2016

I have the same problem, and here is the solution : https://software.intel.com/en-us/forums/opencl/topic/603665

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants