Package Details: libfreenect2 0.2.1-4

Git Clone URL: https://aur.archlinux.org/libfreenect2.git (read-only, click to copy)
Package Base: libfreenect2
Description: Open source drivers for the Kinect for Windows v2
Upstream URL: http://openkinect.org
Licenses: GPL, Apache
Submitter: de-vries
Maintainer: grandchild
Last Packager: grandchild
Votes: 9
Popularity: 0.000001
First Submitted: 2015-12-02 17:26 (UTC)
Last Updated: 2023-11-16 16:01 (UTC)

Latest Comments

1 2 3 Next › Last »

Perdu commented on 2023-11-17 16:25 (UTC)

@grandchild: Apologies, I forgot to update/cleanbuild before reporting. It's actually fine

grandchild commented on 2023-11-16 16:03 (UTC)

@Perdu: I fixed the build issues, thanks for reporting.

The permissions of the file aren't executable. (Only 1, 3, 5 and 7 digits mean executable.) -- Can you show the permissions on the files on your system? Maybe something changed them?

Perdu commented on 2023-11-15 16:23 (UTC)

Install produces this warning in journal: "systemd-udevd[496]: Configuration file /usr/lib/udev/rules.d/65-kinect2.rules is marked executable. Please remove executable permission bits. Proceeding anyway."

I guess line 44 of PKGBUILD should be "install -m600 \"

Perdu commented on 2023-10-16 18:35 (UTC)

Build fails (tested on cleanbuild on a fresh archlinux:latest image)

[ 79%] Building CXX object CMakeFiles/freenect2.dir/src/opencl_depth_packet_processor.cpp.o
In file included from /usr/include/CL/cl.h:20,
from /usr/include/CL/opencl.h:24,
from /opt/aur/package/src/libfreenect2-0.2.1/include/internal/CL/cl.hpp:175,
from /opt/aur/package/src/libfreenect2-0.2.1/src/opencl_depth_packet_processor.cpp:50:
/usr/include/CL/cl_version.h:22:104: note: ‘#pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)’
22 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 300 (OpenCL 3.0)")
| ^
In file included from /usr/include/CL/opencl.h:26:
/opt/aur/package/src/libfreenect2-0.2.1/src/opencl_depth_packet_processor.cpp: In constructor ‘libfreenect2::OpenCLDepthPacketProcessorImpl::OpenCLDepthPacketProcessorImpl(int)’:
/opt/aur/package/src/libfreenect2-0.2.1/src/opencl_depth_packet_processor.cpp:254:15: error: expected unqualified-id before numeric constant
254 | const int CL_ICDL_VERSION = 2;
| ^~~~~~~~~~~~~~~
/opt/aur/package/src/libfreenect2-0.2.1/src/opencl_depth_packet_processor.cpp: In member function ‘bool libfreenect2::OpenCLDepthPacketProcessorImpl::fill_trig_table(const libfreenect2::protocol::P0TablesResponse)’:
/opt/aur/package/src/libfreenect2-0.2.1/src/opencl_depth_packet_processor.cpp:670:29: warning: taking address of packed member of ‘libfreenect2::protocol::P0TablesResponse’ may result in an unaligned pointer value [-Waddress-of-packed-member]
670 | const uint16_t
it0 = &p0table->p0table0[r * 512];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/aur/package/src/libfreenect2-0.2.1/src/opencl_depth_packet_processor.cpp:671:29: warning: taking address of packed member of ‘libfreenect2::protocol::P0TablesResponse’ may result in an unaligned pointer value [-Waddress-of-packed-member]
671 | const uint16_t it1 = &p0table->p0table1[r * 512];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/aur/package/src/libfreenect2-0.2.1/src/opencl_depth_packet_processor.cpp:672:29: warning: taking address of packed member of ‘libfreenect2::protocol::P0TablesResponse’ may result in an unaligned pointer value [-Waddress-of-packed-member]
672 | const uint16_t
it2 = &p0table->p0table2[r * 512];
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/freenect2.dir/build.make:354: CMakeFiles/freenect2.dir/src/opencl_depth_packet_processor.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:146: CMakeFiles/freenect2.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...

yujmo commented on 2018-03-19 15:09 (UTC)

v0.2.0.tar.gz is old, and have the compilation issue with std::bind.

please look yujmo_libfreenect2

I change the PKGBUILD,so it's OK

HououinKyouma93 commented on 2018-01-19 08:41 (UTC) (edited on 2018-01-19 08:45 (UTC) by HououinKyouma93)

Here is the updated PKGBUILD and patch to fix the compilation issue with std::bind.

https://drive.google.com/file/d/1keEKxAt4RNfEic_ss5767K_tI64Q_LWa/view?usp=sharing

VladR commented on 2017-08-04 20:49 (UTC)

Wierdly, it fails compiling for me, it tells: 112:25: error: ‘bind’ is not a member of ‘std’ auto predicate = std::bind(&SyncMultiFrameListenerImpl::hasNewFrame, impl_); ^~~~ I have gcc version 7.1.1 20170630 It seems simply adding #include <functional> to the file ~/libfreenect2/src/libfreenect2-0.2.0/src/frame_listener_impl.cpp in the attached sources seems to fix it. Don't know what's the deal with that.

de-vries commented on 2017-02-12 16:26 (UTC)

Updated to depend on ocl-icd instead of libcl

ShadowMitia commented on 2017-02-11 20:46 (UTC)

It looks like "libcl" dependency is broken for some reason: error: target not found: libcl.

ShadowMitia commented on 2017-02-11 20:46 (UTC)

It looks like "libcl" dependency is broken for some reason: error: target not found: libcl.