buresu / ndi-python

NewTek NDI Python wrapper
MIT License
138 stars 31 forks source link

Compiled and imported library but can't run functions #8

Open luisarandas opened 2 years ago

luisarandas commented 2 years ago

Hello. Thanks for this library.

I'm running it on my Windows 10 using an RTX3070 but after the cmake and the build configuration for my OS I'm not really able to call the functions of the library. I can import it using the build files but when I run (e.g.) ndi_send = ndi.send_create() I get this error:

Traceback (most recent call last):
  File "ok.py", line 19, in <module>
    ndi_send = ndi.send_create()
AttributeError: module 'NDIlib' has no attribute 'send_create'

I'm importing through import NDIlib as ndi with a local folder


<pyfile>
<NDIlib>
    <NDIlib.cp35-win_amd64.pyd>
    <NDIlib.exp>
    <NDIlib.lib>
    <Processing.NDI.Lib.x64.lib>

Any idea what is this? Thanks

buresu commented 2 years ago

Hi, sorry for late reply. You must copy Processing.NDI.Lib.x64.dll, not Processing.NDI.Lib.x64.lib.