- OpenCV => 4.5.4
- Operating System / Platform => Debian Bookworm
- Compiler => GNU 11.2.0
i’m attempting to modernize and build GitHub - fpeder/XKin: eXtanble hand pose and gesture recognition library for Kinect
while doing this, i encountered an issue with opencv’s build system.
core/type_c.h which in turn includes
there is a block of definitions which assume C++11.
#ifdef __cplusplus this section, the build progresses further.
the issue is present in master branch and can be seen in this block: opencv/cvdef.h at 4.x · opencv/opencv · GitHub
was support for cc dropped by opencv intentionally?
install opencv (from apt) and compile libfreenect with the opencv wrapper.
then attempt to build XKin:
$ git clone https://github.com/fpeder/XKin $ mkdir build && cd build && cmake .. && make