Skip to content

Libfreenect Installation Issue #75

Open
@BulletPhobia

Description

@BulletPhobia

Hi, I am currently trying to install the Sandbox on a Linux machine, with a projector and the Kinect v1. I am having trouble installing libfreenect.
Libusb version: 1.0.21
CMake version: 3.26.5 and 3.27.1
When I try to compile libfreenect, I get the following errors once I reach [ 96%] Generating freenect3.c :

Error compiling Cython file: if depth is not None:
freenect_start_depth(devp)
freenect_set_depth_callback(devp, depth_cb)
if video is not None:
freenect_start_video(devp)
freenect_set_video_callback(devp, video_cb)
^

/home/arsandbox/alter_Ar_Sandbox/open_AR_Sandbox/libfreenect/wrappers/python/freenect.pyx:418:42: Cannot assign type 'void (freenect_device *, void *, uint32_t) except * nogil' to 'freenect_video_cb'
wrappers/python/CMakeFiles/cython3_freenect.dir/build.make:73: recipe for target 'wrappers/python/freenect3.c' failed
make[2]: *** [wrappers/python/freenect3.c] Error 1
CMakeFiles/Makefile2:712: recipe for target 'wrappers/python/CMakeFiles/cython3_freenect.dir/all' failed
make[1]: *** [wrappers/python/CMakeFiles/cython3_freenect.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

Changing libusb or cmake versions didnt seem to help. How should I proceed trying to debug this?
Any help is much appreciated.

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