I encounter compilation errors with the latest version, below an excerpt:
/usr/include/ni/XnPlatform.h:73:3: error: #error OpenNI Platform Abstraction Layer - Unsupported Platform!
73 | #error OpenNI Platform Abstraction Layer - Unsupported Platform!
| ^~~~~
In file included from /home/jan/aur/pcl/src/pcl-pcl-1.11.0/io/include/pcl/io/openni_camera/openni.h:47,
from /home/jan/aur/pcl/src/pcl-pcl-1.11.0/io/include/pcl/io/openni_camera/openni_image.h:44,
from /home/jan/aur/pcl/src/pcl-pcl-1.11.0/io/include/pcl/io/pcd_grabber.h:50,
from /home/jan/aur/pcl/src/pcl-pcl-1.11.0/io/src/pcd_grabber.cpp:39:
/usr/include/ni/XnOS.h:51:3: error: #error OpenNI OS Abstraction Layer - Unsupported Platform!
51 | #error OpenNI OS Abstraction Layer - Unsupported Platform!
| ^~~~~
In file included from /home/jan/aur/pcl/src/pcl-pcl-1.11.0/io/include/pcl/io/openni_camera/openni.h:50,
from /home/jan/aur/pcl/src/pcl-pcl-1.11.0/io/include/pcl/io/openni_camera/openni_image.h:44,
from /home/jan/aur/pcl/src/pcl-pcl-1.11.0/io/include/pcl/io/pcd_grabber.h:50,
from /home/jan/aur/pcl/src/pcl-pcl-1.11.0/io/src/pcd_grabber.cpp:39:
/usr/include/ni/XnCppWrapper.h:10045:76: error: macro "XN_VALIDATE_NEW" passed 4 arguments, but takes just 2
10045 | XN_VALIDATE_NEW(pTrans, StateChangedCallbackTranslator, handler, pCookie);
|
Can anybody reproduces these errors? There are 7803 lines of error in my compilation output.
Pinned Comments
kino_t commented on 2023-02-18 14:49 (UTC) (edited on 2023-02-19 01:24 (UTC) by kino_t)
Binary of pcl is now available: https://github.com/arch4edu/arch4edu