cgre-aachen/open_AR_Sandbox

Libfreenect Installation Issue

Opened this issue · 0 comments

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.