Package Details: libfreenect-git v0.5.3.r18.gec0b75d-1

Git Clone URL: https://aur.archlinux.org/libfreenect-git.git (read-only)
Package Base: libfreenect-git
Description: Drivers and libraries for the Xbox Kinect device on Linux
Upstream URL: http://openkinect.org
Licenses: GPL
Conflicts: libfreenect
Provides: libfreenect
Submitter: Sandmann
Maintainer: Sandmann
Last Packager: Sandmann
Votes: 21
Popularity: 0.009157
First Submitted: 2010-11-20 22:58
Last Updated: 2016-02-21 14:48

Required by (4)

Sources (1)

Latest Comments

parkerlreed commented on 2016-05-18 13:06

Getting an error but I think it might be upstream issue. http://ix.io/FS2

foxxy commented on 2016-02-18 11:04

Hi thanks for the package. I had to install cython (maybe cython2 as) and python-numpy to get this to build. Without I got:

-- For cython --
/bin/sh: CYTHON_EXECUTABLE-NOTFOUND: command not found
/bin/sh: CYTHON_EXECUTABLE-NOTFOUND: command not found
[ 73%] Built target freenect_sync_static
wrappers/python/CMakeFiles/cython2_freenect.dir/build.make:61: recipe for target 'wrappers/python/freenect2.c' failed
make[2]: *** [wrappers/python/freenect2.c] Error 127
CMakeFiles/Makefile2:944: recipe for target 'wrappers/python/CMakeFiles/cython2_freenect.dir/all' failed
make[1]: *** [wrappers/python/CMakeFiles/cython2_freenect.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
wrappers/python/CMakeFiles/cython3_freenect.dir/build.make:61: recipe for target 'wrappers/python/freenect3.c' failed
make[2]: *** [wrappers/python/freenect3.c] Error 127
CMakeFiles/Makefile2:982: recipe for target 'wrappers/python/CMakeFiles/cython3_freenect.dir/all' failed
make[1]: *** [wrappers/python/CMakeFiles/cython3_freenect.dir/all] Error 2

-- For python-numpy --
/tmp/yaourt-tmp-foxxy/aur-libfreenect-git/src/libfreenect-git/wrappers/python/freenect3.c:243:31: fatal error: numpy/arrayobject.h: No such file or directory
compilation terminated.
wrappers/python/CMakeFiles/cython3_freenect.dir/build.make:66: recipe for target 'wrappers/python/CMakeFiles/cython3_freenect.dir/freenect3.c.o' failed
make[2]: *** [wrappers/python/CMakeFiles/cython3_freenect.dir/freenect3.c.o] Error 1
CMakeFiles/Makefile2:982: recipe for target 'wrappers/python/CMakeFiles/cython3_freenect.dir/all' failed
make[1]: *** [wrappers/python/CMakeFiles/cython3_freenect.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

dejavu commented on 2016-01-09 02:52

Nice, thanks!

Sandmann commented on 2015-10-05 09:24

Thanks for the hint. The package should build again. I seem to have missed the previous comment and will also include the audio firmware.

cyrozap commented on 2015-10-05 08:38

I had to use this patch to get libfreenect-git to build: https://paste.fedoraproject.org/274788/33582144/

I believe this also affects the non-git version of this package as well.

This is the error I got:
CMake Error at /usr/share/cmake-3.3/Modules/FindPythonLibs.cmake:63 (get_filename_component):
get_filename_component called with incorrect number of arguments
Call Stack (most recent call first):
wrappers/python/CMakeLists.txt:6 (include)

The root cause of the issue is in CMake's FindPythonLibs on line 63. When PYTHON_EXECUTABLE is set to "python2" by CMakeLists.txt and FindPythonLibs tries to get its path a second time, it fails because the original path returned was empty/NOTFOUND. I'm not sure at what point it stopped accepting just the executable name and not its full path, but it must have been some time before CMake 3.3.2 was released since that's what I'm using.

In any case, the CMake script in the source should be modified to honor the PYTHON_EXECUTABLE definition if it's set somewhere else--this patch is just a quick hack to get it to build.

dejavu commented on 2015-04-08 21:33

Thanks for the package!
I would add following line to the cmake list, otherwise the audio firmware file would not be downloaded.
-DBUILD_REDIST_PACKAGE=OFF

Sandmann commented on 2014-02-16 11:38

The previous patches are no longer required and have been removed.

Sandmann commented on 2013-10-29 23:17

Thanks, the files are now also updated.

ph4m commented on 2013-10-23 16:58

Hi,

The last line of PKGBUILD reads:
sed 's/<libfreenect.h>/<libfreenect\/libfreenect.h>/g' -i "${pkgdir}/usr/include/libfreenect/libfreenect.hpp"

You should also update the corresponding #include of files libfreenect-audio.h, libfreenect-registration.h and libfreenect_sync.h of /usr/include/libfreenect for programs using these headers to compile.

Regards,

ph4m commented on 2013-10-23 16:58

Hi,

The last lines of PKGBUILD reads:
sed 's/<libfreenect.h>/<libfreenect\/libfreenect.h>/g' -i "${pkgdir}/usr/include/libfreenect/libfreenect.hpp"

You should also update the corresponding #include of files libfreenect-audio.h, libfreenect-registration.h and libfreenect_sync.h of /usr/include/libfreenect for programs using these headers to compile.

Regards,

All comments