Skip to content

Can't make fakenect working with python wrappers #509

@rguillome

Description

@rguillome

Hi,

Here is the output I get while trying to launch the python demo_cv_aysnc.py with fakenect. I specified the LD_PRELOAD and FAKENECT_PATH env var :

Traceback (most recent call last):
  File "demo_cv_async.py", line 2, in <module>
    import freenect
ImportError: /usr/local/lib/libfreenect_sync.so.0.5: undefined symbol: freenect_camera_to_world

I investigated a little bit since this wiki page presents a sample with this python demo, it should be my mistake ...

So I dig into the freenect import build from C libs with cython : the libfreenect_sync.h (and so on libfreenect_sync.c) declares a freenect_sync_camera_to_world and its implementation makes a call to freenect_camera_to_world. But fakenect.c which should fake the call to the real kinect I/O doesn't implements this method but moreover, the libfreenect.h doesn't declares this signature...

Why this method isn't overrided or just cloned under the fakenect.c source code?
I will try a fork but It should be nice to have your return BTW.

Regards,
Guillaume

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions