Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libfreenect Installation Issue #75

Open
BulletPhobia opened this issue Aug 16, 2023 · 0 comments
Open

Libfreenect Installation Issue #75

BulletPhobia opened this issue Aug 16, 2023 · 0 comments

Comments

@BulletPhobia
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant