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
425 stars 29 forks source link

Compilation error (LibObs not found) #93

Closed SirLynix closed 2 months ago

SirLynix commented 2 months ago
          Hi there, sorry I am an OBS noob. I have the following issue on my machines (mac and arch linux), I am assuming have skipped a very obvious step, please help.
obs-kinect on  master via 🌙 v5.4.6
❯ xmake build
error: ./xmake.lua:120: attempt to index a nil value (global 'LibObs')
stack traceback:
    [./xmake.lua:120]: in main chunk

checking for platform ... macosx
checking for architecture ... arm64
checking for Xcode directory ... %s
checking for Codesign Identity of Xcode ... no
error: ./xmake.lua:120: attempt to index a nil value (global 'LibObs')
stack traceback:
    [./xmake.lua:120]: in main chunk

Originally posted by @djpiper28 in https://github.com/SirLynix/obs-kinect/issues/9#issuecomment-2060695394

SirLynix commented 2 months ago

@djpiper28 I moved your question here to try to keep #9 minimal.

However it seems you're missing the creation of config.lua, you need to duplicate config.lua.default to config.lua and tell it where obs lies.

djpiper28 commented 2 months ago

@djpiper28 I moved your question here to try to keep #9 minimal.

However it seems you're missing the creation of config.lua, you need to duplicate config.lua.default to config.lua and tell it where obs lies.

This worked, I must have missed it in the README. Thanks for your help.