librekinect
librekinect copied to clipboard
Compilation error gspca.c
V4L2_FL_USE_FH_PRIO
is not a known symbol anymore, commenting out line 2070 fixed it for me. https://github.com/xxorde/librekinect/blob/master/gspca.c#L2070
I'm on a Raspberry Pi 2 with Linux 3.18.5-v7
@JanMisker
Please would you share with me how did you managed this whole thing to work? I'm a bit lame at Linux. Where did you get the kernel source? What were the steps you did to make the Kinect communicate with the Pi? Please help me!
PS.: Anyway I think it would be a big help for those who got an RPi 2!
@Shruikan2569 The instructions in the readme file work for the most part.
You'll need to change the source file you download. I used:
wget https://github.com/raspberrypi/linux/archive/rpi-3.18.y.tar.gz
Also when you build the kernel, use make -j4
instead of make
to use all four cores. Still took about an hour to build.
Make sure you're using the proper paths for lines like echo "kernel=linux-3.18.y" >> /boot/config.txt
When you build librekinect itself, you'll need to modify the makefile to work on armv7, and fix one line in the source code of gspca.c
See #15
After you build librekinect successfully, you need to run make load
before plugging in the kinect. You'll probably see some errors on the make load
, but it still worked for me.
@sjobeek Cool, thanks! I'll give it a try soon! Anyway if this works, and I can get the IR image with camorama just like xxorde said in the README, how can I get the raw depth image with the distance values? Eg. with Python?