SirLynix / obs-kinect

OBS Plugin to use a Kinect (all models supported) in OBS (and setup a virtual green screen based on depth and/or body detection).
GNU General Public License v2.0
426 stars 29 forks source link

LoadLibrary failed with Kinect v1 #10

Closed saphir1997 closed 4 years ago

saphir1997 commented 4 years ago

I have just added the new plugin version to OBS, but OBS will not start with the following messages: 18:04:50.980: LoadLibrary failed for '../../obs-plugins/64bit/obs-kinect-sdk20.dll': (null) (126) 18:04:50.980: Module '../../obs-plugins/64bit/obs-kinect-sdk20.dll' not loaded 18:04:50.981: LoadLibrary failed for 'obs-kinect-sdk20': (null) (126) 18:04:51.198: Required value 'get_name' for '(null)' not found. obs_register_source failed.

At first glance it seems that it tries to load Kinect v2, even though I have just a Kinect v1.

I suspect this could be either that I do not have a Kinect v2 hooked up or that I have not installed the v2 SDK.

Did you ever try to start OBS with just a Kinect v1 attached?

By the way: Great work. Reviving this old hardware in such an amazing fashion.

SirLynix commented 4 years ago

Hello,

It's a normal thing that obs-kinect tries to load both backends, as I cannot detect if any Kinect is attached without them, but it's not an error if it cannot load one (because of a missing dependency).

It seems what prevents obs-kinect to load is this line:

18:04:51.198: Required value 'get_name' for '(null)' not found. obs_register_source failed.

I suspect you're using OBS Studio 24.0, I compiled the plugin against OBS Studio 25.0, can you confirm that? Is upgrading an option for you?

saphir1997 commented 4 years ago

Yes, updating OBS from 24.0 to 25.0 indeed fixed the issue. It is now working as expected. I would not have guessed, that this was the issue with this error log. Thank you for your quick response.